Re: 2 VM setup for SOLRCLOUD?

2013-06-01 Thread Daniel Collins
Document updates will fail with less than the quorum of ZKs, so you won't be able to index anything when 1 server is down. Its the one area that always seems counter intuitive (to me at any rate), after all you have your 2 instances on 1 server, so you have all the shard data, logically you

Re: Shard Keys and Distributed Search

2013-06-01 Thread Daniel Collins
Yes it is doing a distributed search, Solr cloud will do that by default unless you say distrib=false. My understanding of Solr's Load balancer is that it picks a random instance from the list of available instances serving each shard. So in your example: 1. Query comes in to Server 1,

Re: installing configuring solr over ms sql server - tutorial needed

2013-06-01 Thread Mysurf Mail
My problem was with sql server. This http://danpincas.com/2013/03/03/searching-with-solr-part-1.html is a great step by step On Sat, Jun 1, 2013 at 2:06 AM, bbarani bbar...@gmail.com wrote: Why dont you follow this one tutorial to set the SOLR on tomcat..

Re: whole index in memory

2013-06-01 Thread Ramkumar R. Aiyengar
In general, just increasing the cache sizes to make everything fit in memory might not always give you best results. Do keep in mind that the caches are in Java memory and that incurs the penalty of garbage collection and other housekeeping Java's memory management might have to do. Reasonably

Custom Response Handler

2013-06-01 Thread vibhoreng04
Hi All, I have a requirement where I need to retrieve the candidates from the solr, do some calculation on the basis of the search result and return the calculated values along with the solr document. I am planning to use Custom Response Handlers for this . Anybody can guide me what will be the

Re: Custom Response Handler

2013-06-01 Thread Erik Hatcher
If the values are per document, a DocTransformer is probably the best hook point for you. If you're computing things across the results, a SearchComponent is perhaps the right fit. A RequestHandler or QueryResponseWriter are probably not the right fits for what you're trying to do, it sounds

Re: 2 VM setup for SOLRCLOUD?

2013-06-01 Thread Walter Underwood
Running ZK on all the cloud servers makes it very, very hard to add a new Solr node. You have to reconfigure every ZK server to do that. Manage the ZK cluster and the Solr cluster separately. I'm not sure it is worth configuring Solr Cloud if you are only going to run two servers. Instead, run

Estimating the required volume to

2013-06-01 Thread Mysurf Mail
Hi, I am just starting to learn about solr. I want to test it in my env working with ms sql server. I have followed the tutorial and imported some rows to the Solr. Now I have a few noob question regarding the benefits of implementing Solr on a sql environment. 1. As I understand, When I send a

Delta Import failing - DataImportHandler SOLR 4.2

2013-06-01 Thread PeriS
I have configured the delta query properly, but not sure why the DIH is throwing the following error; SEVERE: Delta Import Failed java.lang.RuntimeException: java.lang.NullPointerException at org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:266) at