LuceneServiceProvider (Apache Geode 2.0.2)
Description: declaration: package: org.apache.geode.cache.lucene, class: LuceneServiceProvider

Package org.apache.geode.cache.lucene

# Class LuceneServiceProvider

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

public class LuceneServiceProvider extends Object
Class for retrieving or creating the currently running instance of the LuceneService. For more information about LuceneService see `LuceneService`

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### 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