public class MatchAllDocsQuery extends Query
Constructor and Description |
---|
MatchAllDocsQuery() |
Modifier and Type | Method and Description |
---|---|
protected Weight |
createWeight(Searcher searcher)
Expert: Constructs an appropriate Weight implementation for this query.
|
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString(String field)
Prints a query to a string, with
field as the default field
for terms. |
clone, combine, extractTerms, getBoost, getSimilarity, mergeBooleanQueries, rewrite, setBoost, toString, weight
protected Weight createWeight(Searcher searcher)
Query
Only implemented by primitive queries, which re-write to themselves.
createWeight
in class Query
public String toString(String field)
Query
field
as the default field
for terms. The representation used is one that is supposed to be readable
by QueryParser
. However,
there are the following limitations:
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.