Re: solr 5.x on glassfish/tomcat instead of jetty

2015-05-22 Thread TK Solr
On 5/21/15, 5:26 AM, Steven White wrote: Hi TK, Can you share the thread you found on this WAR topic? Steve, Actually, that was my mistake. I still don't know why WARs are bad. In the thread Solr 5.0, Jetty and WAR, which you started and are familiar with,

Re: Indexing gets significantly slower after every batch commit

2015-05-22 Thread Angel Todorov
Thanks for the feedback guys. What i am going to try now is deploying my SOLR server on a physical machine with more RAM, and checking out this scenario there. I have some suspicion it could well be a hypervisor issue, but let's see. Just for the record - I've noticed those issues on a Win 2008R2

How can I parse the TermVectorComponent response in SolrJ

2015-05-22 Thread Majid Laali
Hi, I have a java program that sends a query to solr and get the term vector of a document. Something like this: SolrQuery solrQuery = new SolrQuery(); solrQuery.setRequestHandler(/tvrh); solrQuery.setQuery(id: + id); solrQuery.setParam(fl, textField); solrQuery.setParam(tv.tf, true);

Multivalued OR query with equal score/rankings when any one value matches

2015-05-22 Thread Troy Collinsworth
While trying to query a multivalued String field for multiple values, when any one value matches the score is higher for the lower value and lower for the higher. I swapped the value order and it had no affect so it isn't positional. I want the score to be the same irrespective of the value

Multivalued OR query with equal score/rankings when any one value matches

2015-05-22 Thread Troy Collinsworth
While trying to query a multivalued String field for multiple values, when any one value matches the score is higher for the lower value and lower for the higher. I swapped the value order and it had no affect so it isn't positional. I want the score to be the same irrespective of the value

Collections API - ADDREPLICA async

2015-05-22 Thread Ryan Steele
I accidentelly used the collections API to add a replica using async and specified a non-existent node. Is their a way to clear out this job from the async queue? Thanks, Ryan --- This email has been scanned

Re: SolrCloud Leader Election

2015-05-22 Thread Ryan Steele
Restarting the node cleared out the problem and everything recovered. Thanks! On 5/21/15 5:42 AM, Ramkumar R. Aiyengar wrote: This shouldn't happen, but if it does, there's no good way currently for Solr to automatically fix it. There are a couple of issues being worked on to do that

Re: Indexing gets significantly slower after every batch commit

2015-05-22 Thread Siegfried Goeschl
Hi Angel, a while ago I had issues with VMWare VM - somehow snapshots were created regularly which dragged down the machine. So I think is is a good idea to baseline the performance on physical box before moving to VMs, production boxes or whatever is thrown at you Cheers, Siegfried Goeschl

Re: Price Range Faceting Based on Date Constraints

2015-05-22 Thread alexw
That's awesome! Thanks David. By the way, I own a copy of your terrific book (Solr Enterprise Search Server) and am a big fan. Alex Wang Technical Architect Crossview, Inc. C: (647) 409-3066 aw...@crossview.com On Thu, May 21, 2015 at 11:40 PM, david.w.smi...@gmail.com [via Lucene]

how to start Solr from the IDE

2015-05-22 Thread Marius Grama
I'm new on the Solr project (and Angular as well) and started attaching patches to some of the issues from the project to get a better grasp on how Solr is working. I've recently done a minor patch in which I've done modifications on Angular pages and after changing some java classes and some html

Re: solr 5.x on glassfish/tomcat instead of jetty

2015-05-22 Thread Shawn Heisey
On 5/22/2015 12:46 AM, TK Solr wrote: On 5/21/15, 5:26 AM, Steven White wrote: Hi TK, Can you share the thread you found on this WAR topic? Steve, Actually, that was my mistake. I still don't know why WARs are bad. In the thread Solr 5.0, Jetty and WAR, which you started and are

Re: solr 5.x on glassfish/tomcat instead of jetty

2015-05-22 Thread Upayavira
Well, given you, Shawn, did the hard bit and created the page, I've taken the liberty to populate it, based upon that link you gave and my own understanding. Feel free to edit/replace/whatever. Upayavira On Fri, May 22, 2015, at 03:28 PM, Shawn Heisey wrote: On 5/22/2015 12:46 AM, TK Solr

Re: Indexing gets significantly slower after every batch commit

2015-05-22 Thread Shawn Heisey
On 5/22/2015 3:15 AM, Angel Todorov wrote: Thanks for the feedback guys. What i am going to try now is deploying my SOLR server on a physical machine with more RAM, and checking out this scenario there. I have some suspicion it could well be a hypervisor issue, but let's see. Just for the

Re: Index optimize runs in background.

2015-05-22 Thread Upayavira
On Fri, May 22, 2015, at 03:55 PM, Shawn Heisey wrote: On 5/21/2015 6:21 AM, Modassar Ather wrote: I am using Solr-5.1.0. I have an indexer class which invokes cloudSolrClient.optimize(true, true, 1). My indexer exits after the invocation of optimize and the optimization keeps on running

Re: how to start Solr from the IDE

2015-05-22 Thread Upayavira
On Fri, May 22, 2015, at 03:33 PM, Marius Grama wrote: I'm new on the Solr project (and Angular as well) and started attaching patches to some of the issues from the project to get a better grasp on how Solr is working. I've recently done a minor patch in which I've done modifications on

Re: Index optimize runs in background.

2015-05-22 Thread Shawn Heisey
On 5/21/2015 6:21 AM, Modassar Ather wrote: I am using Solr-5.1.0. I have an indexer class which invokes cloudSolrClient.optimize(true, true, 1). My indexer exits after the invocation of optimize and the optimization keeps on running in the background. Kindly let me know if it is per design

Re: Reindex of document leaves old fields behind

2015-05-22 Thread tuxedomoon
This is fixed. My SolrJ client was putting a JSON object into a multivalued field in the SolrInputDocument. Solr returned a 0 status code but did not add the bad object, instead it performed what looks like an atomic index as described above. Once I removed the illegal JSON object from the

Re: how to start Solr from the IDE

2015-05-22 Thread Erick Erickson
As far as debugging the java is concerned, I don't ever start Solr in the IDE, just attach as a remote session from your IDE. This page has instructions for IntelliJ, Eclipse and Netbeans although this last is sparse: https://wiki.apache.org/solr/HowToContribute. I've just updated the IntelliJ

Re: Index optimize runs in background.

2015-05-22 Thread Erick Erickson
Actually, I've recently seen very similar behavior in Solr 4.10.3, but involving hard commits openSearcher=true, see: https://issues.apache.org/jira/browse/SOLR-7572. Of course I can't reproduce this at will, sii. A unit test should be very simple to write though, maybe I can get to it