London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Class SolrQueryExecuter<T>

Inheritance
System.Object
SolrQueryExecuter<T>
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: SolrNet.Impl
Assembly: Solrnet.dll
Version: 13.30.0
Syntax
public class SolrQueryExecuter<T> : ISolrQueryExecuter<T> where T : new()
Type Parameters
Name Description
T

Constructors

SolrQueryExecuter(ISolrConnection, ISolrQueryResultParser<T>)

Declaration
public SolrQueryExecuter(ISolrConnection connection, ISolrQueryResultParser<T> resultParser)
Parameters
Type Name Description
ISolrConnection connection
ISolrQueryResultParser<T> resultParser

Fields

ConstDefaultRows

Declaration
public static readonly int ConstDefaultRows
Field Value
Type Description
System.Int32

Properties

DefaultRows

Declaration
public int DefaultRows { get; set; }
Property Value
Type Description
System.Int32

Methods

Execute(ISolrQuery, QueryOptions)

Declaration
public ISolrQueryResults<T> Execute(ISolrQuery q, QueryOptions options)
Parameters
Type Name Description
ISolrQuery q
QueryOptions options
Returns
Type Description
ISolrQueryResults<T>

GetAllParameters(ISolrQuery, QueryOptions)

Declaration
public IEnumerable<KeyValuePair<string, string>> GetAllParameters(ISolrQuery Query, QueryOptions Options)
Parameters
Type Name Description
ISolrQuery Query
QueryOptions Options
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.String>>

GetCollapseQueryOptions(QueryOptions)

Declaration
public IEnumerable<KeyValuePair<string, string>> GetCollapseQueryOptions(QueryOptions options)
Parameters
Type Name Description
QueryOptions options
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.String>>

GetFacetFieldOptions(QueryOptions)

Declaration
public IEnumerable<KeyValuePair<string, string>> GetFacetFieldOptions(QueryOptions options)
Parameters
Type Name Description
QueryOptions options
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.String>>

GetFilterQueries(QueryOptions)

Declaration
public IEnumerable<KeyValuePair<string, string>> GetFilterQueries(QueryOptions options)
Parameters
Type Name Description
QueryOptions options
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.String>>

GetHighlightingParameters(QueryOptions)

Declaration
public IDictionary<string, string> GetHighlightingParameters(QueryOptions Options)
Parameters
Type Name Description
QueryOptions Options
Returns
Type Description
System.Collections.Generic.IDictionary<System.String, System.String>

GetMoreLikeThisParameters(QueryOptions)

Declaration
public IEnumerable<KeyValuePair<string, string>> GetMoreLikeThisParameters(QueryOptions options)
Parameters
Type Name Description
QueryOptions options
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.String>>

GetSpellCheckingParameters(QueryOptions)

Declaration
public IEnumerable<KeyValuePair<string, string>> GetSpellCheckingParameters(QueryOptions Options)
Parameters
Type Name Description
QueryOptions Options
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.String>>

GetStatsQueryOptions(QueryOptions)

Declaration
public IEnumerable<KeyValuePair<string, string>> GetStatsQueryOptions(QueryOptions options)
Parameters
Type Name Description
QueryOptions options
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.String>>

KVP<T1, T2>(T1, T2)

Declaration
public KeyValuePair<T1, T2> KVP<T1, T2>(T1 a, T2 b)
Parameters
Type Name Description
T1 a
T2 b
Returns
Type Description
System.Collections.Generic.KeyValuePair<T1, T2>
Type Parameters
Name Description
T1
T2

Implements