C# Class CrownPeak.SearchG2.PlainSearch

Class to support a search on the CrownPeak SearchG2 infrastructure, using a Dictionary{String, Object} to contain each result.

Search{T}
ファイルを表示 Open project: Crownpeak/Search-Results-Examples

Protected Properties

Property Type Description
_settings CrownPeak.SearchG2.Common.Settings

Private Properties

Property Type Description

Public Methods

Method Description
Execute ( ) : PlainResultCollection

Execute a search that returns all of the results in the specified collection.

Execute ( string q ) : PlainResultCollection

Execute a search that returns the results that match the specified query text, using a default set of query options.

Execute ( string q, QueryOptions options ) : PlainResultCollection

Execute a search that returns the results that match the specified query text, using a specified set of QueryOptions.

PlainSearch ( Settings settings ) : System

Create a new PlainSearch object with the specified settings

Method Details

Execute() public method

Execute a search that returns all of the results in the specified collection.
public Execute ( ) : PlainResultCollection
return PlainResultCollection

Execute() public method

Execute a search that returns the results that match the specified query text, using a default set of query options.
public Execute ( string q ) : PlainResultCollection
q string The query string to execute. See /// .
return PlainResultCollection

Execute() public method

Execute a search that returns the results that match the specified query text, using a specified set of QueryOptions.
public Execute ( string q, QueryOptions options ) : PlainResultCollection
q string The query string to execute. See /// .
options CrownPeak.SearchG2.Query.QueryOptions The to use for this query.
return PlainResultCollection

PlainSearch() public method

Create a new PlainSearch object with the specified settings
public PlainSearch ( Settings settings ) : System
settings CrownPeak.SearchG2.Common.Settings The to be used
return System

Property Details

_settings protected_oe static_oe property

Settings that were provided to the PlainSearch(Settings).
protected static Settings,CrownPeak.SearchG2.Common _settings
return CrownPeak.SearchG2.Common.Settings