public interface SimpleQueryStringMatchingContext extends SimpleQueryStringDefinitionTermination
Modifier and Type | Method and Description |
---|---|
SimpleQueryStringMatchingContext |
andField(String field)
Field the query is executed on.
|
SimpleQueryStringMatchingContext |
andFields(String... field)
Fields the query is executed on.
|
SimpleQueryStringMatchingContext |
boostedTo(float boost)
Boost the field to a given value
Most of the time positive float:
- lower than 1 to diminish the weight
- higher than 1 to increase the weight
Could be negative but not unless you understand what is going on (advanced)
|
SimpleQueryStringDefinitionTermination |
withAndAsDefaultOperator()
Define the default operator as AND.
|
matching
SimpleQueryStringMatchingContext boostedTo(float boost)
SimpleQueryStringMatchingContext andField(String field)
SimpleQueryStringMatchingContext andFields(String... field)
SimpleQueryStringDefinitionTermination withAndAsDefaultOperator()
Copyright © 2006-2022 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.