Ref T13509. Certain query tokens like title:="" are currently accepted by the parser but discarded, and have no impact on the query. This isn't desirable.
Instead, require that tokens making an assertion about field content must be nonempty.
Differential D21106
Tighten Ferret query parsing of empty tokens and empty functions epriestley on Apr 14 2020, 4:51 PM. Authored by Tags None Referenced Files
Subscribers None
Details
Ref T13509. Certain query tokens like title:="" are currently accepted by the parser but discarded, and have no impact on the query. This isn't desirable. Instead, require that tokens making an assertion about field content must be nonempty. Added unit tests, made them pass.
Diff Detail
|