Result grouping using externalfilefield

2014-09-19 Thread Sudhakar Maddineni
Hi, Just trying to understand grouping feature with solrcloud 4.2 and I have 4 node/2 shard cluster setup.I am trying to group my search results based on an externalfilefield that I defined. Here is my configuration: core1: == schema.xml: field name=core type=external stored=false

Re: Need to log query request before it is processed

2013-04-26 Thread Sudhakar Maddineni
. Cheers, Tim PS - I am so happy that Mark switched things to Log4J for 4.3 - https://issues.apache.org/jira/browse/SOLR-3706 +1x10 On Thu, Apr 25, 2013 at 5:44 PM, Sudhakar Maddineni maddineni...@gmail.com javascript:; wrote: HI Tim, Have you tried by enabling the logging levels

Re: Need to log query request before it is processed

2013-04-25 Thread Sudhakar Maddineni
HI Tim, Have you tried by enabling the logging levels on httpclient, which is used by solrj classes internally? Thx,Sudhakar. On Thu, Apr 25, 2013 at 10:12 AM, Timothy Potter thelabd...@gmail.comwrote: I would like to log query requests before they are processed. Currently, it seems they

Re: SolrJ Custom RowMapper

2013-04-25 Thread Sudhakar Maddineni
Hey Luis, Check this example in the source:TestDocumentObjectBinder https://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_4_2_1/solr/solrj/src/test/org/apache/solr/client/solrj/beans/TestDocumentObjectBinder.java Thx,Sudhakar. On Thu, Apr 25, 2013 at 7:56 AM, Luis Lebolo

Re: Solr Cloud 4.2 - Distributed Requests failing with NPE

2013-04-25 Thread Sudhakar Maddineni
Thank you Hoss for looking into it. -Sudhakar. On Thu, Apr 25, 2013 at 6:50 PM, Chris Hostetter hossman_luc...@fucit.orgwrote: : trace:java.lang.NullPointerException\r\n\tat : org.apache.solr.handler.component.HttpShardHandler.checkDistributed(HttpShardHandler.java:340)\r\n\tat :

Re: Solr Cloud 4.2 - Distributed Requests failing with NPE

2013-04-23 Thread Sudhakar Maddineni
, Apr 22, 2013 at 12:52 PM, Sudhakar Maddineni maddineni...@gmail.com wrote: Hi, We recently upgraded our solr version from 4.1 to 4.2 and started seeing below exceptions when running distributed queries: Any idea what we are missing here - http:// solr-host-1:8080/solr/core1/select?q=*%3A

Solr Cloud 4.2 - Distributed Requests failing with NPE

2013-04-22 Thread Sudhakar Maddineni
Hi, We recently upgraded our solr version from 4.1 to 4.2 and started seeing below exceptions when running distributed queries: Any idea what we are missing here - http:// solr-host-1:8080/solr/core1/select?q=*%3A*wt=jsonindent=trueshards=solr-host-1:8080/solr/core1 http://

Re: Rogue query killed several replicas with OOM, after recovering - match all docs query problem

2013-04-22 Thread Sudhakar Maddineni
We had encountered similar issue few days back with 4.0- Beta version. We have 6 node - 3 shard cluster setup.And, one of our replica servers[tomcat] was not responding to any requests because it reached the max no of the threads[200 -default]. To temporarily fix the issue, we had to restart the

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

2012-12-11 Thread Sudhakar Maddineni
. On Fri, Dec 7, 2012 at 3:16 PM, Sudhakar Maddineni maddineni...@gmail.com wrote: Erick: Not seeing any page caching related issues... Mark: 1.Would this waiting on 003(replica) cause any inconsistencies in the zookeeper cluster state? I was also looking at the leader(001) logs

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

2012-12-07 Thread Sudhakar Maddineni
. This is a bug that is fixed in 4.1 (hopefully coming very soon!): * SOLR-3940: Rejoining the leader election incorrectly triggers the code path for a fresh cluster start rather than fail over. (Mark Miller) - Mark On Dec 5, 2012, at 9:41 PM, Sudhakar Maddineni maddineni...@gmail.com wrote

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

2012-12-07 Thread Sudhakar Maddineni
*) *at* *org.apache.solr.cloud.Overseer$ClusterStateUpdater.amILeader*(*Overseer.java:195*) *at* *org.apache.solr.cloud.Overseer$ClusterStateUpdater.run*(*Overseer.java:119*) *at* *java.lang.Thread.run*(*Unknown* *Source*) Thx,Sudhakar. On Fri, Dec 7, 2012 at 3:16 PM, Sudhakar Maddineni

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

2012-12-05 Thread Sudhakar Maddineni
using solr version - 4.0 final. Thx, Sudhakar. On Wed, Dec 5, 2012 at 5:26 PM, Mark Miller markrmil...@gmail.com wrote: What Solr version - beta, alpha, 4.0 final, 4X or 5X? - Mark On Dec 5, 2012, at 4:21 PM, Sudhakar Maddineni maddineni...@gmail.com wrote: Hi, We are uploading solr

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

2012-12-05 Thread Sudhakar Maddineni
replicas and waiting for the second to come up. After a couple minutes (configurable) it will just continue anyway without the missing replica (if it doesn't show up). - Mark On Dec 5, 2012, at 4:21 PM, Sudhakar Maddineni maddineni...@gmail.com wrote: Hi, We are uploading solr documents

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

2012-12-05 Thread Sudhakar Maddineni
your clusterstate.json is not up to date at all. Have you tried restarting the cluster then? Does that help at all? Do you see any exceptions around zookeeper session timeouts? - Mark On Dec 5, 2012, at 4:57 PM, Sudhakar Maddineni maddineni...@gmail.com wrote: Hey Mark, Yes, I am

SolrCloud - replication factor

2012-10-04 Thread Sudhakar Maddineni
Hi, Appreciate if someone could provide some pointers/docx to find info about replication factor. I see that the replication factor was mentioned in the wiki doc: http://wiki.apache.org/solr/SolrCloud - Managing collections via the Collections API -

SolrCloud - Basic Auth - 401 error

2012-09-04 Thread Sudhakar Maddineni
Hi, I setup a two shard cluster using tomcat 6.0.35 with solr 4.0.0-BETA version and zookeeper 3.3.4. I wanted to secure the solr admin page and added a BASIC auth to the container so that all admin requests to the index will be protected.I did this by adding below security constraint tag in

Re: SolrCloud - Basic Auth - 401 error

2012-09-04 Thread Sudhakar Maddineni
, Sudhakar Maddineni maddineni...@gmail.com wrote: Hi, I setup a two shard cluster using tomcat 6.0.35 with solr 4.0.0-BETA version and zookeeper 3.3.4. I wanted to secure the solr admin page and added a BASIC auth to the container so that all admin requests to the index will be protected.I