NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

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

...

This document is a section of the LexEVS 6.0 Programmer's Guide.

LexEVS v56.1 0 implements the following performance and behavior enhancements in the Query Services Extension:

...

Previously, for most search algorithms Lucene applied an OR to the terms if multiple terms were input as search text. For example, a search of 'heart attack' would match all documents containing 'heart' OR 'attack'. This lead to non-intuitive query results being returned. In LexEVS 56.10, the Lucene default is changed to AND. Consequently, search precision is increased and returned results are more intuitive. In most cases the AND shrinks the number of results returned for a given query, which in turn increases overall performance.

...

DoubleMetaphoneQueries enable the user to input incorrectly spelled search text, while still returning results. Because this is a 'fuzzy' search, it is important to structure the Query in a way that the most appropriate results are returned to the user first. For example, the Metaphone computed value for "Breast" and "Prostrate" is the same. Given the search term "Breast", both "Breast" and "Prostrate" will match with exactly the same score. Technically, this is correct behavior, but to the end user this is not desirable. To overcome this, LexEVS v56.1 0 has introduced a new query, WeightedDoubleMetaphoneQuery.

...

To avoid this problem, a JOIN query can be used.

In LexEVS v56.10, there were three n+1 SELECT queries fixed:

...