DummyLuceneSerializer (Apache Geode 1.7.0)
Date: 2018-09-27

org.apache.geode.cache.lucene

## Class DummyLuceneSerializer

- java.lang.Object
- - org.apache.geode.cache.lucene.DummyLuceneSerializer

- All Implemented Interfaces:
    Declarable, LuceneSerializer

      public class DummyLuceneSerializer
      extends java.lang.Object
      implements LuceneSerializer

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DummyLuceneSerializer()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    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`.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.apache.geode.cache.Declarable

      `init, initialize`

- - ### Constructor Detail

    - #### DummyLuceneSerializer

          public DummyLuceneSerializer()

  - ### Method Detail

    - #### toDocuments

          public java.util.Collection<Document> toDocuments(LuceneIndex index,
                                                            java.lang.Object value)

      Description copied from interface: `LuceneSerializer`
      Add the fields of the given value to a set of documents Added fields should be marked with `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.
      Specified by:
        `toDocuments` in interface `LuceneSerializer`
      Parameters:
        `index` - lucene index
        `value` - user object to be serialized into index