You mean the total number of edits between those strings must be <= 2?
If so, you must index the entire "Lucene Apache Group" as a single
token, and likewise do a FuzzyQuery with the entire "Luceni Apachi
Group", etc.
If instead you do tokenize and use BooleanQuery to combine them, then
that allo
Hi,
I need to implement a function that performs fuzzy search on multiple terms
in the way that a summarized distance 2 from ALL terms is allowed. For
example query:
Lucene Apache Group
with maximum distance 2 should match:
Luceni Apachi Group
Lucen Apache Group
Luce Apache Group
but not:
Luce
Hi,
You need to add a NumericDocValuesField here as well - Point is for searching,
Stored is for display.
Alan Woodward
www.flax.co.uk
> On 21 Oct 2016, at 10:54, Ludovic Bertin wrote:
>
> Hi,
>
> When I'm trying to launch search with ordering, but it fails with exception :
> unexpected do
Hi,
When I'm trying to launch search with ordering, but it fails with exception :
unexpected docvalues type NONE for field 'LOCAL_TIME' (expected=NUMERIC).
Re-index with correct docvalues type.
For indexing:
doc.add(new LongPoint("longValue", (Long) value));
doc.add(new StoredField("longValue