Page MenuHomePhabricator

Parse errors when both AND and OR are in the same query
Open, Needs TriagePublic

Description

The truth logic of boolean searches using both AND and OR on simple word and phrase terms make no sense to me.
(When AND or OR are used alone on simple word or phrase searches, they do make sense.)

I have double-checked the data in the table below.
It has links to actual searches so you too can verify, in one minute, the table is accurate.
Then you too can confidently explore the reality of this table and conclude "no pattern".

There are four basic search terms (word or phrase), shown in bare and in Boolean searches.
There are six pages in the search domain: S, A, B, C, E, and F.

SearchResult
1SACE
2ABCF
[3](//mediawiki.org/w/index.php?title=Special:Search&profile=default&search="the number"+prefix:user:cpiral&fulltext=Search)EF
4SAEF
3 OR 4SAEF
3 AND 4EF
1 AND 2 OR 3SACE
2 AND 1 OR 3ABCF
1 OR 2 AND 3F
2 OR 1 AND 3E
2 OR 1 AND 4SAE
3 OR 1 AND 2AC
3 OR 2 AND 1AC
1 AND 2 OR 3 AND 4E
1 OR 2 AND 3 OR 4ABCF

Event Timeline

Cpiral created this task.Jan 21 2016, 7:29 AM
Cpiral raised the priority of this task from to Needs Triage.
Cpiral updated the task description. (Show Details)
Cpiral added a project: CirrusSearch.
Cpiral added a subscriber: Cpiral.
Restricted Application added a project: Discovery. · View Herald TranscriptJan 21 2016, 7:29 AM
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald Transcript
Cpiral updated the task description. (Show Details)Jan 21 2016, 7:46 AM
Cpiral set Security to None.
Cpiral updated the task description. (Show Details)Jan 21 2016, 8:07 AM
Cpiral updated the task description. (Show Details)Jan 21 2016, 8:14 AM
Deskana moved this task from Needs triage to Search on the Discovery board.Feb 3 2016, 6:15 PM