Hi,

I want to implement a query like phrase query with slop 0, but I can allow
one term mismatch.

For example,  the text is "A  B  C D E"

I want to match this text with the query  "A B C X E".

X mismatches the D.

i.e. Query "A B C D E"  will match “W1 W2 W3 W4 W5”,  the 5 words are
consecutive and at most one word is mismatched.

Reply via email to