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 <[email protected]> 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, [email protected] wrote: > > > > Hi,- > > > > should i use MultiPhraseQuery or PhraseQuery to take synonyms into > account? > > > > Best regards > > > > baris > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
