Package org.eclipse.rdf4j.sail.lucene
Class QuerySpec.QueryParam
java.lang.Object
org.eclipse.rdf4j.sail.lucene.QuerySpec.QueryParam
- Enclosing class:
QuerySpec
Param in a Lucene query extracted in
QuerySpec
-
Constructor Summary
ConstructorDescriptionQueryParam
(StatementPattern queryPattern, StatementPattern propertyPattern, StatementPattern snippetPattern, StatementPattern typePattern, String query, IRI property, Float boost) QueryParam
(StatementPattern fieldPattern, StatementPattern queryPattern, StatementPattern propertyPattern, StatementPattern snippetPattern, StatementPattern boostPattern, StatementPattern typePattern, String query, IRI property, Float boost) -
Method Summary
-
Constructor Details
-
QueryParam
public QueryParam(StatementPattern queryPattern, StatementPattern propertyPattern, StatementPattern snippetPattern, StatementPattern typePattern, String query, IRI property, Float boost) -
QueryParam
public QueryParam(StatementPattern fieldPattern, StatementPattern queryPattern, StatementPattern propertyPattern, StatementPattern snippetPattern, StatementPattern boostPattern, StatementPattern typePattern, String query, IRI property, Float boost)
-
-
Method Details
-
removeQueryPatterns
public void removeQueryPatterns()replace all the query patterns by a singleton -
getTypePattern
-
getFieldPattern
-
getQueryPattern
-
getPropertyPattern
-
getSnippetPattern
-
getBoostPattern
-
getQuery
-
getProperty
-
getPropertyVarName
-
getSnippetVarName
-
getBoost
-
isHighlight
public boolean isHighlight()- Returns:
- is this param is highlighted or not
-
toString
-
isEvaluable
public boolean isEvaluable()- Returns:
- is this param is evaluable
-