public class OLuceneQueryBuilder extends Object
Modifier and Type | Field and Description |
---|---|
static ODocument |
EMPTY_METADATA |
Constructor and Description |
---|
OLuceneQueryBuilder(boolean allowLeadingWildcard,
boolean lowercaseExpandedTerms,
boolean splitOnWhitespace) |
OLuceneQueryBuilder(ODocument metadata) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.lucene.search.Query |
buildQuery(OIndexDefinition index,
String query,
ODocument metadata,
org.apache.lucene.analysis.Analyzer queryAnalyzer) |
org.apache.lucene.search.Query |
query(OIndexDefinition index,
Object key,
ODocument metadata,
org.apache.lucene.analysis.Analyzer analyzer) |
public static final ODocument EMPTY_METADATA
public OLuceneQueryBuilder(ODocument metadata)
public OLuceneQueryBuilder(boolean allowLeadingWildcard, boolean lowercaseExpandedTerms, boolean splitOnWhitespace)
public org.apache.lucene.search.Query query(OIndexDefinition index, Object key, ODocument metadata, org.apache.lucene.analysis.Analyzer analyzer) throws ParseException
ParseException
protected org.apache.lucene.search.Query buildQuery(OIndexDefinition index, String query, ODocument metadata, org.apache.lucene.analysis.Analyzer queryAnalyzer) throws ParseException
ParseException
Copyright © 2009–2020 OrientDB. All rights reserved.