Thnx guys.
--

Yavuz Selim YILMAZ


2010/10/20 Tim Gilbert <tim.gilb...@morningstar.com>

> Sorry, what Pradeep said, not Prasad.  My apologies Pradeep.
>
> -----Original Message-----
> From: Tim Gilbert
> Sent: Wednesday, October 20, 2010 12:18 PM
> To: 'solr-user@lucene.apache.org'
> Subject: RE: Mulitple facet - fq
>
> As Prasad said:
>
>        fq=(category:corporate category:personal)
>
> But you might want to check your schema.xml to see what you have here:
>
>        <!-- SolrQueryParser configuration: defaultOperator="AND|OR" -->
>        <solrQueryParser defaultOperator="AND" />
>
> You can always specify your operator in your search between your facets.
>
>
>        fq=(category:corporate AND category:personal)
>
> or
>
>        fq=(category:corporate OR category:personal)
>
> I have an application where I am using searches on 10 more facets with
> AND OR + and - options and it works flawlessly.
>
>        fq=(+category:corporate AND -category:personal)
>
> meaning category is corporate and not personal.
>
> Tim
>
> -----Original Message-----
> From: Pradeep Singh [mailto:pksing...@gmail.com]
> Sent: Wednesday, October 20, 2010 11:56 AM
> To: solr-user@lucene.apache.org
> Subject: Re: Mulitple facet - fq
>
> fq=(category:corporate category:personal)
>
> On Wed, Oct 20, 2010 at 7:39 AM, Yavuz Selim YILMAZ
> <yvzslmyilm...@gmail.com
> > wrote:
>
> > Under category facet, there are multiple selections, whicih can be
> > personal,corporate or other ....
> >
> > How can I get both "personal" and "corporate" ones, I tried
> > fq=category:corporate&fq=category:personal
> >
> > It looks easy, but I can't find the solution.
> >
> >
> > --
> >
> > Yavuz Selim YILMAZ
> >
>

Reply via email to