You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Mayuri Laxman Gadsing <ga...@usc.edu> on 2014/11/10 06:40:01 UTC

Parsing Faceted Search output in Solr

Hi all,

I'm using the faceted search in Solr. I wanted to know if there's a way to
display selective records in the sublist.

I've tried this query -
localhost:8983/solr/select?q=*:*&facet=true&facet.pivot=city,jobtype&facet.field=jobtype&facet.query=jobtype:Tiempo&fl=title

I want to display jobs of only Tiempo type.

But it doesn't consider the facet.query field.
Any other way to do this?

Thanks,
Mayuri

Re: Parsing Faceted Search output in Solr

Posted by Erik Hatcher <er...@gmail.com>.
Make that fq not facet.query.  Does that do what you want?

   Erik 


> On Nov 10, 2014, at 00:40, Mayuri Laxman Gadsing <ga...@usc.edu> wrote:
> 
> Hi all,
> 
> I'm using the faceted search in Solr. I wanted to know if there's a way to display selective records in the sublist.
> 
> I've tried this query -
> localhost:8983/solr/select?q=*:*&facet=true&facet.pivot=city,jobtype&facet.field=jobtype&facet.query=jobtype:Tiempo&fl=title
> 
> I want to display jobs of only Tiempo type.
> 
> But it doesn't consider the facet.query field.
> Any other way to do this?
> 
> Thanks,
> Mayuri
>