public class DummyLuceneSerializer extends java.lang.Object implements LuceneSerializer
Constructor and Description |
---|
DummyLuceneSerializer() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Document> |
toDocuments(LuceneIndex index,
java.lang.Object value)
Add the fields of the given value to a set of documents
Added fields should be marked with
Field.Store.NO . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init, initialize
public java.util.Collection<Document> toDocuments(LuceneIndex index, java.lang.Object value)
LuceneSerializer
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.toDocuments
in interface LuceneSerializer
index
- lucene indexvalue
- user object to be serialized into index