T - The type of object supported by this lucene serializerpublic interface LuceneSerializer<T> extends Declarable
| Modifier and Type | Method and Description |
|---|---|
Collection<org.apache.lucene.document.Document> |
toDocuments(LuceneIndex index,
T value)
Add the fields of the given value to a set of documents
Added fields should be marked with
Field.Store.NO. |
init, initializeCollection<org.apache.lucene.document.Document> toDocuments(LuceneIndex index, T value)
Field.Store.NO. These
fields are only used for searches. When doing a query, geode will return the value from the
region, not any fields that are stored on the returned Documents.index - lucene indexvalue - user object to be serialized into index