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 SolrQueryResults<T>

Inheritance
System.Object
SolrQueryResults<T>
Implements
System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
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
Assembly: Solrnet.dll
Version: 13.30.0
Syntax
public class SolrQueryResults<T> : ISolrQueryResults<T>, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
Type Parameters
Name Description
T

Constructors

SolrQueryResults()

Declaration
public SolrQueryResults()

Properties

Collapsing

Declaration
public CollapseResults Collapsing { get; set; }
Property Value
Type Description
CollapseResults

Count

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

FacetDates

Declaration
public IDictionary<string, DateFacetingResult> FacetDates { get; set; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, DateFacetingResult>

FacetFields

Declaration
public IDictionary<string, ICollection<KeyValuePair<string, int>>> FacetFields { get; set; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String, System.Int32>>>

FacetQueries

Declaration
public IDictionary<string, int> FacetQueries { get; set; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, System.Int32>

Header

Declaration
public ResponseHeader Header { get; set; }
Property Value
Type Description
ResponseHeader

Highlights

Declaration
public IDictionary<T, IDictionary<string, ICollection<string>>> Highlights { get; set; }
Property Value
Type Description
System.Collections.Generic.IDictionary<T, System.Collections.Generic.IDictionary<System.String, System.Collections.Generic.ICollection<System.String>>>

IsReadOnly

Declaration
public bool IsReadOnly { get; }
Property Value
Type Description
System.Boolean

Item[Int32]

Declaration
public T this[int index] { get; set; }
Parameters
Type Name Description
System.Int32 index
Property Value
Type Description
T

MaxScore

Declaration
public double? MaxScore { get; set; }
Property Value
Type Description
System.Nullable<System.Double>

NumFound

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

SimilarResults

Declaration
public IDictionary<T, IList<T>> SimilarResults { get; set; }
Property Value
Type Description
System.Collections.Generic.IDictionary<T, System.Collections.Generic.IList<T>>

SpellChecking

Declaration
public SpellCheckResults SpellChecking { get; set; }
Property Value
Type Description
SpellCheckResults

Stats

Declaration
public IDictionary<string, StatsResult> Stats { get; set; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, StatsResult>

Methods

Add(T)

Declaration
public void Add(T item)
Parameters
Type Name Description
T item

Clear()

Declaration
public void Clear()

Contains(T)

Declaration
public bool Contains(T item)
Parameters
Type Name Description
T item
Returns
Type Description
System.Boolean

CopyTo(T[], Int32)

Declaration
public void CopyTo(T[] array, int arrayIndex)
Parameters
Type Name Description
T[] array
System.Int32 arrayIndex

GetEnumerator()

Declaration
public IEnumerator GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator

IndexOf(T)

Declaration
public int IndexOf(T item)
Parameters
Type Name Description
T item
Returns
Type Description
System.Int32

Insert(Int32, T)

Declaration
public void Insert(int index, T item)
Parameters
Type Name Description
System.Int32 index
T item

Remove(T)

Declaration
public bool Remove(T item)
Parameters
Type Name Description
T item
Returns
Type Description
System.Boolean

RemoveAt(Int32)

Declaration
public void RemoveAt(int index)
Parameters
Type Name Description
System.Int32 index

Explicit Interface Implementations

IEnumerable<T>.GetEnumerator()

Declaration
IEnumerator<T> IEnumerable<T>.GetEnumerator()
Returns
Type Description
System.Collections.Generic.IEnumerator<T>

Implements

System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable