NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Table of Contents

Current Text Matches

  • Lucene Query
  • phrase
  • contains
  • leading and trailing wild card
  • exact match
  • substring
  • spelling error tolerant substring match
  • stemmed lucene query
  • literal contains
  • starts with
  • non leading wild card literal substring
  • literal
  • Weighted double metaphone lucene query
  • literal substring
  • Double metaphone lucene query
  • Regular expression

Text Match Breakdown:

Lucene Query

Search with the Lucene query syntax.  http://lucene.apache.org/core/5_0_0/queryparser/org/apache/lucene/queryparser/classic/package-summary.html#package_description

Phrase

Contains

Equivalent to '* term* *' - in other words - a trailing wildcard on a term (but no leading wild card) and the term can appear at any position.   Searches on Property Value only.

Leading and Trailing Wild Card

Exact Match

Exact match (case insensitive).  Requires it's own indexed value, a lower case, untokenized Property Value.

SubString

Spelling Error Tolerant Substring Match

Stemmed Lucene Query

Literal Contains

Starts With

Non Leading Wild Card Literal Substring

Literal

Weighted Double Metaphone Lucene Query

Search with the Lucene query syntax, using a 'sounds like' algorithm.  A search for 'atack' will get a hit on 'attack'  Also, the exact user-entered text is taken into account -- so correct spelling will override the 'sounds like' algorithm.  Searches on the same indexed property value as the other double metaphone search.  Does not add anything more to the index, but does add more overhead to the search.

Literal Substring

Double Metaphone Lucene Query

Search with the Lucene query syntax, using a 'sounds like' algorithm.  A search for 'atack' will get a hit on 'attack'  Searches on a property value that has been double metaphone enabled.

Regular Expression

A Regular Expression query.  Searches against the lowercased text, so a regular expression that specifies an uppercase character will never return a match. Additionally, this searches against the entire string as a single token, rather than the tokenized string - so write your regular expression accordingly.  This is the apache implementation of Regular Expression so follow their documentation as needed. 

  • No labels