SolrNet: SolrNet.Commands.Parameters.QueryOptions Class Reference

SolrNet

SolrNet.Commands.Parameters.QueryOptions Class Reference

Query options. More...

Inheritance diagram for SolrNet.Commands.Parameters.QueryOptions:

List of all members.

Public Member Functions

QueryOptions AddFields (params string[] fields)
 Adds selected fields to this instance.
QueryOptions AddOrder (params SortOrder[] order)
 Adds sort orders to this instance.
QueryOptions AddFilterQueries (params ISolrQuery[] queries)
 Adds filter queries to this instance.
QueryOptions AddFacets (params ISolrFacetQuery[] queries)
 Adds facet queries to this instance.

Properties

ICollection< SortOrderOrderBy [get, set]
 Sort order. By default, it's "score desc".
HighlightingParameters Highlight [get, set]
 Highlighting parameters.
SpellCheckingParameters SpellCheck [get, set]
 Spell-checking parameters.
TermsParameters Terms [get, set]
 Terms parameters.
MoreLikeThisParameters MoreLikeThis [get, set]
 More-like-this parameters.
StatsParameters Stats [get, set]
 This parameter can be used to return the stats for a specific query on top of the results that are normally returned. Included in the stats are min, max, sum, count, missing, sumOfSquares, mean, and stddev values.
CollapseParameters Collapse [get, set]
 This parameter can be used to collapse - or group - documents by the unique values of a specified field. Included in the results are the number of records by document key and by field value.
GroupingParameters Grouping [get, set]
 (only SOLR 4.0) This parameter can be used to collapse - or group - documents by the unique values of a specified field. Included in the results are the number of records by document key and by field value
ClusteringParameters Clustering [get, set]
 This parmeter can be used to group query results into clusters based on document similarity.

Detailed Description

Query options.


Member Function Documentation

QueryOptions SolrNet.Commands.Parameters.QueryOptions.AddFacets ( params ISolrFacetQuery[]  queries )

Adds facet queries to this instance.

Parameters:
queries
Returns:
QueryOptions SolrNet.Commands.Parameters.QueryOptions.AddFields ( params string[]  fields )

Adds selected fields to this instance.

Parameters:
fields
Returns:
QueryOptions SolrNet.Commands.Parameters.QueryOptions.AddFilterQueries ( params ISolrQuery[]  queries )

Adds filter queries to this instance.

Parameters:
queries
Returns:
QueryOptions SolrNet.Commands.Parameters.QueryOptions.AddOrder ( params SortOrder[]  order )

Adds sort orders to this instance.

Parameters:
order
Returns:

Property Documentation

ClusteringParameters SolrNet.Commands.Parameters.QueryOptions.Clustering [get, set]

This parmeter can be used to group query results into clusters based on document similarity.

CollapseParameters SolrNet.Commands.Parameters.QueryOptions.Collapse [get, set]

This parameter can be used to collapse - or group - documents by the unique values of a specified field. Included in the results are the number of records by document key and by field value.

GroupingParameters SolrNet.Commands.Parameters.QueryOptions.Grouping [get, set]

(only SOLR 4.0) This parameter can be used to collapse - or group - documents by the unique values of a specified field. Included in the results are the number of records by document key and by field value

HighlightingParameters SolrNet.Commands.Parameters.QueryOptions.Highlight [get, set]

Highlighting parameters.

MoreLikeThisParameters SolrNet.Commands.Parameters.QueryOptions.MoreLikeThis [get, set]

More-like-this parameters.

ICollection<SortOrder> SolrNet.Commands.Parameters.QueryOptions.OrderBy [get, set]

Sort order. By default, it's "score desc".

SpellCheckingParameters SolrNet.Commands.Parameters.QueryOptions.SpellCheck [get, set]

Spell-checking parameters.

StatsParameters SolrNet.Commands.Parameters.QueryOptions.Stats [get, set]

This parameter can be used to return the stats for a specific query on top of the results that are normally returned. Included in the stats are min, max, sum, count, missing, sumOfSquares, mean, and stddev values.

TermsParameters SolrNet.Commands.Parameters.QueryOptions.Terms [get, set]

Terms parameters.


The documentation for this class was generated from the following files:
  • SolrNet/Commands/Parameters/QueryOptions.cs
  • SolrNet/Commands/Parameters/QueryOptions_Fluent.cs
Generated on Sun May 3 2015 17:19:07 for SolrNet by  doxygen 1.7.2