Class IndexReadersCache
- java.lang.Object
-
- org.silverpeas.core.index.indexing.model.IndexReadersCache
-
public class IndexReadersCache extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.lucene.index.IndexReader
getIndexReader(String path)
This method must be called only within aIndexProcessor.SearchIndexProcess.process()
implementation in order to get a right behavior against the concurrent accesses.
-
-
-
Method Detail
-
getIndexReader
public static org.apache.lucene.index.IndexReader getIndexReader(String path)
This method must be called only within aIndexProcessor.SearchIndexProcess.process()
implementation in order to get a right behavior against the concurrent accesses.- Parameters:
path
- the index root path.- Returns:
- the
IndexReader
well initialized if necessary.
-
-