Page MenuHomePhabricator

Parse errors when both AND and OR are in the same query
Closed, DuplicatePublic

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 raised the priority of this task from to Needs Triage.
Cpiral updated the task description. (Show Details)
Cpiral added a project: CirrusSearch.
Cpiral subscribed.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald Transcript
Cpiral set Security to None.
Aklapper removed a project: Discovery-ARCHIVED.