public class ConstantNilScoreQuery extends Object implements Query
Query, but giving to each matching document a nil score (score with a value of 0).
Query.LogicalOperator, Query.Operator| Constructor and Description |
|---|
ConstantNilScoreQuery(Query query)
Build a ConstantNilScoreQuery object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
build()
Build the solr query string representing the Query object.
|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString(int indent)
Gets a representation of this
Query, for pretty-printing for logging and debugging purposes |
public ConstantNilScoreQuery(Query query)
query - The wrapped querypublic String build() throws QuerySyntaxException
Querybuild in interface QueryQuerySyntaxException - if the query can't be built because of a syntax error.public String toString(int indent)
QueryQuery, for pretty-printing for logging and debugging purposes