lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: MultiPhraseQuery or PhraseQuery to take the synonyms into account?
Date Sun, 23 Sep 2018 03:37:01 GMT
PhraseQuery can indeed be used to represent a multi-token synonym.

In fact, I mis-spoke before: MultiPhraseQuery can also represent a
multi-token synonym when the multiple tokens are all the same except in one
spot.

Mike McCandless

http://blog.mikemccandless.com


On Thu, Sep 20, 2018 at 2:32 PM baris.kazar <baris.kazar@oracle.com> wrote:

> i should have asked this way as Mike made clear for MultiPhraseQuery:
> is PhraseQuery ok to account for synonyms?
> Best
>
> > On Sep 20, 2018, at 2:02 PM, baris.kazar@oracle.com wrote:
> >
> > Hi,-
> >
> >  should i use MultiPhraseQuery or PhraseQuery to take synonyms into
> account?
> >
> > Best regards
> >
> > baris
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: java-user-help@lucene.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

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