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: solrconfig.xml: And, created empty file

Re: Need to log query request before it is processed

2013-04-26 Thread Sudhakar Maddineni
:52,717 [qtp1480462011-13] INFO solr.core.SolrCore > Q:20 - [solr_signal] webapp=/solr path=/select > params={indent=true&q=*:*&wt=xml} hits=25389931 status=0 QTime=172 > > The "Q:20" part is the NDC. > > Cheers, > Tim > > PS - I am so happy that Mark switche

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 wrote: > > : "trace":"java.lang.NullPointerException\r\n\tat > : > org.apache.solr.handler.component.HttpShardHandler.checkDistributed(HttpShardHandler.java:340)\r\n\tat > : > org.apache.solr.handler

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 wrote: > Hi Al

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 wrote: > I would like to log query requests before they are processed. > Currently, it seems they are only logged afte

Re: Solr Cloud 4.2 - Distributed Requests failing with NPE

2013-04-23 Thread Sudhakar Maddineni
uot;, "state":"active", "replicas":{"10.88.160.145:7574_solr_collection1":{ "shard":"shard2", "state":"active", "core":"collection1", &qu

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 se

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/core1/select?q=*%3A*&wt=json&indent=true&shards=/solr/core1 http:// /solr/core1/select?q=*%3A*&wt=json&indent=true&sha

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

2012-12-11 Thread Sudhakar Maddineni
Just an update on this issue: We tried by increasing zookeeper client timeout settings to 3ms in solr.xml (i think default is 15000ms), and haven't seen any issues from our tests. Thanks, Sudhakar. On Fri, Dec 7, 2012 at 4:55 PM, Sudhakar Maddineni wrote: > We saw this error aga

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

2012-12-07 Thread Sudhakar Maddineni
.java:241*) *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

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

2012-12-07 Thread Sudhakar Maddineni
; In fact, this waiting should not happen in this case - but only on cluster > restart. 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

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

2012-12-05 Thread Sudhakar Maddineni
s it's some kind of bug. > > Beyond that, something is off, but I have no clue why - it seems 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 ti

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

2012-12-05 Thread Sudhakar Maddineni
> at this point it was only finding one of 2 known 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, Sudha

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 wrote: > What Solr version - beta, alpha, 4.0 final, 4X or 5X? > > - Mark > > On Dec 5, 2012, at 4:21 PM, Sudhakar Maddineni > wrote: > > > Hi, > > We are uploadi

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 - http://localhost:8983/solr/admin/collections

Re: SolrCloud - Basic Auth - 401 error

2012-09-04 Thread Sudhakar Maddineni
Thanks Mark! > I changed the filter url pattern to {my core name}/admin/* instead of > /admin/* and it worked. -Sudhakar. On Tue, Sep 4, 2012 at 12:33 PM, Mark Miller wrote: > Don't protect /admin/cores or (admin/collections probably). > > On Tue, Sep 4, 2012 at 2:54 PM

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 web.