Re: Facet search on a docvalue field in a multi shard collection

2013-09-23 Thread Trym R. Møller
looks like a JIRA to me, can you open one? Best, Erick On Mon, Sep 23, 2013 at 1:48 AM, "Trym R. Møller" wrote: Hi Erick Thanks for your input. I have retrieved and build the branch http://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_5 Doing the same setup as in my pre

Re: Facet search on a docvalue field in a multi shard collection

2013-09-23 Thread Trym R. Møller
coincidence? Significant work has been done about not requiring values for DocValues fields and stuff. Can you give a try on 4.x or the soon-to-be-released 4.5? Best, Erick On Sun, Sep 22, 2013 at 6:26 AM, "Trym R. Møller" wrote: Hi I have a problem doing facet search on a doc value fie

Facet search on a docvalue field in a multi shard collection

2013-09-22 Thread Trym R. Møller
Hi I have a problem doing facet search on a doc value field in a multi shard collection. Any ideas what I may be doing wrong? My Solr schema specifies fieldA as a docvalue type and I have created a two shard collection using Solr 4.4.0. When I do a facet search on fieldA with a "large" facet.

Facet search on a docvalue field in a multi shard collection

2013-09-22 Thread Trym R. Møller
Hi I have a problem doing facet search on a doc value field in a multi shard collection. Any ideas what I may be doing wrong? My Solr schema specifies fieldA as a docvalue type and I have created a two shard collection using Solr 4.4.0. When I do a facet search on fieldA with a "large" facet.

Re: SolrZKClient changed interface

2012-11-12 Thread Trym R. Møller
Can anyone verify that the jira has been created sensible? Thanks in advance. https://issues.apache.org/jira/browse/SOLR-4066 Best regards Trym Den 10-11-2012 00:54, Mark Miller skrev: Please file a JIRA issue for this change. - Mark On Nov 9, 2012, at 8:41 AM, Trym R. Møller wrote: Hi

SolrZKClient changed interface

2012-11-09 Thread Trym R. Møller
Hi The constructor of SolrZKClient has changed, I expect to ensure clean up of resources. The strategy is as follows: connManager = new ConnectionManager(...) try { ... } catch (Throwable e) { connManager.close(); throw new RuntimeException(); } try { connManager.waitForConnec

Tuning DirectUpdateHandler2.addDoc

2012-10-02 Thread Trym R. Møller
Hi I have been profiling SolrCloud when indexing into a sharded non-replica collection because indexing slows down when the index files (*.fdt) grows to a couple of GB (the largest is about 3.5GB). When profiling for a couple of minutes I see that most time is spend in the DirectUpdateHandle

Understanding autoSoftCommit

2012-09-24 Thread Trym R. Møller
Hi On my windows workstation I have tried to index a document into a SolrCloud instance with the following "special" configuration: 120 60 ... ${solr.data.dir:} That is commit every 20 minutes and soft commit every 10 minutes. Rig

Re: ramBufferSizeMB

2012-09-20 Thread Trym R. Møller
ed that my Lucene index segment files would be a bit bigger than 1KB Is this a typo? The 512 is specifying MB.. Best Erick On Wed, Sep 19, 2012 at 6:01 AM, "Trym R. Møller" wrote: Hi Using SolrCloud I have added the following to solrconfig.xml (actually the node in zookeeper)

ramBufferSizeMB

2012-09-19 Thread Trym R. Møller
Hi Using SolrCloud I have added the following to solrconfig.xml (actually the node in zookeeper) 512 After that I expected that my Lucene index segment files would be a bit bigger than 1KB as I'm indexing very small documents Enabling the infoStream I see a lot of "flush at getReader" (on

Solr zk client stopping sending data

2012-07-25 Thread Trym R. Møller
Hi Running a Solr cloud cluster after a while a Solr looses its connection to its ZooKeeper cluster as seen in the ZooKeeper log below. The Solr reconnects to another ZooKeeper in the ZK cluster and the only thing seen in the Solr log (running warning level) is a newly programmatic created co

RecoveryStrategy overseer session expired

2012-07-23 Thread Trym R. Møller
Hi Running SolrCloud with a Solr loosing its zookeeper connection while having a replica I see the below log message repeatedly and the shard never recovers. The Solr has successfully reconnected to ZooKeeper and ZooKeeper is running fine. I know that the cause is the loss of the ZooKeeper con

Re: shard connection timeout

2012-07-23 Thread Trym R. Møller
Hi Jason We are running with -XX:MaxGCPauseMillis=5000 as well, which might also help you. Best regards Trym Den 11-07-2012 07:55, Jason skrev: Actually we got this error when remote server is executing garbage collecting and that time is over about 1 minute. Solr server sometimes is frozen

Re: LeaderElection bugfix

2012-06-27 Thread Trym R. Møller
e that the number of logs doubles for each call to containerMap.get(replicaPort).getZkController().getZkClient().getSolrZooKeeper().pauseCnxn(2000); Best regards Trym Den 27-06-2012 10:14, "Trym R. Møller" skrev: Hi Sami Thanks for your rapid reply. Regarding 1) This seems to be time

