There is no way to identify *which* synonyms triggered in your search
output.

You could implement a synonyms search component, that looks in the
stored values of configured fields for synonyms, and adds another block
of XML to the output. This old be useful component.

Upayavira

On Mon, May 6, 2013, at 05:23 AM, varun srivastava wrote:
> Hi Suneel,
>  After discovering that only query time synonym work with solr I found a
> good article on pros and cons of query and index time synonyms . It may
> help you
> http://nolanlawson.com/2012/10/31/better-synonym-handling-in-solr/
> 
> Regards
> Varun
> 
> 
> On Sun, May 5, 2013 at 9:20 AM, Erick Erickson
> <erickerick...@gmail.com>wrote:
> 
> > Sure, you can specify a separate synonyms list at query time, just define
> > an index and query time analysis chain one without the synonym filter
> > factory and one without.
> >
> > Be aware that index-time and query-time have some different
> > characteristics,
> > especially around multi-word synonyms see:
> >
> > http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.SynonymFilterFactory
> >
> > Best
> > Erick
> >
> > On Sun, May 5, 2013 at 12:23 AM, varun srivastava
> > <varunmail...@gmail.com> wrote:
> > > Hi ,
> > >  Synonyms list is used at index time. So I dont think you can pass list
> > at
> > > query time and make it work.
> > >
> > >
> > > On Fri, May 3, 2013 at 11:53 PM, Suneel Pandey <pandey.sun...@gmail.com
> > >wrote:
> > >
> > >> Hi,
> > >>
> > >> I want to get specific solr synonyms terms list during query time in
> > result
> > >> set based on filter criteria.
> > >> I have implemented synonyms in .txt file.
> > >>
> > >> Thanks
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >> -----
> > >> Regards,
> > >>
> > >> Suneel Pandey
> > >> Sr. Software Developer
> > >> --
> > >> View this message in context:
> > >>
> > http://lucene.472066.n3.nabble.com/How-to-get-solr-synonyms-in-result-set-tp4060796.html
> > >> Sent from the Solr - User mailing list archive at Nabble.com.
> > >>
> >

Reply via email to