The FieldMatch
attribute is equal to true only if at least one of the document field contains exactly the user's query without any other words.
Example
Query: Return of the Jedi
-
fieldMatch
is equal totrue
if a field contains only:Return of the Jedi
. -
fieldMatch
is equal tofalse
if a field contains:who directed the movie 'Return of the Jedi'?
This attribute ranks documents in descending order (true (1)
before false (0)
).