Re: LeaderElection bugfix

2012-06-27 Thread Trym R. Møller
Best regards Trym Den 27-06-2012 10:06, Sami Siren skrev: On Wed, Jun 27, 2012 at 10:32 AM, "Trym R. Møller" wrote: Hi Hi, The behaviour of this can be verified using the below test in the org.apache.solr.cloud.LeaderElectionIntegrationTest Can you reproduce the failure in your

LeaderElection bugfix

2012-06-27 Thread Trym R. Møller
Hi In Solr Cloud when a Solr looses its ZooKeeper connection e.g. because of a session timeout the LeaderElector ZooKeeper Watchers handling its replica slices are notified with two events: a Disconnected and a SyncConnected event. Currently the org.apache.solr.cloud.LeaderElector#checkIfIamLe

LeaderElection

2012-06-21 Thread Trym R. Møller
Hi Messing with behaviour when Solr looses its ZooKeeper connection I'm trying to reproduce how a replica slice gets leader. I have made the below unit test in the LeaderElectionTest class which fails. I don't know if this simulates how Solr uses the LeaderElection class but please comment on

Search request on Solr Cloud

2012-06-01 Thread Trym R. Møller
Hi I would like to execute the following query on Solr trunk (cloud): http://localhost:8983/solr/select?collection=myCollection&q=*%3A*&start=0&rows=10&wt=xml but it fails with a http 404 error. 1.

Re: Programmatic create core

2012-05-07 Thread Trym R. Møller
2 17:33, Mark Miller skrev: Thanks - I'll fix that retry count issue right now. When you go to the admin UI and look at the zookeeper nodes, what is listed under config? I'll add the config names found to that error message. - Mark On Mon, May 7, 2012 at 2:12 AM, "Trym R. Mølle

Programmatic create core

2012-05-06 Thread Trym R. Møller
Hi On Solr trunk I am trying to create a new core using the following code: CoreAdminRequest.Create req = new CoreAdminRequest.Create(); req.setCoreName(shardName); req.setInstanceDir(instanceDir); req.setDataDir(dataDir); req.setCollection(collectionName);

Understanding RecoveryStrategy

2012-05-04 Thread Trym R. Møller
ommit(); Thanks in advance for any input. Best regards Trym R. Møller Apr 21, 2012 10:14:11 AM org.apache.solr.common.SolrException log SEVERE: Error while trying to recover:org.apache.solr.client.solrj.SolrServerException: http://myIP:8983/solr/myShardId

Re: Solr hanging

2012-04-25 Thread Trym R. Møller
Hi Chris Hostetter Does that mean, that the last two questions I have posted hasn't reached the mailing list? Best regards Trym Den 25-04-2012 19:58, Chris Hostetter skrev: : Subject: Solr hanging : References:<31fdac6b-c4d9-4383-865d-2faca0f09...@geekychris.com> : : In-Reply-To: : https://

Recover - Read timed out

2012-04-24 Thread Trym R. Møller
Hi I experience that a Solr looses its connection with Zookeeper and re-establish it. After Solr is reconnection to Zookeeper it begins to recover its replicas. It has been missing the connection approximately 10 seconds and meanwhile the leader slice has received some documents (maybe about

Recovery - too many updates received since start

2012-04-24 Thread Trym R. Møller
Hi I experience that a Solr looses its connection with Zookeeper and re-establish it. After Solr is reconnection to Zookeeper it begins to recover. It has been missing the connection approximately 10 seconds and meanwhile the leader slice has received some documents (maybe about 1000 document

Re: Solr Hanging

2012-04-23 Thread Trym R. Møller
aders and 28 replicas distributed fairly on the Solrs (8 cores on each Solr). Thanks for any input. Best regards Trym Den 19-04-2012 14:36, Yonik Seeley skrev: On Thu, Apr 19, 2012 at 4:25 AM, "Trym R. Møller" wrote: Hi I am using Solr trunk and have 7 Solr instances running with

Re: Solr Hanging

2012-04-19 Thread Trym R. Møller
I might be able to restart with a setup where each Solr instances only contains a single core (a leader or a replica). Best regards Trym Den 19-04-2012 14:36, Yonik Seeley skrev: On Thu, Apr 19, 2012 at 4:25 AM, "Trym R. Møller" wrote: Hi I am using Solr trunk and have 7 Solr insta

Solr Hanging

2012-04-19 Thread Trym R. Møller
Hi I am using Solr trunk and have 7 Solr instances running with 28 leaders and 28 replicas for a single collection. After indexing a while (a couple of days) the solrs start hanging and doing a thread dump on the jvm I see blocked threads like the following: Thread 2369: (state = BLOCKED)

Solr hanging

2012-04-18 Thread Trym R. Møller
Hi I am using Solr trunk and have 7 Solr instances running with 28 leaders and 28 replicas for a single collection. After indexing a while (a couple of days) the solrs start hanging and doing a thread dump on the jvm I see blocked threads like the following: Thread 2369: (state = BLOCKED)