You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "onyxmaster (via GitHub)" <gi...@apache.org> on 2023/09/11 17:21:07 UTC
[GitHub] [lucene] onyxmaster commented on issue #4549: ShingleFilter should handle positionIncrement of zero, e.g. synonyms [LUCENE-3475]
onyxmaster commented on issue #4549:
URL: https://github.com/apache/lucene/issues/4549#issuecomment-1714290760
Hi. Got bitten by this today after a lemmatizer filter produced two variants of base word at the same position and ShingleFilter producing a "shingle" from these variants, failing to produce a variant of first shingle:
`"<term1> <term2>" -> "<term1> <term2-1|term2-2>" -> ["<term1> <term2-1>", "<term2-1> <term2-2>"]`, where the correct result would be `["<term1> <term2-1>", "<term1> <term2-2>"]`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org