Class BaseSearchQueryBuilder
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 BaseSearchQueryBuilder : ISearchQueryBuilder
Constructors
BaseSearchQueryBuilder()
Declaration
public BaseSearchQueryBuilder()
Methods
AddQuery(String, BooleanQuery, StringCollection)
Adds the query.
Declaration
protected void AddQuery(string fieldName, BooleanQuery query, StringCollection filter)
Parameters
Type | Name | Description |
---|---|---|
System.String | fieldName | Name of the field. |
Lucene.Net.Search.BooleanQuery | query | The query. |
System.Collections.Specialized.StringCollection | filter | The filter. |
BuildQuery(ISearchCriteria)
Build Lucense query base on ECF Search Criteria
Declaration
public virtual object BuildQuery(ISearchCriteria criteria)
Parameters
Type | Name | Description |
---|---|---|
ISearchCriteria | criteria |
Returns
Type | Description |
---|---|
System.Object |