public class LuceneIndexUtils
extends oracle.pg.text.OracleIndexUtils
Constructor and Description |
---|
LuceneIndexUtils() |
Modifier and Type | Method and Description |
---|---|
static org.apache.lucene.search.SearcherManager |
getSearcherManager(org.apache.lucene.store.Directory directory, org.apache.lucene.search.SearcherFactory searchFactory)
Gets the SearcherManager object that executes read operations over the index stored in the specified directory.
|
static void |
quietlyCloseOracleIndexWriters(OracleIndexWriter[] indexWriters)
Quietly close the specified index writers.
|
public static org.apache.lucene.search.SearcherManager getSearcherManager(org.apache.lucene.store.Directory directory, org.apache.lucene.search.SearcherFactory searchFactory) throws IOException
directory
- a Directory
object managing the index data for a specific subdirectory.searchFactory
- a Lucene SearcherFactory
object.SearcherManager
object.IOException
public static void quietlyCloseOracleIndexWriters(OracleIndexWriter[] indexWriters)
indexWriters
- an array of OracleIndexWriter
object.Copyright © 2015 Oracle and/or its afflilates. All Rights Reserved.