org.apache.geode.cache.lucene

## Class LuceneServiceProvider

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

-     public class LuceneServiceProvider
      extends java.lang.Object

  Class for retrieving or creating the currently running instance of the LuceneService. For more information about LuceneService see `LuceneService`

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static LuceneService` | `get(GemFireCache cache)` Retrieve or create the Lucene service for this cache

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

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

- - ### Method Detail

    - #### get

          public static LuceneService get(GemFireCache cache)

      Retrieve or create the Lucene service for this cache
      Parameters:
        `cache` - - the Apache Geode cache on which the LuceneService instance is created or already running.
      Returns:
        the LuceneService instance