On Thu, Jan 19, 2012 at 7:48 PM, Nicholas Fellows <n...@djdownload.com> wrote:
> I have some data in solr
>
> where the text string could potentially be
>
> "Vic & Bobs greatest hits"
>
> how can i ensure that when a user query is made
> for "Vic and Bobs greatest hits" , a match is made?
>
> this also needs to work the other way round.
>
> i've not found any useful information about this scenario

Haven't tried this particular case, and it is possible that
there might be a need to escape & as &amp; but in
general, Solr synonyms should address this kind of a
need. Please see:
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.SynonymFilterFactory
and the setup in the default schema.xml.

Regards,
Gora

Reply via email to