Метод | Описание | |
---|---|---|
CreateWeight ( |
creates a weight for
|
|
Dispose ( ) : void | ||
Doc ( int i ) : Lucene.Net.Documents.Document | ||
Doc ( int docid, FieldSelector fieldSelector ) : Lucene.Net.Documents.Document | ||
DocFreq ( Lucene.Net.Index.Term term ) : int | ||
DocFreqs ( Lucene.Net.Index.Term terms ) : int[] | ||
Explain ( |
Returns an Explanation that describes how This is intended to be used in developing Similarity implementations, and, for good performance, should not be displayed with every hit. Computing an explanation is as expensive as executing the query over the entire index.
|
|
Explain ( |
||
Rewrite ( |
||
Search ( |
Finds the top
|
|
Search ( |
Finds the top
|
|
Search ( |
||
Search ( |
Search implementation with arbitrary sorting. Finds the top NOTE: this does not compute scores by default; use IndexSearcher.SetDefaultFieldSortScoring(bool,bool) to enable scoring.
|
|
Search ( |
||
Search ( |
Lower-level search API. Collector.Collect(int) is called for every matching document. Applications should only use this if they need all of the matching documents. The high-level search API (Searcher.Search(Query, int) ) is usually more efficient, as it skips non-high-scoring hits. Note: The
|
|
Search ( |
Lower-level search API. Collector.Collect(int) is called for every matching document. Applications should only use this if they need all of the matching documents. The high-level search API (Searcher.Search(Query, Filter, int)) is usually more efficient, as it skips non-high-scoring hits.
|
|
Search ( |
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void | ||
Searcher ( ) : System |
Метод | Описание | |
---|---|---|
Close ( ) : void | ||
InitBlock ( ) : void |
public CreateWeight ( |
||
query | ||
Результат |
protected abstract Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public abstract Doc ( int i ) : Lucene.Net.Documents.Document | ||
i | int | |
Результат | Lucene.Net.Documents.Document |
public abstract Doc ( int docid, FieldSelector fieldSelector ) : Lucene.Net.Documents.Document | ||
docid | int | |
fieldSelector | FieldSelector | |
Результат | Lucene.Net.Documents.Document |
public abstract DocFreq ( Lucene.Net.Index.Term term ) : int | ||
term | Lucene.Net.Index.Term | |
Результат | int |
public DocFreqs ( Lucene.Net.Index.Term terms ) : int[] | ||
terms | Lucene.Net.Index.Term | |
Результат | int[] |
public Explain ( |
||
query | ||
doc | int | |
Результат |
public abstract Explain ( |
||
weight | ||
doc | int | |
Результат |
public abstract Rewrite ( |
||
query | ||
Результат |
public Search ( |
||
query | ||
filter | ||
n | int | |
Результат | Lucene.Net.Search.TopDocs |
public Search ( |
||
query | ||
n | int | |
Результат | Lucene.Net.Search.TopDocs |
public abstract Search ( |
||
weight | ||
filter | ||
n | int | |
Результат | Lucene.Net.Search.TopDocs |
public Search ( |
||
query | ||
filter | ||
n | int | |
sort | Lucene.Net.Search.Sort | |
Результат | Lucene.Net.Search.TopFieldDocs |
public abstract Search ( |
||
weight | ||
filter | ||
n | int | |
sort | Lucene.Net.Search.Sort | |
Результат | Lucene.Net.Search.TopFieldDocs |
public Search ( |
||
query | ||
results | ||
Результат | void |
public Search ( |
||
query | to match documents /// | |
filter | if non-null, used to permit documents to be collected. /// | |
results | to receive hits /// | |
Результат | void |
public abstract Search ( |
||
weight | ||
filter | ||
results | ||
Результат | void |