Closed Bug 874286 Opened 11 years ago Closed 11 years ago

implement query syntax parsing

Categories

(Input Graveyard :: Search, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: willkg, Assigned: willkg)

Details

(Whiteboard: u=user c=dashboard p=3 s=input.2013q2)

Currently we're doing a text, text_phrase and fuzzy search on the description field along with some filters on created, happy, locale and platform.

We should add support for more advanced query syntax.
We could write a query parser which parses the search text and assembles the Elasticsearch query clauses.

Maybe base the syntax on Google search syntax?:

* query OR query
* query AND query
* "query phrase"

https://support.google.com/websearch/answer/136861?hl=en

I'm not a user of Input, so I don't know what the needs are. Is this syntax ok? What else should be supported?
Flags: needinfo?(cwwmozilla)
This is fine. I don't know what other options are but that sounds good.  I'd like to be able to do "query phrase" AND query but I assume that's the case.
Flags: needinfo?(cwwmozilla)
Priority: -- → P1
I didn't hear anything from Cheng and I was running out of time, so I pushed it to prod just now.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Sorry, missed the bug ping. This looks great.
Product: Input → Input Graveyard
You need to log in before you can comment on or make changes to this bug.