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

Opened 12 years ago

Closed 10 years ago

Bug: Searching bugs in Insight

Reported by: rleigh Owned by: jburel
Priority: major Milestone: 5.x
Component: Insight Version: 5.0.5
Keywords: n.a. Cc: jamoore
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description (last modified by jburel)

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. Move to #9468

Change History (6)

comment:1 Changed 12 years ago by rleigh

Some additional observations:

At least.../Must contain.../Without... options all work, within a single context (name, tag, comment, etc.) but do not if multiple contexts are used.

When simple search is used (At least... only), it appears that it can still use "advanced" settings if set (but hidden), though this needs further investigation.

Searching attachments searches the attachment names only, not the file content. Is this the intention?

Date search uses US format for display; separate bug filed.

Searching with "*" and "?" works, but it breaks in the presence of quoting and - characters, e.g.
'user-?' and '"user-"?' vary in all contexts, even when there should be zero matches. The same applies if using "*" rather than "?".

comment:2 Changed 12 years ago by jburel

  • Milestone changed from OMERO-Beta4.4 to OMERO-Beta4.4.1

comment:3 Changed 12 years ago by jburel

Various bugs reported in this ticket, we need to break it down a bit. Roger could you take care of that?

comment:4 Changed 12 years ago by jburel

  • Description modified (diff)

comment:5 Changed 12 years ago by jburel

  • Milestone changed from OMERO-4.4.4 to OMERO-4.5

Move all searching bugs to 4.5

comment:6 Changed 10 years ago by jburel

  • Resolution set to invalid
  • Status changed from new to closed
  • Version set to 5.0.5

The Options described in the ticket are no longer valid. The Search functionality was reviewed and modified in the 5.0.x.
Marking this ticket as invalid

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

We're Hiring!