Re: SolrCloud - ClusterState says we are the leader,but locally ...

2013-02-02 Thread Mark Miller
Do you see anything about session expiration in the logs? That is the likely culprit for something like this. You may need to raise the timeout: http://wiki.apache.org/solr/SolrCloud#FAQ If you see no session timeouts, I don't have a guess yet. - Mark On Feb 2, 2013, at 7:35 PM, Marcin Rzewuck

Re: SolrCloud - ClusterState says we are the leader,but locally ...

2013-02-02 Thread Marcin Rzewucki
I'm experiencing same problem in Solr4.1 during bulk loading. After 50 minutes of indexing the following error starts to occur: INFO: [core] webapp=/solr path=/update params={} {} 0 4 Feb 02, 2013 11:36:15 PM org.apache.solr.common.SolrException log SEVERE: org.apache.solr.common.SolrException: Cl

Re: Thoughts on production deployment?

2013-02-02 Thread Scott Stults
There's an RPM project on GitHub that comes close: https://github.com/boogieshafer/jetty-solr-rpm On Fri, Feb 1, 2013 at 6:19 AM, Michael Della Bitta < michael.della.bi...@appinions.com> wrote: > When I was referring to the "different version of Jetty," I meant Jetty > Plus, which the wiki men

Re: Is it possible to manually select a shard leader in a running SolrCloud?

2013-02-02 Thread Joseph Dale
To be more clear lets say bob it the leader of core 1. On bob do a /admin/cores?action=unload&name=core1. This removes the core/shard from bob, giving the other servers a chance to grab leader props. -Joey On Feb 2, 2013, at 11:27 AM, Brett Hoerner wrote: > Hi, > > I have a 5 server cluster

Re: Is it possible to manually select a shard leader in a running SolrCloud?

2013-02-02 Thread Joseph Dale
Unload the cores you want on the leader. (Using the cores api, not the collections api). That will force a leader election, afterwards simply readd them. -Joey On Feb 2, 2013, at 11:27 AM, Brett Hoerner wrote: > Hi, > > I have a 5 server cluster running 1 collection with 20 shards, replicati

Re: Is it possible to manually select a shard leader in a running SolrCloud?

2013-02-02 Thread Brett Hoerner
As an update, it looks like the heavy load is in part because the node never "catches back up" with the other nodes. In SolrCloud UI it was yellow for a long time, then eventually grey, then back to yellow and orange. It never recovers as green. I should note this collection is very busy, indexing

Re: Solr 4.1 UI fail to display result

2013-02-02 Thread J Mohamed Zahoor
It works In chrome though... ./Zahoor@iPhone On 02-Feb-2013, at 4:34 PM, J Mohamed Zahoor wrote: >> >> I'm not sure why .. but this sounds like the JSON Parser was called with an >> HTML- or XML-String? After you hit the "Execute" Button on the Website, on >> the top of the right content-are

Is it possible to manually select a shard leader in a running SolrCloud?

2013-02-02 Thread Brett Hoerner
Hi, I have a 5 server cluster running 1 collection with 20 shards, replication factor of 2. Earlier this week I had to do a rolling restart across the cluster, this worked great and the cluster stayed up the whole time. The problem is that the last node I restarted is now the leader of 0 shards,

Re: Nested function query must use ....

2013-02-02 Thread Uwe Reh
Hi Jack thanks a lot for the hint. Am 02.02.2013 00:46, schrieb Jack Krupansky: I've updated the example on the Function Query wiki that you may have copied: http://wiki.apache.org/solr/FunctionQuery#exists Thanks again, because the wiki page was really my start point. Uwe

Re: Join across cores on same shard.

2013-02-02 Thread Yonik Seeley
On Sat, Feb 2, 2013 at 5:49 AM, Marcin Rzewucki wrote: > I meant I get fields from parent core only. Is it possible to get fields > from both cores using join query? Not yet. Joins are currently only for filtering. -Yonik http://lucidworks.com

Re: Solr 4.1 UI fail to display result

2013-02-02 Thread J Mohamed Zahoor
> > I'm not sure why .. but this sounds like the JSON Parser was called with an > HTML- or XML-String? After you hit the "Execute" Button on the Website, on > the top of the right content-area, there is a link - which is what the UI > will request .. if you open that in another browser-tab or w

Re: Join across cores on same shard.

2013-02-02 Thread Marcin Rzewucki
I meant I get fields from parent core only. Is it possible to get fields from both cores using join query? On 1 February 2013 23:36, Marcin Rzewucki wrote: > Thanks Yonik. I see no errors now. Is it possible to get fields from both > cores for returned results ? > > > > On 1 February 2013 21:53,