lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <apa...@elyograg.org>
Subject Re: Solr 6.4 new SynonymGraphFilter help for multi-word synonyms
Date Thu, 02 Feb 2017 14:50:43 GMT
On 2/2/2017 7:36 AM, Cliff Dickinson wrote:
> The SynonymGraphFilter API documentation contains the following statement
> at the end:
>
> "To get fully correct positional queries when your synonym replacements are
> multiple tokens, you should instead apply synonyms using this TokenFilter
> at query time and translate the resulting graph to a TermAutomatonQuery
> e.g. using TokenStreamToTermAutomatonQuery."

Lucene is a programming API for search.  That documentation is intended
for people who are writing Lucene programs.  Those users would be
constructing query objects in their own code, so they would most likely
know exactly which object needs to be changed to TermAutomatonQuery.

Solr is a Lucene program ... and an immensely complicated one.  Many
Lucene improvements require changes in the end program for full
support.  I suspect that Solr's capability has not been updated to use
this new feature in Lucene.  I cannot say for sure, I hope someone who
is familiar with this Lucene change and Solr internals can comment.

Thanks,
Shawn


Mime
View raw message