DotLucene 1.4 API Documentation |

# Searcher.Search Method

Returns the documents matching `query`.

#### Overload List

Returns the documents matching `query`.

> public Hits Search(Query);

Returns the documents matching `query` and `filter`.

> public virtual Hits Search(Query,Filter);

> public abstract void Search(Query,Filter,HitCollector);

Returns documents matching `query` and `filter`, sorted by `sort`.

> public virtual Hits Search(Query,Filter,Sort);

> public abstract TopDocs Search(Query,Filter,int);

> public abstract TopFieldDocs Search(Query,Filter,int,Sort);

> public virtual void Search(Query,HitCollector);

Returns documents matching `query` sorted by `sort`.

> public virtual Hits Search(Query,Sort);

#### See Also

Searcher Class | Lucene.Net.Search Namespace