Double Metaphone Implementation Details

Search with the Lucene query syntax, using a 'sounds like' algorithm.

Algorithm:

The Double Metaphone search has the following characteristics:

Example of use:

The following examples are based on the Automobiles coding scheme.

Example 1:

Search string: Automobeel

Lucene query: dm_propertyValue:ATMP

Result: 1 result


Example 2:
Search string: kar truk

Lucene query: +dm_propertyValue:KR +dm_propertyValue:TRK

Result: 0 results

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/DoubleMetaphoneSearch.java