• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.clients
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • ← Previous Ticket
  • Next Ticket →

Ticket #663 (closed defect: fixed)

Opened 2 months ago

Last modified 2 months ago

Searching: Advanced search

Reported by: jburel Owned by: jburel
Priority: major Milestone: 3.0-Beta3.1
Component: insight Version:
Keywords: Cc: m.porter@…, josh

Description

Reported via the Feedback mechanism:
Version: Beta3.1

Tried to search for images using the Advanced Search boxes, using all three text boxes.

java.lang.Exception: ome.conditions.ApiUsageException: (tag:100x, OR tag:aurora) +tag:eg5,+tag:jj99 -tag:ph3  caused a parse exception.

	at ome.services.search.FullText.<init>(FullText.java:94)

	at ome.services.search.SomeMustNone.<init>(SomeMustNone.java:34)

	at ome.services.SearchBean.bySomeMustNone(SearchBean.java:205)

Change History

Changed 2 months ago by jburel

  • cc josh added

Doing a query like

some = [a]
must = [b, c]

create a parsing error

(name:a) +name:b+name:c I reckon a space is missing in the part of the query corresponding to must.

Changed 2 months ago by jmoore

The server exception is:

org.apache.lucene.queryParser.ParseException: Cannot parse '(tag:100x, OR tag:aurora) +tag:eg5,+tag:jj99 -tag:ph3': Encountered ":" at line 1, column 39.
Was expecting one of:
    <EOF> 
    <AND> ...
    <OR> ...
    <NOT> ...
    "+" ...
    "-" ...
    "(" ...
    "*" ...
    "^" ...
    <QUOTED> ...
    <TERM> ...
    <FUZZY_SLOP> ...
    <PREFIXTERM> ...
    <WILDTERM> ...
    "[" ...
    "{" ...
    <NUMBER> ...
    

Changed 2 months ago by jmoore

omero:r2852 and omero:r2853 (for Beta3.1) fix the missing space issue.

Changed 2 months ago by jburel

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.

Download in other formats:

  • Comma-delimited Text
  • Tab-delimited Text
  • RSS Feed

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/