ISearchParameterBuilder<TDocument>

When class implements this interface. Create facilities to create ISearchParameter

Any

Create a any parameter

NOTE

Pay Attention! Need deactive CheckAnyParameter in DocumentCollectionOptions

  • Param name Name of the parameter
  • Param value Value of the parameter

Boost

Create a boost parameter

  • Param query Query used to make boost
  • Param boostFunctionType Boost type used in calculation. Default is BoostFunctionType.Boost

FacetField

Create a facet field parameter Param expression Expression used to find the property name Param sortType Sort type of the result of the facet Param limit Limit of itens in facet's result Param excludes List of tags to exclude in facet calculation

FacetLimit

Create a facet limit parameter

  • Param value Value of limit

FacetQuery

Create a facet query parameter

  • Param aliasName Name of the alias added in the query
  • Param query Query used to make the facet
  • Param sortType Sort type of the result of the facet
  • Param excludes List of tags to exclude in facet calculation IFacetQueryParameter FacetQuery(string aliasName, ISearchParameterValue query, FacetSortType? sortType = null, params string[] excludes);

FacetRange

Create a facet range parameter

  • Param aliasName Name of the alias added in the query
  • Param expression Expression used to find the property name
  • Param gap Size of each range bucket to make the facet
  • Param start Lower bound to make the facet
  • Param end Upper bound to make the facet
  • Param sortType Sort type of the result of the facet

Fields

Create a fields parameter * Param expressions Expression used to find the property name IFieldsParameter Fields(params Expression>[] expressions);

Filter (Overload#1)

Create a filter parameter

  • Param expression Expression used to find the property name
  • Param value Value of the filter
  • Param tagName Tag name to use in facet excluding list

Filter (Overload#2)

Create a filter parameter

  • Param expression Expression used to find the property name
  • Param from From value in a range filter
  • Param to To value in a range filter
  • Param tagName Tag name to use in facet excluding list

Limit

Create a limit parameter

  • Param value Value of limit

MinimumShouldMatch

Create a minimum should match parameter

  • Param expression Expression used to make the mm parameter

Offset

Create a offset parameter

  • Param value Value of limit

Query (Overload#1)

Create a query parameter

  • Param value Parameter to include in the query

Query (Overload#2)

Create a query parameter

  • Param value Parameter to include in the query

Query (Overload#3)

Create a query parameter

  • Param expression Expression used to find the property name
  • Param value Value of the query

QueryField

Create a query field parameter

  • Param expression Expression used to make the mm parameter

RandomSort

Create a random sort parameter

  • Param ascendent True to ascendent order, otherwise false
  • Param expressions Expression used to find the property name IRandomSortParameter RandomSort(bool ascendent);

Sort (Overload#1)

Create a sort parameter

  • Param expression Expression used to find the property name
  • Param ascendent True to ascendent order, otherwise false

Sort (Overload#2)

Create a sort parameter

  • Param ascendent True to ascendent order, otherwise false
  • Param expressions Expression used to find the property name

SpatialFilter

Create a query field parameter using spatial notation

  • Param expression Expression used to find the property name
  • Param functionType Function used in the spatial filter
  • Param centerPoint Center point to spatial filter
  • Param distance Distance from the center point