NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

Versions Compared

Key

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

...

Lucene query: +dm_propertyValue:KR propertyValue:car

Complete query:

  • +*:* +(entityType:concept)
  • +*:* +isAnonymous:F
  • +*:* +(+dm_propertyValue:KR propertyValue:car) +isPreferred:T +(propertyType:presentation)

Result: 2 results

  • Result 1:
    • entity code: C0001
    • entity description: Car
  • Result 2:
    • entity code: C0002
    • entity description: Kar

...

Example 2:
Search string: kar

Lucene query: +dm_propertyValue:KR propertyValue:karComplete query:

...

:

...

+dm_propertyValue:KR propertyValue:kar

...

Result: 2 results

  • Result 1:
    • entity code: C0002
    • entity description: Kar
  • Result 2:
    • entity code: C0001
    • entity description: Car

...

Associated JUnits:

Junits can be found here: https://github.com/lexevs/lexevs/blob/master/lbTest/src/test/java/org/LexGrid/LexBIG/Impl/function/query/lucene/searchAlgorithms/TestWeightedDoubleMetaphone.java

...