Page MenuHomePhabricator

Cirrus needs to pass along search syntax info to Glent for M1
Closed, ResolvedPublic

Description

Glent should ignore queries that have search syntax in them (dog*, !dog, -dog, dog AND cat, intitle:dog, etc.), but rather than try to have Glent figure out what is or is not search syntax, Cirrus should share what it knows.

Once the info from Cirrus is available, Glent should discard M1 queries and suggestions that have search syntax in them. (It might not be terrible to do this for M0 and M2, but M1 really needs it!)

We probably do not have to re-process historical data (it should all be re-processed each week), but we should double check that that appears to be the case once this is up and running.

Event Timeline

EBernhardson triaged this task as Medium priority.

Change 580452 had a related patch set uploaded (by EBernhardson; owner: EBernhardson):
[search/glent@master] Discard all but plain full text searches from inputs

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

Change 580854 had a related patch set uploaded (by DCausse; owner: DCausse):
[mediawiki/extensions/CirrusSearch@master] Propagate identified query classes to cirrus-requests logs

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

Change 580452 merged by jenkins-bot:
[search/glent@master] Discard all but plain full text searches from inputs

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

Change 580854 merged by jenkins-bot:
[mediawiki/extensions/CirrusSearch@master] Propagate identified query classes to cirrus-requests logs

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