Closed Bug 627554 Opened 13 years ago Closed 13 years ago

Support AND queries

Categories

(Input :: General, defect, P2)

x86
macOS
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: chofmann, Assigned: davedash)

Details

(Whiteboard: [4.3.4])

I want to be able to combine some search terms to make sure I've captured many possible ways that people describe things, and to compare and contrast different aspects of features or behavior.

for example combine instances of "addon" add-on" "add on" from

http://input.mozilla.com/en-US/search/?q=add%20on&product=firefox&version=4.0b9

http://input.mozilla.com/en-US/search/?q=addon&product=firefox&version=4.0b9

to create

a summary query and graph using

http://input.mozilla.com/en-US/search/?q=addon&q=add-on&product=firefox&version=4.0b9


on the contrasting side I want to look at number of people with positive v. negative comments when I match terms like "stable" and "crash"

looks like currently it just matches on the last q=search_term
CCing Davedash so he can jump in if I am completely off here, but there are search operators you can use for sphinx: http://sphinxsearch.com/docs/1.10/extended-syntax.html

The "or" operator is the pipe character:

    add-ons | addons

should do the trick.
(In reply to comment #1)
> cc: dd@mozilla.com, fwenzel@mozilla.comCCing Davedash so he can jump in if I am completely off here, but there are
> search operators you can use for sphinx:
> http://sphinxsearch.com/docs/1.10/extended-syntax.html
> 
> The "or" operator is the pipe character:
> 
>     add-ons | addons
> 
> should do the trick.

We do not support that at the moment.
Priority: -- → P2
Target Milestone: --- → 4.3
Component: Input → General
Product: Webtools → Input
Target Milestone: 4.3 → 4.x
Summary: need compound search terms for creating graphs → Support AND queries
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [4.3.4]
Target Milestone: 4.x → 4.4
syntax is 

x & y

and

x | y
this is for the search query box on the homepage
Assignee: nobody → dd
Status: VERIFIED → RESOLVED
Closed: 13 years ago13 years ago
QA verified ... thanks Alex (comment 7).

Syntax for 'and' is --> http://input.allizom.org/en-US/?q=fail+%26+google

Syntax for 'or' is --> http://input.allizom.org/en-US/?q=fail+|+google
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.