ExactOnSingleWordQuery enum

Determines how the Exact ranking criterion is computed when the search query has only one word. - attribute. The Exact ranking criterion is 1 if the query word and attribute value are the same. For example, a search for "road" will match the value "road", but not "road trip". - none. The Exact ranking criterion is ignored on single-word searches. - word. The Exact ranking criterion is 1 if the query word is found in the attribute value. The query word must have at least 3 characters and must not be a stop word. Only exact matches will be highlighted, partial and prefix matches won't.

Inheritance
Available extensions
Annotations
  • @JsonEnum(valueField: 'raw')

Values

attribute → const ExactOnSingleWordQuery
const ExactOnSingleWordQuery(r'attribute')
none → const ExactOnSingleWordQuery
const ExactOnSingleWordQuery(r'none')
word → const ExactOnSingleWordQuery
const ExactOnSingleWordQuery(r'word')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
raw → dynamic
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → dynamic
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromJson(dynamic json) ExactOnSingleWordQuery

Constants

values → const List<ExactOnSingleWordQuery>
A constant List of the values in this enum, in order of their declaration.