NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Scrollbar
iconsfalse

...

Panel
titleContents of this Page
Table of Contents
minLevel2

...

  • This search is case in-sensitive. 
  • It searches on the literal property.  
  • A trailing wild card is added to each token in the search text.
  • The literal property part (without the wild cards) of the query is boosted by 50.  This gives a literal match priority.
  • Parsing is done with the following analyzer:

    • literal_propertyValue - Uses our custom literal analyzer.  This literal analyzer uses Lucene's WhitespaceTokenizer with Lucene's

    StandardAnalyzer
    • LowerCaseFilter.

     

Example of use:

The following examples are based on the Automobiles coding scheme.

...

Lucene query: +literal_propertyValue:a^s* literal_propertyValue:a\^s^50.0Complete query:

  • +*:* +(entityType:concept)
  • +*:* +isAnonymous:F
  • +*:* +(+literal_propertyValue:a^s* literal_propertyValue:a\^s^50.0) +(propertyType:presentation)

Result: 1 result

  • entity code: SpecialCharactersConcept
  • entity description: Concept containing special characters

...

Lucene query: +(+literal_propertyValue:a^s* +literal_propertyValue:sp*cial* +literal_propertyValue:co{nce]pt*) ((+literal_propertyValue:a\^s +literal_propertyValue:sp\*cial +literal_propertyValue:co\{nce\]pt)^50.0)

Complete query:

...

)

Result: 1 result

  • entity code: SpecialCharactersConcept
  • entity description: Concept containing special characters

...