public static class LuceneUtils.DefaultIndexDescriptor extends Object implements LuceneIndexDescriptor
| Constructor and Description |
|---|
DefaultIndexDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.analysis.Analyzer |
getAnalyzer()
Return LuceneUtils.defaultAnalyzer()
|
String[] |
getFieldNames()
Return the default array of field names { TEXT_FIELD_NAME }.
|
org.apache.lucene.queryparser.classic.QueryParser |
getQueryParser()
Return LuceneUtils.defaultQueryParser( LuceneUtils.currentVersion(), getFieldNames(), getAnalyzer() ).
|
public String[] getFieldNames()
getFieldNames in interface LuceneIndexDescriptorpublic org.apache.lucene.analysis.Analyzer getAnalyzer()
throws SQLException
getAnalyzer in interface LuceneIndexDescriptorSQLExceptionpublic org.apache.lucene.queryparser.classic.QueryParser getQueryParser()
throws SQLException
getQueryParser in interface LuceneIndexDescriptorSQLExceptionApache Derby 10.14 API Documentation - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.