Homestyx hydra
Diffusion hydra e5a495f43510

Parse raw Ferret queries into tokens before processing them

Description

Parse raw Ferret queries into tokens before processing them

Summary:
Ref T12819. Depends on D18492. Instead of passing a raw query into the Query layer, parse it first.

This allows the query layer to figure out which parts should be substring vs term match, and would allow the SearchEngine layer to do author:... eventually by picking it out before sending it to the Ferret engine.

Test Plan: Ran some Ferret queries. They work like before, except that nonsense like -+"quack" raises an exception now.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12819

Differential Revision: https://secure.phabricator.com/D18499

Details

Provenance
epriestleyAuthored on Aug 30 2017, 11:37 AM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:0e2e525bb41a: Add a "terms" corpus to Ferret fields
Branches
Unknown
Tags
Unknown

Event Timeline