This would allow the parser to detect invalid fields and either error or use that information to view the whole term as a query against the default field. For example, if the query passed in were foo:bar, but foo was not listed as a field in the schema, the parser could interpret that as (field text 'foo:bar') (assuming text is the default field for the schema/parser).
This would allow the parser to detect invalid fields and either error or use that information to view the whole term as a query against the default field. For example, if the query passed in were
foo:bar
, butfoo
was not listed as a field in the schema, the parser could interpret that as(field text 'foo:bar')
(assumingtext
is the default field for the schema/parser).