lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack Krupansky <>
Subject Re: Any lucene query sorts docs by Hamming distance?
Date Thu, 24 Dec 2015 13:33:46 GMT
Not currently. In fact, FuzzyQuery only supports edit distances up to 2 in
order to guarantee great performance:

The old, unlimited edit distance version is still semi-supported as
SlowFuzzyQuery, but is deprecated and has been relegated to the sand box,
so it is not really usable going forward:

-- Jack Krupansky

On Tue, Dec 22, 2015 at 4:02 AM, Yonghui Zhao <> wrote:

> Hi,
> Is there any query can sort docs by hamming distance if field values are
> same length,
> Seems fuzzy query only works on edit distance.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message