lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karan jindal <karanjindal1...@gmail.com>
Subject Re: Facets
Date Tue, 14 Jan 2014 09:09:30 GMT
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 <davidmccallum@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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message