Case A
Case B
Case A : would expect all pages containing the words ‘not’ and ‘connected’
Alternate A: empty set.
Case B: would expect to avoid the alternate result from A and get the pages containing both ‘not’ and ‘connected’.
Case A: got the alternate result. Suboptimal, but understandable.
Case B: got all the pages containing ‘not’, excluding the pages that also contain ‘connected’.
3.9.14 Joomla PHP 7.3
It looks like it’s successfully escaping the boolean during the search, but then reinstates it to exclude. It should maintain the escape or never allow it. The hybrid is too confusing to the user. A better approach might be to only take the Boolean meaning of the term if it’s in caps, let lowercase search for the term just like any other word.
Labels |
Added:
?
|
@Hackwar Do you have any feedback for this?
See? Just 2 years later and I'm reacting to your ping...
Expected behavior for such a feature:
Simple Search (default): The search term is searched for literally, no operators.
Advanced Search: The search term is interpreted and boolean operators are handled properly. Boolean operators inside a quoted string are used literally and not as operators.
I'll try to implement that in the coming weeks.
Labels |
Added:
No Code Attached Yet
bug
Removed: ? |
Ping @Hackwar