Class LuceneSearchResults
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Search.Providers.Lucene
Assembly: Mediachase.Search.LuceneSearchProvider.dll
Version: 12.17.2Syntax
public class LuceneSearchResults : SearchResults, ISearchResults
Constructors
LuceneSearchResults(IndexReader, TopDocs, ISearchCriteria, Query)
Initializes a new instance of the SearchResults class.
Declaration
public LuceneSearchResults(IndexReader reader, TopDocs topDocs, ISearchCriteria criteria, Query query)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Index.IndexReader | reader | The reader. |
Lucene.Net.Search.TopDocs | topDocs | The topDocs. |
ISearchCriteria | criteria | The criteria. |
Lucene.Net.Search.Query | query | The query. |
LuceneSearchResults(IndexReader, TopDocs, ISearchCriteria, Query, ISearchQueryBuilder, Boolean, Boolean)
Initializes a new instance of the LuceneSearchResults class.
Declaration
public LuceneSearchResults(IndexReader reader, TopDocs topDocs, ISearchCriteria criteria, Query query, ISearchQueryBuilder searchQueryBuilder, bool simulateFaceting, bool multiFacetCapable)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Index.IndexReader | reader | The reader. |
Lucene.Net.Search.TopDocs | topDocs | The top docs. |
ISearchCriteria | criteria | The criteria. |
Lucene.Net.Search.Query | query | The query. |
ISearchQueryBuilder | searchQueryBuilder | The search query builder. |
System.Boolean | simulateFaceting | if set to |
System.Boolean | multiFacetCapable | if set to |
LuceneSearchResults(IndexReader, TopDocs, ISearchCriteria, Query, Boolean)
Initializes a new instance of the SearchResults class.
Declaration
public LuceneSearchResults(IndexReader reader, TopDocs topDocs, ISearchCriteria criteria, Query query, bool simulateFaceting)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Index.IndexReader | reader | The reader. |
Lucene.Net.Search.TopDocs | topDocs | The topDocs. |
ISearchCriteria | criteria | The criteria. |
Lucene.Net.Search.Query | query | The query. |
System.Boolean | simulateFaceting | A flag to enable/disable simulated faceting. |
Properties
FacetGroups
Gets the facet groups.
Declaration
public override ISearchFacetGroup[] FacetGroups { get; }
Property Value
Type | Description |
---|---|
ISearchFacetGroup[] | The facet groups. |