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 #9317 (new)

Opened 12 years ago

Last modified 10 years ago

Bug: Searching bugs in Insight — at Initial Version

Reported by: rleigh Owned by: jburel
Priority: major Milestone: OMERO-Beta4.4
Component: Insight Version: n.a.
Keywords: n.a. Cc: jamoore
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

Two issues:

  1. Tags, comments and other types of data are not treated equivalently.

Example: I have tags and comments containing "user-5" and "user-6" inside both tags and comments. I'd like to search for all the tags and comments containing "user-6", excluding those containing "user-5". However, if I have user-6 in a tag, and user-5 in a comment (for a single image), this image is included in the search results. If I have "user-6" and "user-5" in tags or comments only, the image is excluded as expected. It looks like the search is done separately for tags and then separately for comments, and the results combined.
It looks like searching on tags and comments returns the union of

(tags(user-6) - tags(user-5)) ∪ (comments(user-6) - comments(user-5)).

So if user-6 is in a tag and user-5 is in a comment, it returns a hit, rather than nothing (as expected).

I expected that the search would be

(tags(user-6) ∪ comments(user-6)) \ (tags(user-5) ∪ comments(user-5))
  1. Tokenisation is different for tags, comments and other types of data.

Different fields are tokenised differently during searching. "user-?" and "user-*" work differently for tags and comments.

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

We're Hiring!