We're Hiring!

hidden search functions

General user discussion about using the OMERO platform to its fullest. Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

There are workflow guides for various OMERO functions on our help site - http://help.openmicroscopy.org

You should find answers to any basic questions about using the clients there.

hidden search functions

Postby evenhuis » Fri Feb 02, 2018 4:57 am

Hi all,

I've been playing around with the search function, especially the key-value searching:
http://help.openmicroscopy.org/search.html

It seems that there is also a NOT function that removes matches the search. From my playing around:
  • The precedence is AND > OR > NOT
  • The NOTs need to come last in the query
  • brackets don't have an effect

Is there some detailed documentation about search facility? I think that complex searches over detailed key-value pair metadata could be a very useful tool for us.

Thanks,

Chris
evenhuis
 
Posts: 61
Joined: Tue Jan 30, 2018 4:47 am

Re: hidden search functions

Postby Dominik » Fri Feb 02, 2018 10:39 am

Hi Chris,

the search function provides an easy way to perform general, basic searches, it's not very suitable for complex searches yet. It basically takes the query string and the various options/tick boxes the user specifies and assembles a query which is handled by the Lucene backend.
Lucene itself would be capable of handling very complex queries. Unfortuntaly it's not yet directly accessible by the clients. But we're investigating the possibility to implement that in form of an "Advanced" search field in the OMERO.web client.

But coming back to your question: There's no other documentation about the search function than http://help.openmicroscopy.org/search.html . You might find the documentation about the Lucene query syntax useful, too. But keep in mind that the query string in the OMERO clients is not a Lucene query, it gets processed and assembled into a Lucene query (although with the keywords like AND, OR, NOT passed through).

Kind Regards,
Dominik
User avatar
Dominik
Team Member
 
Posts: 149
Joined: Mon Feb 10, 2014 11:26 am


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 1 guest