Re: SOLRJ replace document

2013-10-19 Thread Brent Ryan
DataStax, either as an > official support ticket or as a question on StackOverflow. > > But, I do think the previous answer of avoiding the use of a Map object in > your document is likely to be the solution. > > > -- Jack Krupansky > > -----Original Message- From: Brent R

Re: SOLRJ replace document

2013-10-18 Thread Brent Ryan
rj ... Anyways, I've contacted support so lets see what they say. On Fri, Oct 18, 2013 at 5:51 PM, Shawn Heisey wrote: > On 10/18/2013 3:36 PM, Brent Ryan wrote: > >> My schema is pretty simple and has a string field called solr_id as my >> unique key. Once I get back to m

Re: SOLRJ replace document

2013-10-18 Thread Brent Ryan
My schema is pretty simple and has a string field called solr_id as my unique key. Once I get back to my computer I'll send some more details. Brent On Friday, October 18, 2013, Shawn Heisey wrote: > On 10/18/2013 2:59 PM, Brent Ryan wrote: > >> How do I replace a document in

Re: SOLRJ replace document

2013-10-18 Thread Brent Ryan
t;set" option for atomic > update is only used when you wish to selectively update only some of the > fields for a document, and that does require that the update log be enabled > using . > > -- Jack Krupansky > > -Original Message- From: Brent Ryan > Sent: F

SOLRJ replace document

2013-10-18 Thread Brent Ryan
How do I replace a document in solr using solrj library? I keep getting this error back: org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Atomic document updates are not supported unless is configured I don't want to do partial updates, I just want to replace it... Thanks

Re: SOLR grouped query sorting on numFound

2013-09-25 Thread Brent Ryan
u want, > except it sorts by the value of fields in the doc not numFound. > > this shouldn't be hard to do on the client though, but you'd > have to return all the groups... > > FWIW, > Erick > > On Tue, Sep 24, 2013 at 1:11 PM, Brent Ryan wrote: > > We

SOLR grouped query sorting on numFound

2013-09-24 Thread Brent Ryan
We ran into 1 snag during development with SOLR and I thought I'd run it by anyone to see if they had any slick ways to solve this issue. Basically, we're performing a SOLR query with grouping and want to be able to sort by the number of documents found within each group. Our query response from

Re: apache bench solr keep alive not working?

2013-09-10 Thread Brent Ryan
thanks guys. I saw this other post with curl and verified it working. I've also used apache bench for a bunch of stuff and keep-alive works fine with things like Java netty.io servers ... strange that tomcat isn't respecting the http protocol or headers There must be a bug in this version o

apache bench solr keep alive not working?

2013-09-10 Thread Brent Ryan
Does anyone know why solr is not respecting keep-alive requests when using apache bench? ab -v 4 -H "Connection: Keep-Alive" -H "Keep-Alive: 3000" -k -c 10 -n 100 " http://host1:8983/solr/test.solr/select?q=*%3A*&wt=xml&indent=true"; Response contains this and if you look at debug output you see

Re: CRLF Invalid Exception ?

2013-09-06 Thread Brent Ryan
For what it's worth... I just updated to solrj 4.4 (even though my server is solr 4.3) and it seems to have fixed the issue. Thanks for the help! On Fri, Sep 6, 2013 at 1:41 PM, Chris Hostetter wrote: > > : I'm not sure if this means there's a bug in the client library I'm using > : (solrj 4.3)

Re: CRLF Invalid Exception ?

2013-09-06 Thread Brent Ryan
Thanks. I realized there's an error in the ChunkedInputFilter... I'm not sure if this means there's a bug in the client library I'm using (solrj 4.3) or is a bug in the server SOLR 4.3? Or is there something in my data that's causing the issue? On Fri, Sep 6, 2013 at 1:02 PM, Chris Hostetter w

CRLF Invalid Exception ?

2013-09-06 Thread Brent Ryan
Has anyone ever hit this when adding documents to SOLR? What does it mean? ERROR [http-8983-6] 2013-09-06 10:09:32,700 SolrException.java (line 108) org.apache.solr.common.SolrException: Invalid CRLF at org.apache.solr.handler.loader.XMLLoader.load(XMLLoader.java:175) at org.apache.solr.handle