org.xcmis.search.lucene.index
Class LuceneIndexer
java.lang.Object
org.xcmis.search.lucene.index.LuceneIndexer
- All Implemented Interfaces:
- ContentIndexer<org.apache.lucene.document.Document>
public class LuceneIndexer
- extends Object
- implements ContentIndexer<org.apache.lucene.document.Document>
Create Document from ContentEntry
|
Method Summary |
org.apache.lucene.document.Document |
createDocument(ContentEntry contentEntry)
Convert changes to a suitable format for the index. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LuceneIndexer
public LuceneIndexer(IndexConfiguration indexConfiguration)
- Parameters:
extractor -
createDocument
public org.apache.lucene.document.Document createDocument(ContentEntry contentEntry)
- Description copied from interface:
ContentIndexer
- Convert changes to a suitable format for the index.
- Specified by:
createDocument in interface ContentIndexer<org.apache.lucene.document.Document>
- Returns:
- index transaction
- See Also:
ContentIndexer.createDocument(org.xcmis.search.content.ContentEntry)
Copyright © 2011 eXo Platform SAS. All Rights Reserved.