Re: Regarding Solr Faceting on the query response.

2014-02-02 Thread Mikhail Khludnev
Ok. "BOSE", 0, "Walmart", 0, are not a problem because you can heal it by facet.mincount. "Oracle", 25, seems to be a problem. You need to find which documents provided hits to this facet value. lets add filter parameter fq=company:Oracle and you'll have 25 results which provide this facet value.

Re: Regarding Solr Faceting on the query response.

2014-01-31 Thread Kuchekar
Hi Mikhail, The Actual result is as following "facet_counts": { "facet_queries": {}, "facet_fields": { "company": [ "Apple", 215, "BOSE", 0, "Walmart", 0, "Oracle", 25, ... ... ... ... "Microsoft", 34, "ATT", 45 ] }, "facet_dates": {}, "facet_ranges": {} } The Expected r

Re: Regarding Solr Faceting on the query response.

2014-01-31 Thread Jérôme Étévé
On 30 January 2014 17:35, Kuchekar wrote: > Hi Mikhail, > > I would like my faceting to run only on my resultset > returned as in only on numFound, rather than the whole index. As far as I know, unless you define filter tagging and exclusion, this is the default facet behaviour.

Re: Regarding Solr Faceting on the query response.

2014-01-31 Thread Mikhail Khludnev
On Thu, Jan 30, 2014 at 9:35 PM, Kuchekar wrote: > > "docs": [ { "id": "ABC123", "company": [ "APPLE" ] }, > { "id": "ABC1234", "company": [ "APPLE" ] }, > { "id": "ABC1235", "company": [ "APPLE" ] }, > { "id": "ABC1236", "company": [ "APPLE" ] } ] }, "facet_counts": { " > facet_queries": { "p_co

Re: Regarding Solr Faceting on the query response.

2014-01-30 Thread Alexandre Rafalovitch
___ > De: Kuchekar [kuchekar.nil...@gmail.com] > Enviado: quinta-feira, 30 de janeiro de 2014 15:35 > Para: solr-user@lucene.apache.org > Assunto: Re: Regarding Solr Faceting on the query response. > > Hi Mikhail, > > I would like my faceting to

RES: Regarding Solr Faceting on the query response.

2014-01-30 Thread Felipe Dantas de Souza Paiva
2014 15:35 Para: solr-user@lucene.apache.org Assunto: Re: Regarding Solr Faceting on the query response. Hi Mikhail, I would like my faceting to run only on my resultset returned as in only on numFound, rather than the whole index. In the example, even when I specify the query 

Re: Regarding Solr Faceting on the query response.

2014-01-30 Thread Kuchekar
Hi Mikhail, I would like my faceting to run only on my resultset returned as in only on numFound, rather than the whole index. In the example, even when I specify the query 'company:Apple' .. it gives me faceted results for other companies. This means that it is querying against

Re: Regarding Solr Faceting on the query response.

2014-01-30 Thread Alexei Martchenko
I believe its not possible to facet only the page you are, facet is supposed to work only with the full resultset. I never tried but i've never seen a way this could be done. alexei martchenko Facebook | Linkedin|

Re: Regarding Solr Faceting on the query response.

2014-01-29 Thread Mikhail Khludnev
Hello Do you mean setting http://wiki.apache.org/solr/SimpleFacetParameters#facet.mincount to 1 or you want to facet only returned page (rows) instead of full resultset (numFound) ? On Thu, Jan 30, 2014 at 6:24 AM, Nilesh Kuchekar wrote: > Yeah it's a typo... I meant company:Apple > > Thanks > N

Re: Regarding Solr Faceting on the query response.

2014-01-29 Thread Nilesh Kuchekar
Yeah it's a typo... I meant company:Apple Thanks Nilesh > On Jan 29, 2014, at 8:59 PM, Alexandre Rafalovitch wrote: > >> On Thu, Jan 30, 2014 at 3:43 AM, Kuchekar wrote: >> company=Apple > Did you mean company:Apple ? > > Otherwise, that could be the issue. > > Regards, > Alex. > > > Per

Re: Regarding Solr Faceting on the query response.

2014-01-29 Thread Alexandre Rafalovitch
On Thu, Jan 30, 2014 at 3:43 AM, Kuchekar wrote: > company=Apple Did you mean company:Apple ? Otherwise, that could be the issue. Regards, Alex. Personal website: http://www.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time is the quality of nature that kee

Regarding Solr Faceting on the query response.

2014-01-29 Thread Kuchekar
Hi All, Is there a way for faceting only on the resultset returned, rather then all the indexed docs? The response time for solr query with faceting switched on, takes a lot of time to respond. I see that, it tends to get the distinct values in the facet field and then give the