Package org.apache.derby.optional.api
Interface LuceneIndexDescriptor
- All Known Implementing Classes:
- LuceneUtils.DefaultIndexDescriptor
public interface LuceneIndexDescriptor
A descriptor for how a Lucene index is created and queried.
- 
Method SummaryModifier and TypeMethodDescriptionorg.apache.lucene.analysis.AnalyzerGet the Analyzer used to create index termsString[]Get the names of the fields which are created when text is indexed.org.apache.lucene.queryparser.classic.QueryParserGet the QueryParser used to parse query text
- 
Method Details- 
getFieldNamesString[] getFieldNames()Get the names of the fields which are created when text is indexed. These fields can be mentioned later on when querying the index.- Returns:
- an array of field names
 
- 
getAnalyzerGet the Analyzer used to create index terms- Returns:
- the Analyzer
- Throws:
- SQLException- on error
 
- 
getQueryParserGet the QueryParser used to parse query text- Returns:
- the QueryParser
- Throws:
- SQLException- on error
 
 
-