Solr Core initialization failure while writing junit test cases

2019-07-27 Thread Bharath Kumar
Hi All, I am getting the below exception when trying to use EmbeddedServer for my junit test cases. I have given the correct path to the config files. I get the core failure even when using MiniSolrCloudCluster. The collection is created and then deleted because core is not there. Can you please

Re: Creating shard with core.properties

2019-02-01 Thread Bharath Kumar
, 2019 at 3:49 PM Shawn Heisey wrote: > On 1/30/2019 3:36 PM, Bharath Kumar wrote: > > Thanks Erick. We cleanup the zookeeper state on every installation, so > the > > zookeeper states are gone. So what should we do in case of a new 7.6 > > installation where we

Re: Creating shard with core.properties

2019-01-30 Thread Bharath Kumar
y indexing at this > time and should have issued a commit to the 6.1 or shut 6.1 down. > "corresponding replica" here is the replica with the same "range", but > in this case it doesn't matter since you only have one shard. > > Then use the collections ADDREPLICA command t

Creating shard with core.properties

2019-01-29 Thread Bharath Kumar
Hi All, I am trying to create a shard using solr 7.6.0 using just core.properties file (like auto-discovering the shard) with legacyCloud set to false. But i am getting an error message like below even though i specify the coreNodeName in the core.properties file:- "coreNodeName " + coreNodeName

Re: SOLR as nosql database store

2017-05-10 Thread Bharath Kumar
to solr and index some of them and so store only for others. On Wed, May 10, 2017 at 10:09 AM, Bharath Kumar <bharath.mvku...@gmail.com> wrote: > Yes Mike we have CDCR replication as well. > > On Wed, May 10, 2017 at 1:15 AM, Mike Drob <md...@apache.org> wrote: > &g

Re: SOLR as nosql database store

2017-05-10 Thread Bharath Kumar
e > > On Tue, May 9, 2017 at 6:39 AM, Shawn Heisey <apa...@elyograg.org> wrote: > > > On 5/9/2017 12:58 AM, Bharath Kumar wrote: > > > Thanks Hrishikesh and Dave. We use SOLR cloud with 2 extra replicas, > > will that not serve as backup when something goes

Re: SOLR as nosql database store

2017-05-10 Thread Bharath Kumar
Thanks Shawn and Rick for your suggestions. We will surely look at these options. On Tue, May 9, 2017 at 4:39 AM, Shawn Heisey <apa...@elyograg.org> wrote: > On 5/9/2017 12:58 AM, Bharath Kumar wrote: > > Thanks Hrishikesh and Dave. We use SOLR cloud with 2 extra replicas, > w

Re: SOLR as nosql database store

2017-05-09 Thread Bharath Kumar
rm sharding. > > > > Using solr as the nosql database is a good choice or should we look at > > Cassandra for our use case? > > > > Thanks, > > Bharath Kumar > > > > > > > > -- > > View this message in context: http://lucene.472066.n3.

Recovery failed in SOLR cloud - SOLR 6

2016-11-30 Thread Bharath Kumar
Hi All, We have an issue in production, where we have the SOLR cloud with 3 nodes and in that on one of the node is failing with the below error:- index fetcher error recovery failed 1 of 500 attempts no content received for file :tlog.0105987.1552 We have cdcr logging enabled, and

Re: How to re-index SOLR data

2016-08-10 Thread Bharath Kumar
; from SOLR "A" to SOLR "B" and having "B" reindex... > > > > This might serve as a starting point in that case... > > https://wiki.apache.org/solr/HowToReindex > > > > You'll note that there are limitations and a strong caveat against doing

Re: How to re-index SOLR data

2016-08-09 Thread Bharath Kumar
. > > To users, this could be seamless if you handle the load balancer correctly > and have it refuse new connections to the old servers while routing all new > connections to the new Solr servers... > > On Tue, Aug 9, 2016 at 3:04 PM, Bharath Kumar <bharath.mvku...@gmail.com>

Re: Unique key field type in solr 6.1 schema

2016-08-09 Thread Bharath Kumar
> > org.apache.solr.update.processor.DistributedUpdateProcessor. > versionDelete( > > DistributedUpdateProcessor.java:1495) > > at > > org.apache.solr.update.processor.CdcrUpdateProcessor.versionDelete( > > CdcrUpdateProcessor.java:85) > > > > Thanks,

