Method | Description | |
---|---|---|
Clone ( ) : object |
Returns a clone of this query.
|
|
CreateWeight ( |
Expert: Constructs an appropriate Weight implementation for this query. Only implemented by primitive queries, which re-write to themselves.
|
|
Equals ( object obj ) : bool | ||
ExtractTerms ( ISet |
Expert: adds all terms occurring in this query to the terms set. Only works if this query is in its #rewrite rewritten form.
|
|
GetHashCode ( ) : int | ||
Rewrite ( IndexReader reader ) : |
Expert: called to re-write queries into primitive queries. For example, a PrefixQuery will be rewritten into a BooleanQuery that consists of TermQuerys.
|
|
ToString ( ) : string |
Prints a query to a string.
|
|
ToString ( string field ) : string |
Prints a query to a string, with
|
public CreateWeight ( |
||
searcher | ||
return |
public Rewrite ( IndexReader reader ) : |
||
reader | IndexReader | |
return |
public abstract ToString ( string field ) : string | ||
field | string | |
return | string |