Re: Sold 4.10.4 dropping index on shutdown

2015-11-25 Thread Oliver Schrenk
es, post some content, commit, look again > at your index files, then shut down. What changes have you seen? Did the > commit 'take' and cause the files to be written? > > Upayavira > > On Mon, Nov 23, 2015, at 10:25 AM, Oliver Schrenk wrote: >> Yes. Hard comm

Re: Sold 4.10.4 dropping index on shutdown

2015-11-23 Thread Oliver Schrenk
son wrote: > > Did you commit after indexing and before shutting down? Even if you didn't, > I'm > still a bit surprised, but that's one possible explanation. > > But this is the first time I've seen this problem mentioned... > > Best, > Erick &g

Sold 4.10.4 dropping index on shutdown

2015-11-17 Thread Oliver Schrenk
Hi, since we upgraded our cluster from 4.7 to 4.10.4 we are experiencing issues. When shutting down the service (with a confirmed graceful shutdown in the logs), the index is dropped, with only one lonely `segments.gen` file left for each shard and all other files being deleted. There is no m

java.util.EmptyStackException during SPLITSHARD

2015-10-09 Thread Oliver Schrenk
Hi, trying to experiment with overcharging on our Solr 4.7.2 cluster and called SPLITSHARD command which after ~30 minutes of work failed with curl "http://solrhost:1234/solr/admin/collections?collection=acme&shard=shard1&action=SPLITSHARD"; 50083612901499elmar

Cost of having multiple search handlers?

2015-09-28 Thread Oliver Schrenk
Hi, I want to register multiple but identical search handler to have multiple buckets to measure performance for our different apis and consumers (and to find out who is actually using Solr). What are there some costs associated with having multiple search handlers? Are they neglible? Cheers,

Re: Is docValues required in Solr 5.x for distributed result grouping?

2015-09-24 Thread Oliver Schrenk
The error message looks a lot like this bug https://issues.apache.org/jira/browse/SOLR-7495 group.faceting is broken for numeric values. Does it mean that I have to enable docvalues for every field that I want to facet on? On 24 Sep 2015, at 17:02, Tomoko Uchida mailto:tomoko.uchida.1...@gma

Sold 5 Logging with log4j2 possible?

2015-07-10 Thread Oliver Schrenk
Hi, I see (1) that Solr 5 uses log4j1.2 for logging. As we have some bad experiences especially with the syslog implementation supplied by log4j we wanted to use log4j2 . Does anybody have experiences with using the log4j bridge (2)? Is it possible to switch? Cheers. Oliver (1) https://cwiki

FileNotFoundException, Error closing IndexWriter, Error opening new searcher

2014-09-10 Thread Oliver Schrenk
Hi, in the last few days we had some troubles with one of our clusters (5 machines each running 4.7.2 inside jetty container, no replication, Java 1.7.21). Two time we had troubles to restart one server (same machine) because of some FileNotFoundException. 1. First time: Stopping Solr while

Re: not getting any mails

2014-05-12 Thread Oliver Schrenk
Something still seems amiss. I unsubscribed from the mailing list and still get mails. On 11 May 2014, at 14:31, Ahmet Arslan wrote: > > > > Hi Amon, > > Its not just you. There was a general problem with Apache mailing lists. But > it is fixed now. > Please see for more info : https://bl

Get number of documents in a new (not visible) Searcher

2014-04-02 Thread Oliver Schrenk
Hi, We have a SolrCloud 4.7 cluster with five machines and index in a distributed fashion. When finished adding and deleting documents, we want to commit programmaticly and switch to a new searcher. But before doing that we want to make a final check that the number of documents have not chan

Get number of documents in a new (not visible) Searcher

2014-04-02 Thread Oliver Schrenk
Hi, We have a SolrCloud 4.7 cluster with five machines and index in a distributed fashion. When finished adding and deleting documents, we want to commit programmaticly and switch to a new searcher. But before doing that we want to make a final check that the number of documents have not chan

Re: replica reports recovery_failed but is considered the leader

2014-03-11 Thread Oliver Schrenk
Solr 4.7 On 11 Mar 2014, at 16:43, Erick Erickson wrote: > What version of Solr? There's been quite a bit of work > between various 4x versions. > > Erick > > On Tue, Mar 11, 2014 at 11:25 AM, Oliver Schrenk > wrote: >> Hi, >> >> After an u

replica reports recovery_failed but is considered the leader

2014-03-11 Thread Oliver Schrenk
Hi, After an unsuccessful indexing on a Solr Cloud cluster with four machines, were we experienced a lot of errors we are still trying to investigate, we found the cluster to be in a weird state. {"collection_v1":{ "shards":{ "shard1":{ "range":"8000-bf

zkHost configuration

2014-03-11 Thread Oliver Schrenk
Hi, I was wondering why there is the need to full specify all zookeeper hosts when starting up Solr. For example using java -Djetty.port=7574 -DzkHost=localhost:2181,zkhost1:2181,zkhost2:2181,zkhost3:2181 -jar start.jar Isn’t it enough to point to localhost:2181 and let the Zookeeper e

Re: SolrCloud 4.7: Overseer tries to delete a non-existing collection, throws exception and loops

2014-02-27 Thread Oliver Schrenk
to remove all entries of deleted collection manually on > clusterstate.json (if exists any). > > > -- > Yago Riveiro > Sent with Sparrow (http://www.sparrowmailapp.com/?sig) > > > On Thursday, February 27, 2014 at 10:42 AM, Oliver Schrenk wrote: > >> Hi,

SolrCloud 4.7: Overseer tries to delete a non-existing collection, throws exception and loops

2014-02-27 Thread Oliver Schrenk
Hi, Upgraded a small cluster from 4.3.1 to 4.7 in Solr Cloud mode. I deleted the old data, replaced the solr.xml with the example solr.xml with auto-discovery, but it seems there is still some old data somewhere, probably in Zookeeper that keep my machine from starting. It loops over the same

Re: SolrCloud: How to replicate shard of another machine for failover?

2014-02-26 Thread Oliver Schrenk
Hi, > Don't run multiple instances of Solr on one machine. Instead, run one > instance per machine and create the collection with the maxShardsPerNode > parameter set to 2 or whatever value you need. Ok. > Yet another whole separate discussion: You need three physical nodes for > a redundant z

Re: SolrCloud: How to replicate shard of another machine for failover?

2014-02-26 Thread Oliver Schrenk
> There is a round robin process when assigning nodes at cluster. If you want > to achieve what you want you should change your Solr start up order. Well that is just weird. To bring a cluster to a reproducible state, I have to bring the whole cluster down, and start it up again in a specific ord

Re: SolrCloud: How to replicate shard of another machine for failover?

2014-02-25 Thread Oliver Schrenk
Node=2&collection.configName=collection1 > > should fit what you're trying to accomplish. > > Thanks, > Greg > > On Feb 25, 2014, at 9:09 AM, Oliver Schrenk wrote: > >> Hi, >> >> tldr: I have troubles configuring SolrCloud 4.3.1 to replicate the s

SolrCloud: How to replicate shard of another machine for failover?

2014-02-25 Thread Oliver Schrenk
Hi, tldr: I have troubles configuring SolrCloud 4.3.1 to replicate the shard of another machine. Basically what it boils down is the question how to tell on solr instance to replicate the shard of another machine. I though that the system property `-Dshard=2` will do the trick but it doesn't do