THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
public LuceneIndexFactory { /** * Configure the way objects are converted to lucene documents for this lucene index * @param luceneSerializer A callback which converts a region value to a * Lucene document or documents to be stored in the index. */ public LuceneIndexFactory setLuceneSerializer(LuceneSerializer luceneSerializer); } /** * An interface for writing the fields of an object into a lucene document * The region key will be added as a field to the returned documents. * @param index lucene index */ public interface LuceneSerializer { Collection<Document> toDocuments(LuceneIndex index, Object value); } |
XML Configuration
...