Discussion:
MultiPhraseQuery or PhraseQuery to take the synonyms into account?
b***@oracle.com
2018-09-20 18:02:57 UTC
Permalink
Hi,-

 should i use MultiPhraseQuery or PhraseQuery to take synonyms into
account?

Best regards

baris


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-***@lucene.apache.org
For additional commands, e-mail: java-user-***@lucene.apache.org
baris.kazar
2018-09-20 18:32:29 UTC
Permalink
i should have asked this way as Mike made clear for MultiPhraseQuery:
is PhraseQuery ok to account for synonyms?
Best
Hi,-
should i use MultiPhraseQuery or PhraseQuery to take synonyms into account?
Best regards
baris
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-***@lucene.apache.org
For additional commands, e-mail: java-user-***@lucene.apache.org
Michael McCandless
2018-09-23 03:37:01 UTC
Permalink
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
Post by baris.kazar
is PhraseQuery ok to account for synonyms?
Best
Post by b***@oracle.com
Hi,-
should i use MultiPhraseQuery or PhraseQuery to take synonyms into
account?
Post by b***@oracle.com
Best regards
baris
---------------------------------------------------------------------
---------------------------------------------------------------------
Loading...