Thanks a lot. That worked like a charm.

On Wed, Jan 18, 2012 at 9:50 PM, Yonik Seeley <yo...@lucidimagination.com>wrote:

> On Wed, Jan 18, 2012 at 3:36 PM, Daniel Bruegge
> <daniel.brue...@googlemail.com> wrote:
> >
> > Hi,
> >
> > I have asked the question already over Stackoverflow (
> >
> http://stackoverflow.com/questions/8913654/solr-hides-some-facet-fields-when-doing-a-distributed-search
> ),
> > but maybe someone here can give me a hint how to solve this issue:
> >
> > I am searching over 6 Solr shards (Solr version 3.5). What I recognized
> is
> > that when I am doing the search in my normal standalone instance, which
> > contains the same data I get 2 facet_fields in thefacet_counts section.
> > This is was I except:
> >
> > <lst name="facet_counts">
> > <lst name="facet_queries"/>
> > <lst name="facet_fields">
> > <lst name="url">...</lst>
> > <lst name="url">...</lst>
> > </lst>
> > <lst name="facet_dates"/>
> > <lst name="facet_ranges"/>
> > </lst>
> >
> > As you can see there are 2 facet_fields. When I am doing the same query
> > using multiple shards (same data), I am getting always just one
> facet_field:
> >
> > <lst name="facet_counts">
> > <lst name="facet_queries"/>
> > <lst name="facet_fields">
> > <lst name="url">...</lst>
> > </lst>
> > <lst name="facet_dates"/>
> > <lst name="facet_ranges"/>
> > </lst>
> >
> > I am also using tagging and excluding filters in my Query. Could this be
> > the problem?
>
> Yeah, that must be it.
> Try giving one of them a different name... something like:
>  facet.field={!ex=my_exclusions, key=url2}url
>
> -Yonik
> http://www.lucidimagination.com
>
>
> >
> > Thanks & regards
> >
> >
> > Daniel
>

Reply via email to