Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #12436 (new)

Opened 10 years ago

Last modified 10 years ago

BUG: Search for AND and OR — at Initial Version

Reported by: pwalczysko Owned by:
Priority: major Milestone: 5.0.3
Component: Client Version: 5.0.2
Keywords: n.a. Cc: ux@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

A query like
nd2 weird AND attachment
will be interpreted atm by our clients as
weird AND attachment
This is because Lucene is interpreting the query as such
(nd2 SHOULD, weird MUST, attachment MUST)
which marginalises the SHOULD term. The expected result with
nd2 SHOULD, (weird MUST attachment MUST) SHOULD
interpretation is passed to Lucene using syntax

nd2 OR (weird AND attachment)

This is not possible now in the clients, because the clients strip the brackets away (probably).
dlindner suggests the solution:

for a query like
nd2 weird AND attachment
the clients will add the brackets for Lucence and pass
nd2 (weird AND attachment)

which would result in the expected result for the user.

Change History (0)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.65989 sec.)

We're Hiring!