Page MenuHomePhabricator

Parse raw Ferret queries into tokens before processing them
ClosedPublic

Authored by epriestley on Aug 30 2017, 3:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 17, 2:26 PM
Unknown Object (File)
Mon, Apr 1, 12:02 AM
Unknown Object (File)
Feb 3 2024, 4:35 PM
Unknown Object (File)
Jan 29 2024, 1:48 AM
Unknown Object (File)
Jan 1 2024, 4:56 PM
Unknown Object (File)
Dec 28 2023, 4:40 PM
Unknown Object (File)
Dec 27 2023, 12:00 PM
Unknown Object (File)
Dec 27 2023, 12:00 PM
Subscribers
None

Details

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.

Diff Detail

Repository
rP Phabricator
Branch
ferret6
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 18216
Build 24495: Run Core Tests
Build 24494: arc lint + arc unit