Re: Solr - Make Exact Search on Field with Fuzzy Query

2012-10-11 Thread Erick Erickson
Right, and going the other way (storing and highlighting on the non-stemmed field) would be unsatisfactory due because you'd get a hit on "hospital" in the stemmed field, but wouldn't highlight it if you searched on "hospitality". I really don't see a good solution here. Highlighting seems to be o

Re: Solr - Make Exact Search on Field with Fuzzy Query

2012-10-10 Thread meghana
Hi Erickson, Thanks for your valuable reply. Actually we had tried with just storing one field and highlighting on that field all the time , whether we search on it or not. It sometimes occurs issue , like if i search with the term : 'hospitality' . and I use field for highlighting , which havi

Re: Solr - Make Exact Search on Field with Fuzzy Query

2012-10-10 Thread Erick Erickson
There's nothing really built in to Solr to allow this. Are you absolutely sure you can't just use the copyfield? Have you actually tried it? But I don't think you need to store the contents twice. Just store it once and always highlight on that field whether you search it or not. Since it's the ra