Re: Solr DeleteByQuery vs DeleteById

2016-08-09 Thread Bharath Kumar
updates. > > It appears that on the replica side, there's an overhead of reordering > and > > executing the same DBQ over and over again, for consistency reasons. > > It ends up buffering many delete by queries and blocks all updates. > > In addition there's anoth

Re: How to re-index SOLR data

2016-08-09 Thread Bharath Kumar
Hi Nick and Shawn, Thanks so much for the pointers. I will try that out. Thank you again! On Tue, Aug 9, 2016 at 9:40 AM, Nick Vasilyev wrote: > Hi, I work on a python Solr Client > library and there is a > reindexing

Solr DeleteByQuery vs DeleteById

2016-08-08 Thread Bharath Kumar
Hi All, We are using SOLR 6.1 and i wanted to know which is better to use - deleteById or deleteByQuery? We have a program which deletes 10 documents every 5 minutes from the SOLR and we do it in a batch of 200 to delete those documents. For that we now use deleteById(List ids, 1) to

Unique key field type in solr 6.1 schema

2016-08-07 Thread Bharath Kumar
Hi All, I have an issue with cross data center replication, when we delete the document by id from the main site. The target site document is not deleted. I have the id field which is a unique field for my schema which is configured as "long". If i change the type to "string" it works fine. Is

CDCR delete document issue on target site

2016-08-06 Thread Bharath Kumar
Hi All, I am using the cdcr solution available in SOLR 6.1 and i have setup the cross data center replication on both the sites. When i add and update documents on the main site, the data is replicated to the target site with no issues. But when i delete a document on the main site, i see the

Re: SOLR war for SOLR 6

2016-07-13 Thread Bharath Kumar
Shawn stated. > > > > > On Sat, Jun 18, 2016 at 12:26 AM, Shawn Heisey <apa...@elyograg.org> > wrote: > > > On 6/16/2016 1:20 AM, Bharath Kumar wrote: > > > I was trying to generate a solr war out of the solr 6 source, but even > > > after i create th

Frange query apostrophe issue

2016-07-13 Thread Bharath Kumar
Hi All, I have a query - {!frange l=1}sum(product(termfreq(content,'hasn't'),1)) where the content field has keyword - "hasn't" with apostrophe and when provided with this query i get the below SOLR exception:- "msg":"org.apache.solr.search.SyntaxError: Expected ',' at position 35 in

SOLR war for SOLR 6

2016-06-16 Thread Bharath Kumar
Hi, I was trying to generate a solr war out of the solr 6 source, but even after i create the war, i was not able to get it deployed correctly on jboss. Wanted to know if anyone was able to successfully generate solr war and deploy it on tomcat or jboss? Really appreciate your help on this. --

Regarding threadPoolSize for cross center data replication

2016-06-15 Thread Bharath Kumar
Hi, I was trying to find what would be the best number of thread pool size that needs to be configured on the source site in solrconfig.xml for cross datacenter replication. We have one target replica and one shard, is it recommended to have more than one thread? If we have more than 1 thread,

Re: Regarding CDCR SOLR 6

2016-06-14 Thread Bharath Kumar
in case the target site is down and the transaction log size keeps growing on the source site. Is there any other recommended approach? Thanks again, your inputs were very helpful. On Tue, Jun 14, 2016 at 7:10 PM, Bharath Kumar <bharath.mvku...@gmail.com> wrote: > Hi Renaud, > > Th

Re: Regarding CDCR SOLR 6

2016-06-14 Thread Bharath Kumar
g > up your clusters and cdcr, you will be in one of these two scenarios, then > you can activate the buffer to be sure to not miss updates. Then when the > source and target clusters are properly up and cdcr replication is properly > started, you can turn off this buffer. > > -- >

Regarding CDCR SOLR 6

2016-06-13 Thread Bharath Kumar
Hi, I have setup cross data center replication using solr 6, i want to know why the buffer needs to be enabled on the source cluster? Even if the buffer is not enabled, i am able to replicate the data between source and target sites. What is the advantages of enabling the buffer on the source