Page MenuHomePhabricator

Convert the SearchQuery and its AST into an elasticsearch query
Open, MediumPublic

Description

After parsing the user query string into a SearchQuery we should apply a set of transformation to generate the elastic search query.

Details

Related Gerrit Patches:
mediawiki/extensions/CirrusSearch : master[WIP] Add a scoring AST -> elastic query transformer
mediawiki/extensions/CirrusSearch : masterExtract the "simple match" query builder to make reusable
mediawiki/extensions/CirrusSearch : masterAdd Filters::wildcard
mediawiki/extensions/CirrusSearch : masterAdd Filters::prefix
mediawiki/extensions/CirrusSearch : masterAdd Filters::fuzzy
mediawiki/extensions/CirrusSearch : masterAdd Filters::phrasePrefix
mediawiki/extensions/CirrusSearch : masterAdd Filters::phrase
mediawiki/extensions/CirrusSearch : masterExtract some filters out of FullTextSimpleMatchQueryBuilder

Event Timeline

Change 550890 had a related patch set uploaded (by DCausse; owner: DCausse):
[mediawiki/extensions/CirrusSearch@master] Extract some filters out of FullTextSimpleMatchQueryBuilder

https://gerrit.wikimedia.org/r/550890

Change 550891 had a related patch set uploaded (by DCausse; owner: DCausse):
[mediawiki/extensions/CirrusSearch@master] Add Filters::phrase

https://gerrit.wikimedia.org/r/550891

Change 550892 had a related patch set uploaded (by DCausse; owner: DCausse):
[mediawiki/extensions/CirrusSearch@master] Add Filters::phrasePrefix

https://gerrit.wikimedia.org/r/550892

Change 550893 had a related patch set uploaded (by DCausse; owner: DCausse):
[mediawiki/extensions/CirrusSearch@master] Add Filters::fuzzy

https://gerrit.wikimedia.org/r/550893

Change 550894 had a related patch set uploaded (by DCausse; owner: DCausse):
[mediawiki/extensions/CirrusSearch@master] Add Filters::prefix

https://gerrit.wikimedia.org/r/550894

Change 550895 had a related patch set uploaded (by DCausse; owner: DCausse):
[mediawiki/extensions/CirrusSearch@master] Add Filters::wildcard

https://gerrit.wikimedia.org/r/550895

Change 551177 had a related patch set uploaded (by DCausse; owner: DCausse):
[mediawiki/extensions/CirrusSearch@master] Extract the "simple match" query builder to make reusable

https://gerrit.wikimedia.org/r/551177

Change 551178 had a related patch set uploaded (by DCausse; owner: DCausse):
[mediawiki/extensions/CirrusSearch@master] [WIP] Add a scoring AST -> elastic query transformer

https://gerrit.wikimedia.org/r/551178