Re: ampersands in index or query

2012-01-19 Thread Erick Erickson
Another approach is to use the stopwords and an appropriate analyzer chain. Then both the & and "and" would be removed from the indexing stream and the query process and it would "just work".. Best Erick On Thu, Jan 19, 2012 at 8:09 AM, Gora Mohanty wrote: > On Thu, Jan 19, 2012 at 7:48 PM, Nich

Re: ampersands in index or query

2012-01-19 Thread Gora Mohanty
On Thu, Jan 19, 2012 at 7:48 PM, Nicholas Fellows 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 th

ampersands in index or query

2012-01-19 Thread Nicholas Fellows
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 scena