You'll have to delve in to the output from IndexSearcher.explain, or
the details of the Levenshtein (edit distance) algorithm used by
FuzzyQuery to figure out why Smath is beating Smith. But the general
way of making sure that exact matches come top is to add an exact
match clause to your query,
Hi Guys,
I am using Lucene with neo4j database.
Currently if I do a fuzzy search via a rest call using the Query API with this
data
GivenName: John
FamilyName: Smith
GivenName: Bob
FamilyName: Smith
GivenName: Adam
FamilyName: Smith
GivenName: Bill
FamilyName: Smath
If I query the index li