Method Search
Search(IndexSearcher, Query, Int32, Int32)
Executes a grouped search. Both the first pass and second pass are executed on the specified searcher.
Declaration
public virtual ITopGroups<object> Search(IndexSearcher searcher, Query query, int groupOffset, int groupLimit)
Parameters
Type | Name | Description |
---|---|---|
IndexSearcher | searcher | The IndexSearcher instance to execute the grouped search on. |
Query | query | The query to execute with the grouping |
System.Int32 | groupOffset | The group offset |
System.Int32 | groupLimit | The number of groups to return from the specified group offset |
Returns
Type | Description |
---|---|
ITopGroups<System.Object> | the grouped result as a ITopGroups<TGroupValue> instance |
Search<TGroupValue>(IndexSearcher, Query, Int32, Int32)
Executes a grouped search. Both the first pass and second pass are executed on the specified searcher.
Declaration
public virtual ITopGroups<TGroupValue> Search<TGroupValue>(IndexSearcher searcher, Query query, int groupOffset, int groupLimit)
Parameters
Type | Name | Description |
---|---|---|
IndexSearcher | searcher | The IndexSearcher instance to execute the grouped search on. |
Query | query | The query to execute with the grouping |
System.Int32 | groupOffset | The group offset |
System.Int32 | groupLimit | The number of groups to return from the specified group offset |
Returns
Type | Description |
---|---|
ITopGroups<TGroupValue> | the grouped result as a ITopGroups<TGroupValue> instance |
Type Parameters
Name | Description |
---|---|
TGroupValue | The expected return type of the search. |
Search(IndexSearcher, Filter, Query, Int32, Int32)
Executes a grouped search. Both the first pass and second pass are executed on the specified searcher.
Declaration
public virtual ITopGroups<object> Search(IndexSearcher searcher, Filter filter, Query query, int groupOffset, int groupLimit)
Parameters
Type | Name | Description |
---|---|---|
IndexSearcher | searcher | The IndexSearcher instance to execute the grouped search on. |
Filter | filter | The filter to execute with the grouping |
Query | query | The query to execute with the grouping |
System.Int32 | groupOffset | The group offset |
System.Int32 | groupLimit | The number of groups to return from the specified group offset |
Returns
Type | Description |
---|---|
ITopGroups<System.Object> | the grouped result as a ITopGroups<TGroupValue> instance |
Search<TGroupValue>(IndexSearcher, Filter, Query, Int32, Int32)
Executes a grouped search. Both the first pass and second pass are executed on the specified searcher.
Declaration
public virtual ITopGroups<TGroupValue> Search<TGroupValue>(IndexSearcher searcher, Filter filter, Query query, int groupOffset, int groupLimit)
Parameters
Type | Name | Description |
---|---|---|
IndexSearcher | searcher | The IndexSearcher instance to execute the grouped search on. |
Filter | filter | The filter to execute with the grouping |
Query | query | The query to execute with the grouping |
System.Int32 | groupOffset | The group offset |
System.Int32 | groupLimit | The number of groups to return from the specified group offset |
Returns
Type | Description |
---|---|
ITopGroups<TGroupValue> | the grouped result as a ITopGroups<TGroupValue> instance |
Type Parameters
Name | Description |
---|---|
TGroupValue | The expected return type of the search. |