org.xcmis.search.lucene.index
Class LuceneIndexer

java.lang.Object
  extended by 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


Constructor Summary
LuceneIndexer(IndexConfiguration indexConfiguration)
           
 
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
 

Constructor Detail

LuceneIndexer

public LuceneIndexer(IndexConfiguration indexConfiguration)
Parameters:
extractor -
Method Detail

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 © 2010 eXo Platform SAS. All Rights Reserved.