Re: How many versions do you stay behind in production for better stability ?

2016-11-22 Thread Naresh Yadav
Please let me know about your conclusion ? i am also in same confusion. On Thu, Nov 17, 2016 at 12:55 PM, Dorian Hoxha wrote: > Hi, > > I see that there is a new release on every lucene release. Do you always > use the latest version since it may have bugs (ex most

Re: Help on Out of memory when using Cursor with sort on Unique Key

2015-09-09 Thread Naresh Yadav
acking up & deleting current index from dataDir. > Also note that, adding docValue=true would increase size of index. > > 2)>Each node memory parameter : -Xms2g, -Xmx4g > What is the basis choosing above memory sizes? Have you observed through > jconsole or visual vm? >

Help on Out of memory when using Cursor with sort on Unique Key

2015-09-08 Thread Naresh Yadav
Cluster details : Solr Version : solr-4.10.4 No of nodes : 2 each 16 GB RAM Node of shards : 2 Replication : 1 Each node memory parameter : -Xms2g, -Xmx4g Collection details : No of docs in my collection : 12.31 million Indexed field per document : 2 Unique key field : tids Stored filed per

Re: Solr query which return only those docs whose all tokens are from given list

2015-05-20 Thread Naresh Yadav
Requesting Solr experts again to suggest some solutions to my above problem as i am not able to solve this. On Tue, May 12, 2015 at 11:04 AM, Naresh Yadav nyadav@gmail.com wrote: Thanks Andrew, You got my problem precisely But solutions you suggested may not work for me. In my API i get

Solr query which return only those docs whose all tokens are from given list

2015-05-11 Thread Naresh Yadav
Hi all, Also asked this here : http://stackoverflow.com/questions/30166116 For example i have SOLR docs in which tags field is indexed : Doc1 - tags:T1 T2 Doc2 - tags:T1 T3 Doc3 - tags:T1 T4 Doc4 - tags:T1 T2 T3 Query1 : get all docs with tags:T1 AND tags:T3 then it works and will give Doc2

Re: Solr query which return only those docs whose all tokens are from given list

2015-05-11 Thread Naresh Yadav
one), ie: tags:T1 tags:T2 tags:T3 -sujit On Mon, May 11, 2015 at 4:14 AM, Naresh Yadav nyadav@gmail.com wrote: Hi all, Also asked this here : http://stackoverflow.com/questions/30166116 For example i have SOLR docs in which tags field is indexed : Doc1 - tags:T1 T2 Doc2

Re: Need Debug Direction on Performance Problem

2015-01-19 Thread Naresh Yadav
Setup1 i.e 2 minutes. Actually first 50 thousand request it self is taking about a minute. May be i would need to see other things as pagination seems working better now. thanks for giving valuable suggestions. On Mon, Jan 19, 2015 at 11:20 AM, Naresh Yadav nyadav@gmail.com wrote: Toke

Re: Need Debug Direction on Performance Problem

