Re: Concurrent Indexing and Searching in Solr.

2015-08-08 Thread Nitin Solanki
Thanks Erick for your suggestion. I will remove commit = true and use solr 5.2 and then get back to you again. For further help. Thanks. On Sat, Aug 8, 2015 at 4:07 AM Erick Erickson erickerick...@gmail.com wrote: bq: So, How much minimum concurrent threads should I run? I really can't answer

Re: Concurrent Indexing and Searching in Solr.

2015-08-08 Thread Upayavira
If you are using Python, then you can use urllib2, or requests which is reportedly better, or better still something like pysolr, which makes life simpler. Here's a Pull Request that makes pysolr Zookeeper aware, which'll help if you are using SolrCloud. I hope one day they will merge it:

Re: SolrJ update

2015-08-08 Thread Andrea Gazzarini
Hi Henrique, I don't believe there's an easy way to do that. As you noticed, the SolrInputDocument is not an I/O param, that is, it is not sent back once data has been indexed and this is good, because here you're sending just one document, but imagine what could happen if you do a bulk

Re: how to extend JavaBinCodec and make it available in solrj api

2015-08-08 Thread Dmitry Kan
Shalin, Thanks, can I also introduce custom entity tags like in my example with the highlighter output? Dmitry On Fri, Aug 7, 2015 at 5:10 PM, Shalin Shekhar Mangar shalinman...@gmail.com wrote: The thing is that you are trying to introduce custom xml tags which require changing the

Re: Streaming API running a simple query

2015-08-08 Thread Selvam
Hi, Thanks, good to know, in fact my requirement needs to merge multiple expressions, while current streaming expressions supports only two expression. Do you think we can expect that in future versions? On 07-Aug-2015 6:46 pm, Joel Bernstein joels...@gmail.com wrote: Hi, There is a new error

Re: Streaming API running a simple query

2015-08-08 Thread Joel Bernstein
Can you describe your use case? Joel Bernstein http://joelsolr.blogspot.com/ On Sat, Aug 8, 2015 at 7:36 AM, Selvam s.selvams...@gmail.com wrote: Hi, Thanks, good to know, in fact my requirement needs to merge multiple expressions, while current streaming expressions supports only two

Re: Streaming API running a simple query

2015-08-08 Thread Selvam
Hi, I needed to run a multiple subqueries each with its own limit of rows. For eg: to get 30 users from country India with age greater than 30 and 50 users from England who are all male. Thanks again. On 08-Aug-2015 5:30 pm, Joel Bernstein joels...@gmail.com wrote: Can you describe your use

Re: how to extend JavaBinCodec and make it available in solrj api

2015-08-08 Thread Shalin Shekhar Mangar
No, I'm afraid you will have to extend the XmlResponseWriter in that case. On Sat, Aug 8, 2015 at 2:02 PM, Dmitry Kan solrexp...@gmail.com wrote: Shalin, Thanks, can I also introduce custom entity tags like in my example with the highlighter output? Dmitry On Fri, Aug 7, 2015 at 5:10 PM,

Re: how to extend JavaBinCodec and make it available in solrj api

2015-08-08 Thread Shalin Shekhar Mangar
Or use the XsltResponseWriter :) On Sat, Aug 8, 2015 at 7:51 PM, Shalin Shekhar Mangar shalinman...@gmail.com wrote: No, I'm afraid you will have to extend the XmlResponseWriter in that case. On Sat, Aug 8, 2015 at 2:02 PM, Dmitry Kan solrexp...@gmail.com wrote: Shalin, Thanks, can I also

SolrCloud - Error getting leader from zk

2015-08-08 Thread Francisco Andrade
Hello there, Im getting these errors after an election: ERROR - 2015-08-08 13:51:05.035; org.apache.solr.cloud.ZkController; Error getting leader from zk org.apache.solr.common.SolrException: There is conflicting information about the leader of shard: shard1 our state

Re: SolrCloud - Error getting leader from zk

2015-08-08 Thread Shawn Heisey
On 8/8/2015 8:38 AM, Francisco Andrade wrote: Yesterday I had an issue where I needed to update the collection leader on the clusterstate.json editing the file in exhibitor. If i access the console through other nodes the leader showing is the right one. But it seems to me that the updated

Re: Streaming API running a simple query

2015-08-08 Thread Joel Bernstein
This sounds doable using nested merge functions like this: merge(search(...), merge(search(...), search(),...), ...) Joel Bernstein http://joelsolr.blogspot.com/ On Sat, Aug 8, 2015 at 8:08 AM, Selvam s.selvams...@gmail.com wrote: Hi, I needed to run a multiple subqueries each

Re: SolrCloud - Error getting leader from zk

2015-08-08 Thread Francisco Andrade
Hi Shawn, thanks for replying. My solr version is 4.9.0 at all nodes. I just figured out what was the problem. When I edited the clusterstate.json on exhibitor, I forgot to also edit the file located at: /collections collection_name leaders shard There is also a leader config on that file.

Re: docValues

2015-08-08 Thread Nagasharath
I am seeing a significant difference in the query time after using docValue. I am curious to know what's happening with 'docValue' included in the schema On 07-Aug-2015, at 4:31 pm, Shawn Heisey apa...@elyograg.org wrote: On 8/7/2015 11:47 AM, naga sharathrayapati wrote: JVM-Memory has gone

Re: docValues

2015-08-08 Thread Aman Tandon
Hi, I am seeing a significant difference in the query time after using docValue what kind of difference, is it good or bad? With Regards Aman Tandon On Sat, Aug 8, 2015 at 11:38 PM, Nagasharath sharathrayap...@gmail.com wrote: I am seeing a significant difference in the query time after

Re: docValues

2015-08-08 Thread Nagasharath
Good Sent from my iPhone On 08-Aug-2015, at 8:12 pm, Aman Tandon amantandon...@gmail.com wrote: Hi, I am seeing a significant difference in the query time after using docValue what kind of difference, is it good or bad? With Regards Aman Tandon On Sat, Aug 8, 2015 at 11:38 PM,

Re: docValues

2015-08-08 Thread Erick Erickson
Have you seen: https://cwiki.apache.org/confluence/display/solr/DocValues? What kind of speedup? How often are you committing? Is there a speed difference after a while or on the first few queries? Details matter a lot for questions like this. Best, Erick On Sat, Aug 8, 2015 at 6:22 PM,