C# Class Rubber.DSL.Query.WildcardQueryBuilder

Implements the wildcard search query. Supported wildcards are *, which matches any character sequence (including the empty one), and ?, which matches any single character. Note this query can be slow, as it needs to iterate over many terms. In order to prevent extremely slow WildcardQueries, a Wildcard term should not start with one of the wildcards * or ?.
Inheritance: IQueryBuilder
Afficher le fichier Open project: stephenpope/Rubber

Méthodes publiques

Méthode Description
Boost ( float boost ) : WildcardQueryBuilder

Sets the boost for this query. Documents matching this query will (in addition to the normal weightings) have their score multiplied by the boost provided.

Rewrite ( string rewrite ) : WildcardQueryBuilder
ToJsonObject ( ) : object
ToString ( ) : string
WildcardQueryBuilder ( string name, string query ) : System

Implements the wildcard search query. Supported wildcards are *, which matches any character sequence (including the empty one), and ?, which matches any single character. Note this query can be slow, as it needs to iterate over many terms. In order to prevent extremely slow WildcardQueries, a Wildcard term should not start with one of the wildcards * or

Method Details

Boost() public méthode

Sets the boost for this query. Documents matching this query will (in addition to the normal weightings) have their score multiplied by the boost provided.
public Boost ( float boost ) : WildcardQueryBuilder
boost float
Résultat WildcardQueryBuilder

Rewrite() public méthode

public Rewrite ( string rewrite ) : WildcardQueryBuilder
rewrite string
Résultat WildcardQueryBuilder

ToJsonObject() public méthode

public ToJsonObject ( ) : object
Résultat object

ToString() public méthode

public ToString ( ) : string
Résultat string

WildcardQueryBuilder() public méthode

Implements the wildcard search query. Supported wildcards are *, which matches any character sequence (including the empty one), and ?, which matches any single character. Note this query can be slow, as it needs to iterate over many terms. In order to prevent extremely slow WildcardQueries, a Wildcard term should not start with one of the wildcards * or
public WildcardQueryBuilder ( string name, string query ) : System
name string The field name
query string The wildcard query string
Résultat System