D22166: [AdvancedQueryParser] Introduce support for phrase queries

2019-06-30 Thread Igor Poboiko
poboiko added a comment. Note that it somewhat duplicates work done inside `QueryParser`. Which is //almost// not used anywhere - most of the parsing is done by `AdvancedQueryParser`. I feel somewhat weird having two separate parsers, as well as two different entities which store

D22166: [AdvancedQueryParser] Introduce support for phrase queries

2019-06-30 Thread Igor Poboiko
poboiko created this revision. poboiko added reviewers: Baloo, ngraham, bruns. Herald added projects: Frameworks, Baloo. poboiko requested review of this revision. REVISION SUMMARY AdvancedQueryParser's lexxer can actually handle double quotes: for query `a "b c" d`, it returns three tokens