Re: Solr groups not matching with terms in a field

2015-01-16 Thread Naresh Yadav
thanks Ahmet..my problem solved...reason of slow performance of facet query was : not doing setRows(0).. once i done it then it came out in seconds like terms query. On Fri, Jan 16, 2015 at 3:25 PM, Ahmet Arslan wrote: > Hi, > > Thats a different problem : speed-up faceting. > Faceting used all

Re: Solr groups not matching with terms in a field

2015-01-16 Thread Ahmet Arslan
Hi, Thats a different problem : speed-up faceting. Faceting used all over the place and it is fast. I suggest you looks for faceting improvements. Ahmet On Friday, January 16, 2015 11:17 AM, Naresh Yadav wrote: I tried facetting also but not worked smoothly for me. Case i had mentioned in em

Re: Solr groups not matching with terms in a field

2015-01-16 Thread Naresh Yadav
I tried facetting also but not worked smoothly for me. Case i had mentioned in email is dummy one and my actual index is with 12 lakh docs and 2 GB size on single machine. Each of tenant_pool field value has 20-30 tokens. Getting all terms in tenant_pool is fast in seconds but when i go with facet

Re: Solr groups not matching with terms in a field

2015-01-16 Thread Ahmet Arslan
Hi Naresh, Yup terms component does not respect q or fq parameter. Luckily, thats easy with facet component. Example : facet=true&facet.field=tenant_pool&q=type:1 Please see more here : https://cwiki.apache.org/confluence/display/solr/Faceting happy faceting, ahmet On Friday, January 16, 20

Re: Solr groups not matching with terms in a field

2015-01-16 Thread Naresh Yadav
Hi ahmet, Thanks, now i understand better, i will not try my usecase with grouping. Actually i am interested in unique terms in a field i.e tenant_pool. That i get perfectly with http://www.imagesup.net/?di=614212438580 But i am not able to get terms after applying some filter say "type":"1". Tha

Re: Solr groups not matching with terms in a field

2015-01-15 Thread Ahmet Arslan
Hi Naresh, I have never grouped on a tokenised field and I am not sure it makes sense to do so. Reading back ref-guide it says this about group.field parameter "The name of the field by which to group results. The field must be single-valued, and either be indexed or a field type that has a va

Re: Solr groups not matching with terms in a field

2015-01-15 Thread Naresh Yadav
Hi ahmet, If you observe output ngroups is 1 and returning only one group P1. But my expectation is it should return three groups P1, L1, L2 as my field is tokenized with space. Please correct me if wrong? On 1/15/15, Ahmet Arslan wrote: > > > Hi Naresh, > > Everything looks correct, what is th

Re: Solr groups not matching with terms in a field

2015-01-15 Thread Ahmet Arslan
Hi Naresh, Everything looks correct, what is the problem here? If you want to see more than one document per group, there is a parameter for that which defaults to 1. Ahmet On Thursday, January 15, 2015 9:02 AM, Naresh Yadav wrote: Hi all, I had done following configuration to test Solr

Solr groups not matching with terms in a field

2015-01-14 Thread Naresh Yadav
Hi all, I had done following configuration to test Solr grouping concept. solr version : 4.6.1 (tried in latest version 4.10.3 also) Schema : http://www.imagesup.net/?di=10142124357616 Solrj code to insert docs :http://www.imagesup.net/?di=10142124381116 Response Group's : http://www.images