Hi David, As Karan suggested,your current icDesc_en is tokenized (understandably you need to do that if you want to search on it in powerful way). So the solution is create another field say icDesc_en_facet and define "string" as the type (like Karan suggested) and then do this : <copyField source=" icDesc_en" dest="icDesc_en_facet"/> . Now you can use icDesc_en_facet to facet. Look for an example here: http://serverfault.com/questions/463047/not-getting-desired-results-from-solr-facets
On Tue, Jan 14, 2014 at 4:09 AM, Karan jindal <karanjindal1...@gmail.com>wrote: > what's field type of "icDesc_en"? > See it in schema.xml in conf directory of your solr setup. > > I guess it must be tokenized by tokenizer. > If that is the case than change the type of this field to "string" type. > By doing this tokens wouldn't be created and you will get desired results. > > -Karan > > > On Tue, Jan 14, 2014 at 2:15 PM, dmacuk <davidmccal...@actual-systems.com > >wrote: > > > First excuse me if I do not use the correct terminology. > > > > I have some records in a Solr document with a field called icDesc_en. > > > > The contents of this field contains a sentences of two, e.g. "2.4l engine > > automatic 5 speed", "Left front door, electric windows", etc..... > > > > When I preform a search to retrieve facets on the field, it comes back as > > individual words, e.g. engine:10, front:15 etc, > > > > I would like the facet count to return "2.4l engine automatic 5 > speed":20, > > ""Left front door, electric windows":15. > > > > How can I make this happen? > > > > TIA > > > > David. > > > > > > > > -- > > View this message in context: > > http://lucene.472066.n3.nabble.com/Facets-tp4111191.html > > Sent from the Solr - User mailing list archive at Nabble.com. > > >