On Thu, Jul 26, 2018 at 10:25 PM, Michael Sokolov <[email protected]>
wrote:

>  > In general I’d avoid index-time synonyms in lucene because synonyms can
> create graphs (eg if a single term gets expanded to several terms), and we
> can’t index graphs correctly.
>
> I wonder what it would take to address this. I guess the blast radius of
> adding a token "width" could be pretty large. Is there an issue or any past
> discussion about that?
>

I think some ideas have been mentioned on past issues, e.g. using payloads
to hold the position length should be workable (with a custom Query)
without any source code changes to Lucene, but I don't know of anyone
building a prototype.

Mike McCandless

http://blog.mikemccandless.com

Reply via email to