Re: How to replace a solr cloud node

2016-07-24 Thread vidit.asthana
This worked perfectly for me Erick. Thank you. -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-replace-a-solr-cloud-node-tp4287556p4288655.html Sent from the Solr - User mailing list archive at Nabble.com.

How to replace a solr cloud node

2016-07-17 Thread vidit.asthana
I have a 4 machine cluster with ~100 collections. Each collection has numShards=2 and replicationFactor=2. Data directory size of each node is ~120GB. One of my node is having some hardware issue, so I need to replace it. How can I do that without taking whole cluster down. IP of new node will

SolrJ commit with openSearcher=false

2015-03-31 Thread vidit.asthana
How can I issue a hard commit through SolrJ such that openSearcher=false? Also how can I issue same request through http? Will this work - curl http://localhost:8983/solr/collection1/update?commit=trueopenSearcher=false; -- View this message in context:

Re: SolrJ commit with openSearcher=false

2015-03-31 Thread vidit.asthana
Thanks for reply Shawn. I will try it out. The reason that I am forced to do a hard commit through code is to handle a problem I am facing with transaction logs. I am forced to delete tlogs manually at regular interval and hence I want to issue a hard commit before deleting them to ensure that

Re: Solr tlog and soft commit

2015-03-17 Thread vidit.asthana
Should I open a JIRA, in case there is no explanation of why all of a sudden transaction logs start piling up for some shard/replica? I have provided very detailed explanation in a different thread: http://lucene.472066.n3.nabble.com/Transaction-logs-not-getting-deleted-td4184635.html Also can

Re: Solr tlog and soft commit

2015-03-16 Thread vidit.asthana
Can someone please reply to these questions? Thanks in advance. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-tlog-and-soft-commit-tp4193105p4193311.html Sent from the Solr - User mailing list archive at Nabble.com.

Solr tlog and soft commit

2015-03-15 Thread vidit.asthana
I want to know what all thing gets written to index from tlog directory whenever a soft commit is issued. I have a test SolrCloud setup and I can see that even if I disable the hardcommit, and if I only issue soft commits, then also index directory keeps increasing little by little, so I am

Re: Solr tlog and soft commit

2015-03-15 Thread vidit.asthana
Thanks for reply Yonik. I am very new to solrcloud and trying to understand how the update requests are handled and what exactly happens at file system level. 1. So lets say I send an update request, and I don't issue any type of commit(neither hard nor soft), so will the document ever touch

Re: Solr tlog and soft commit

2015-03-15 Thread vidit.asthana
Thanks Eric. Its super helpful! So here's my understanding so far: 1. On update, write the doc to tlog(which will be used only for recovery) 2. As soon as the docs size becomes greater than ramBufferSize, flush it to the latest segment inside the index directory. 3. Upto this point, even though

Re: Solr tlog and soft commit

2015-03-15 Thread vidit.asthana
Its for both. I am facing some problem, and I want to get to the root of it by understanding what happens when we issue an update. The problem I am facing is that sometimes, old transaction logs are not getting deleted for my solr cloud setup for one or two replicas, no matter how many times I do

Transaction logs not getting deleted

2015-02-08 Thread vidit.asthana
Dear Experts, I have a solrcloud setup - 8 machines, 7 collections(replicationFactor=2, numShards=8). Transaction log for one of the replica of a collection is not getting deleted and has grown to ~4GB. Here's the stats for this collection: *Solr Version:* 4.10.0 *NumDocs:* 33.5 million

Mismatch in numFound in q=*:* query

2014-10-12 Thread vidit.asthana
Dear Experts, I have a strange problem where select q=*:* is returning different number of documents. Sometime its returning numFound = 5866712 and sometimes it returns numFound = 5852274. *numFound is always one of these 2 values.* Here is the query:

Solr - Analyzer for Kannada language

2014-09-08 Thread vidit.asthana
Is there any open source or commercial analyzer for Kannada language? If anyone have experience with indexing Kannada documents, please share the relevant information. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Analyzer-for-Kannada-language-tp4157382.html Sent

Merge two collections in SolrCloud

2014-07-13 Thread vidit.asthana
What is the best way to merge 2 collections into one? -- View this message in context: http://lucene.472066.n3.nabble.com/Merge-two-collections-in-SolrCloud-tp4146930.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Disable all caches in Solr

2014-07-08 Thread vidit.asthana
Thanks Chris. I understand this. But this test is to determine the *maximum* latency a query can have and hence I have disabled all caches. After disabling all caches in solrconfig, I was able to remove latency variation for a single query in most of the cases. But still *sort* queries are

Disable all caches in Solr

2014-07-01 Thread vidit.asthana
I want to run some query benchmarks, so I want to disable all type of caches in solr. I commented out filterCache, queryResultCache and documentCache in solrConfig.xml. I don't care about Result Window Size cause numdocs is 10 in all the cases. Are there any other hidden caches which I should

Re: Disable all caches in Solr

2014-07-01 Thread vidit.asthana
Yes, I have also commented newSearcher and firstSearcher queries in solrConfig.xml -- View this message in context: http://lucene.472066.n3.nabble.com/Disable-all-caches-in-Solr-tp4144933p4144935.html Sent from the Solr - User mailing list archive at Nabble.com.

Delete single field from solr index

2014-06-28 Thread vidit.asthana
Solr Experts, Is there a way to delete a single field from the index(without reindexing). Lets say i have documents like below: doc contentabab ababa /content data_typebh vsha sa/data_type /doc doc contentabab ababa /content data_typebh vsha sa/data_type /doc Now I

While creating collection in SolrCloud can we manually select machines(nodes)

2014-06-28 Thread vidit.asthana
I have a 4 machine cluster. I want to create a collection with 1 shard and 1 replica. So I only need 2 machines. Is there a way I can explicitly define the machines on which my new collection should be created. -- View this message in context: