public class LuceneIndexUtils extends OracleIndexUtils
| Constructor and Description |
|---|
LuceneIndexUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
appendDTToValue(String value, Class dtClass)
Appends the value's data type PREFIX to the specified key.
|
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.
|
appendDTToKey, getDatatypeClass, getDatatypePrefix, getValueAsStringpublic static String appendDTToValue(String value, Class dtClass)
value - the valuedtClass - the value's data type class
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.IOExceptionpublic static void quietlyCloseOracleIndexWriters(OracleIndexWriter[] indexWriters)
indexWriters - an array of OracleIndexWriter object.Copyright © 2016 Oracle and/or its affiliates. All Rights Reserved.