What index analyzer or field settings are you using for that field? Sounds
like it might be tokenized. Maybe look at alternatives that don't tokenize
fields. Just a guess here though. Good luck.

On Fri, 13 Jan 2012 09:04:00 -0500, Christopher Gross <cogr...@gmail.com>
wrote:
> My index has a multi-valued String field called "tag" that is used to
> store a category/keyword for the item the record is about.  I made a
> faceted query in order to find out all the different tags that are
> stored in the index:
> 
>
http://localhost:8080/solr/select?q=*:*&facet=on&facet.field=tag&facet.mincount=1&rows=0
> 
> I'm having a problem with the results though.  Any of my tags with
> multiple words (like "United States") are showing up as separate (a
> count for "United" and a count for "States".
> 
> Is there something that I can add to the query to keep the tags as they
> are?
> 
> -- Chris

Reply via email to