You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by prachir gupta <pr...@infrasofttech.com> on 2016/01/02 17:01:23 UTC

Lucene result set with Jarowinkler scoring

I am able to perform a distance search using the spellchecker of Lucene.

However, after I get the result set, I have to again perform an iteration in
order to get the jarowinkler value for the input criteria by using
getDistance(String s1, String s2). This causes a performance impact.

Is there anyway, that along with the result set Lucene/spellchecker itself
returns the jarowinkler value.

For example,
when I search for Hashim with threshold 0.8, i get the values as :
Hashi,
Hashimi,...

Can I instead directly get 
Hashi,0.96
Hashimi,0.97




--
View this message in context: http://lucene.472066.n3.nabble.com/Lucene-result-set-with-Jarowinkler-scoring-tp4248213.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org