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 #12351 (closed)

Opened 10 years ago

Closed 10 years ago

RFE: Allow AND search in Insight

Reported by: pwalczysko Owned by: wmoore
Priority: major Milestone: 5.0.3
Component: Insight Version: 5.0.2
Keywords: n.a. Cc: ux@…,
Resources: n.a. Referenced By: https://trello.com/c/NDjNwZnm/52-bug-search-5-0-3
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

In Web, you can search for two terms with AND, like Term_1 AND Term_2 and the result is all the items which have both the terms in any part of Tags, Description etc.
This seems to be plausible and understandable.
What Insight does in this sense is not clear - the same search ends up with different results (much more than in Web). It looks like the AND search is not possible, but hard to say on which basis does actually Insight construct the query.

Suggestion: Allow the AND search in Insight like in Web.

Workflow (from Jasons email):

Using nightshade, in Swedlow Lab group,

searching for

prometaphase AND Figure_1

gives very different results in the two clients. I think the web is right, but insight gives hard to understand results?

Change History (7)

comment:1 Changed 10 years ago by jamoore

comment:2 Changed 10 years ago by jburel

  • Owner changed from jburel to dlindner

comment:3 Changed 10 years ago by jburel

Add a control in client to indicate that AND will not work if we have more than one field selected.

comment:4 Changed 10 years ago by dlindner

This is actually not true. AND search across multiple fields works. Just the implementation between web and insight differs at the moment.

A search for "a AND b", with fields name and description will resolve to:
Web: (name:a AND name:b) OR (description:a AND description:b)
Insight: (name:a or description:a) AND (name:b OR description:b)

Discussed with wmoore, in our opinion the second query is what user expects (because this is also the behaviour if the users doesn't tick any of the field checkboxes).

comment:5 Changed 10 years ago by pwalczysko

I would agree with this. But for sure we should unify the behaviour between Insight and Web.

comment:6 Changed 10 years ago by jburel

  • Owner changed from dlindner to wmoore

Then web needs to be modified so the desired behaviour is in place.Passing the ticket to Will

comment:7 Changed 10 years ago by wmoore

  • Resolution set to fixed
  • Status changed from new to closed

This is now handled on the server side. See https://github.com/openmicroscopy/openmicroscopy/pull/2802

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.64466 sec.)

We're Hiring!