NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

wikicontent:Exit Disclaimer to Include

Info
titleUsing Lucene Queries in LexBIG

Lucene Queries are well documented and can be very powerful. The uninitiated user may need some background on their use however.

You should start here with the official Lucene QueryParser documentation

Multiexcerpt include
nopaneltrue
MultiExcerptNameExitDisclaimer
PageWithExcerpt
Code Block
Historical link
http://lucene.apache.org/java/docs/queryparsersyntax.html

Keep in mind that some LexBIG queries such as "startsWith" and "contains" use wild card searches under the covers, so that use of wild cards in this context can cause errors in searches involving these search types.

Instead it is best to use the flexibility of the the Lucene Query searches in the matchingDesignation by using the Lucene Query searches in LexBIG where most searches will work much as described in the query syntax documentation.

Special characters in the Lucene Query search can cause unexpected results. If you are not using special characters as recommended for various Lucene search mechanisms then your searches may not return expected results or may return an error. If the value you are searching upon contains say, parenthesis, you will need to place the value in quotations.  The escape characters described in the Lucene Documentation do not work at this time.

Likewise you should not expect to see a Lucene Query narrow down search results as you progressively enter a longer substring more closely matching your term of interest. Instead use the contains method..