Closed
Bug 627554
Opened 13 years ago
Closed 13 years ago
Support AND queries
Categories
(Input :: General, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
4.4
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
Comment 1•13 years ago
|
||
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.
Reporter | ||
Comment 2•13 years ago
|
||
http://input.mozilla.com/en-US/search/?q=speed|slow|fast&product=firefox&version=&date_start=8%2F8%2F2010&date_end= gets a lower number of matches than just http://input.mozilla.com/en-US/search/?q=speed&product=firefox&version=&date_start=8%2F8%2F2010&date_end= also tried q=speed | slow | fast and q="speed | slow | fast" without much success.
Assignee | ||
Comment 3•13 years ago
|
||
(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.
Updated•13 years ago
|
Priority: -- → P2
Target Milestone: --- → 4.3
Updated•13 years ago
|
Component: Input → General
Product: Webtools → Input
Assignee | ||
Updated•13 years ago
|
Target Milestone: 4.3 → 4.x
Assignee | ||
Updated•13 years ago
|
Summary: need compound search terms for creating graphs → Support AND queries
Comment 4•13 years ago
|
||
Commit pushed to https://github.com/mozilla/input.mozilla.org https://github.com/mozilla/input.mozilla.org/commit/c73acfe785c160cdef34eb82c98df7bb054aab83 Allow Boolean syntax, fix bug 627554
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•13 years ago
|
Whiteboard: [4.3.4]
Target Milestone: 4.x → 4.4
Assignee | ||
Comment 5•13 years ago
|
||
syntax is x & y and x | y
Assignee | ||
Comment 6•13 years ago
|
||
this is for the search query box on the homepage
Assignee: nobody → dd
Comment 7•13 years ago
|
||
Verified on stage Verified using a simple search like http://input.allizom.org/en-US/?q=test|google and http://input.allizom.org/en-US/?q=test&google. Verified using more search criteria like http://input.allizom.org/en-US/?q=test|google&product=firefox&version=7.0&date_start=2011-10-20 and http://input.allizom.org/en-US/?q=test&google&product=firefox&version=7.0&date_start=2011-10-20
Status: RESOLVED → VERIFIED
Comment 8•13 years ago
|
||
Commit pushed to https://github.com/mozilla/input.mozilla.org https://github.com/mozilla/input.mozilla.org/commit/c73acfe785c160cdef34eb82c98df7bb054aab83 Allow Boolean syntax, fix bug 627554
Updated•13 years ago
|
Status: VERIFIED → RESOLVED
Closed: 13 years ago → 13 years ago
Comment 9•13 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.
Description
•