2015-01-18 Thread Naresh Yadav
it to id last_id and get the first 50k docs (don't use start= for paging). This scales much better when scanning a large result set; you'll get constant time across the whole set instead of having it increase as you page deeper. -Mike On 1/18/2015 7:45 AM, Naresh Yadav wrote: Hi Toke

Re: Need Debug Direction on Performance Problem

2015-01-18 Thread Naresh Yadav
units in post. Thanks Naresh On Sun, Jan 18, 2015 at 4:19 PM, Toke Eskildsen t...@statsbiblioteket.dk wrote: Naresh Yadav [nyadav@gmail.com] wrote: In both setups, we are reading in batches of 50k and each batch taking Setup1 : approx 7 seconds and for completing all batches of total 10

Re: Need Debug Direction on Performance Problem

2015-01-17 Thread Naresh Yadav
batch size also 10k, 1lakh but no gain in total time taken in Setup2. Thanks Naresh On Sun, Jan 18, 2015 at 6:45 AM, Andrew Butkus andrew.but...@c6-intelligence.com wrote: shard.info=true Sent from my iPhone On 17 Jan 2015, at 04:23, Naresh Yadav nyadav@gmail.com wrote: Hi all

Re: Solr groups not matching with terms in a field

2015-01-16 Thread Naresh Yadav
with keyword tokenizer. Ahmet On Friday, January 16, 2015 4:43 AM, Naresh Yadav nyadav@gmail.com wrote: 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

Re: Solr groups not matching with terms in a field

2015-01-16 Thread Naresh Yadav
easy with facet component. Example : facet=truefacet.field=tenant_poolq=type:1 Please see more here : https://cwiki.apache.org/confluence/display/solr/Faceting happy faceting, ahmet On Friday, January 16, 2015 10:13 AM, Naresh Yadav nyadav@gmail.com wrote: Hi ahmet, Thanks, now i

Re: Solr groups not matching with terms in a field

2015-01-16 Thread Naresh Yadav
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 nyadav@gmail.com wrote: I tried facetting also but not worked smoothly for me. Case i had mentioned in email is dummy one and my

Need Debug Direction on Performance Problem

2015-01-16 Thread Naresh Yadav
Hi all, We have single solr index with 3 fixed fields(on of field is tokenized with space) and rest dynamic fields(string fields in range of 10-20). Current size of index is 2 GB with around 12 lakh docs and solr nodes are of 4 core, 16 gb ram linux machines. Writes performance is good then we

Re: Solr groups not matching with terms in a field

2015-01-15 Thread Naresh Yadav
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 nyadav@gmail.com 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 :

Re: Solr grouping problem - need help

2015-01-14 Thread Naresh Yadav
as my problem is changed completely from first post so i had created new thread for that. On Wed, Jan 14, 2015 at 7:31 PM, Naresh Yadav nyadav@gmail.com wrote: just wanted to share schema and results for same : solr version : 4.6.1 Schema : http://www.imagesup.net/?di=10142124357616

Re: Solr grouping problem - need help

2015-01-14 Thread Naresh Yadav
Please help me on this problem where no of groups are not matching with no of terms which is expected behaviour acc to me. Please give direction on this problem. On Wed, Jan 14, 2015 at 5:24 PM, Naresh Yadav nyadav@gmail.com wrote: I tried what you said also appended group.ngroups=true

Re: Solr grouping problem - need help

2015-01-14 Thread Naresh Yadav
that should help. Best, Erick On Tue, Jan 13, 2015 at 9:00 AM, Naresh Yadav nyadav@gmail.com wrote: Erick, my schema is same no change in that.. *Schema :* field name=tenant_pool type=text stored=true/ my guess is i had not mentioned indexed true or falsemay be default

Re: Solr grouping problem - need help

2015-01-14 Thread Naresh Yadav
I tried what you said also appended group.ngroups=true and got same result not expected onengroups coming is 1. i am on solr-4.6.1 single machine default setup. On Wed, Jan 14, 2015 at 4:43 PM, Norgorn lsunnyd...@mail.ru wrote: Can u get raw SOLR response? For me grouping works exactly

Solr grouping problem - need help

2015-01-13 Thread Naresh Yadav
*Schema :* field name=tenant_pool type=text stored=true/ *Code :* SolrQuery q = new SolrQuery().setQuery(*:*); q.set(GroupParams.GROUP, true); q.set(GroupParams.GROUP_FIELD, tenant_pool); *Data :* tenant_pool : Baroda Farms tenant_pool : Ketty Farms *Output coming :* groupValue=Farms, docs=2

Re: Solr grouping problem - need help

2015-01-13 Thread Naresh Yadav
, 2015 at 7:33 AM, Naresh Yadav nyadav@gmail.com wrote: *Schema :* field name=tenant_pool type=text stored=true/ *Code :* SolrQuery q = new SolrQuery().setQuery(*:*); q.set(GroupParams.GROUP, true); q.set(GroupParams.GROUP_FIELD, tenant_pool); *Data :* tenant_pool : Baroda

Re: Solr grouping problem - need help

2015-01-13 Thread Naresh Yadav
by making the field you want to group on be stored=false indexed=true type=string Best, Erick On Tue, Jan 13, 2015 at 5:09 AM, Naresh Yadav nyadav@gmail.com wrote: Hi jack, Thanks for replying, i am new to solr please guide me on this. I have many such columns in my schema so