Re: solrj patch to COMMIT with xml

2008-01-17 Thread Ryan McKinley
Did adding a request handler to /update fix your issue? I added some docs to: http://wiki.apache.org/solr/Solrj And a warning message to the deprecated SolrUpdateServlet: http://svn.apache.org/viewvc?view=revrevision=612896 ryan Keene, David wrote: Running under tomcat 5.5.23 Sending the

RE: solrj patch to COMMIT with xml

2008-01-17 Thread Keene, David
Yes, that did it. I'm sorry about the trouble! -Original Message- From: Ryan McKinley [mailto:[EMAIL PROTECTED] Sent: Thursday, January 17, 2008 10:01 AM To: solr-dev@lucene.apache.org Subject: Re: solrj patch to COMMIT with xml Did adding a request handler to /update fix your issue

RE: solrj patch to COMMIT with xml

2008-01-16 Thread Keene, David
INFO: {add=[QAQA12-QAQA1_CN-0001]} 0 5 -Original Message- From: Ryan McKinley [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 15, 2008 3:22 PM To: solr-dev@lucene.apache.org Subject: Re: solrj patch to COMMIT with xml

Re: solrj patch to COMMIT with xml

2008-01-16 Thread Ryan McKinley
, January 15, 2008 3:22 PM To: solr-dev@lucene.apache.org Subject: Re: solrj patch to COMMIT with xml org.apache.solr.update.processor.LogUpdateProcessor finish INFO: {add=[QAQA12-QAQA1_CN-0001]} 0 7 That is what you get when you call: client.add( docs ) but what do you see when

RE: solrj patch to COMMIT with xml

2008-01-16 Thread Keene, David
: Ryan McKinley [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 16, 2008 10:45 AM To: solr-dev@lucene.apache.org Subject: Re: solrj patch to COMMIT with xml what servlet container? what happens when you call the URL directly (without solrj)? It should log *something* ryan Keene, David wrote

Re: solrj patch to COMMIT with xml

2008-01-16 Thread Ryan Mckinley
: Wednesday, January 16, 2008 10:45 AM To: solr-dev@lucene.apache.org Subject: Re: solrj patch to COMMIT with xml what servlet container? what happens when you call the URL directly (without solrj)? It should log *something* ryan Keene, David wrote: When I call client.commit() (with the svn

Re: solrj patch to COMMIT with xml

2008-01-15 Thread Ryan McKinley
Are you hitting a 1.2 solr index? Using ?commit=true assumes you are hitting a 1.3 index... The reason for it is so you can optionally add docs and commit in one call. ryan Keene, David wrote: Hey guys, I'm not sure why, but the solrj client relies on commit=true on the querystring

RE: solrj patch to COMMIT with xml

2008-01-15 Thread Keene, David
( docs ); UpdateResponse commitResponse = client.commit(); Is there a way to make the client.add(docs) connection add a commit? -Original Message- From: Ryan McKinley [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 15, 2008 12:54 PM To: solr-dev@lucene.apache.org Subject: Re: solrj patch

Re: solrj patch to COMMIT with xml

2008-01-15 Thread Ryan McKinley
: Ryan McKinley [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 15, 2008 12:54 PM To: solr-dev@lucene.apache.org Subject: Re: solrj patch to COMMIT with xml Are you hitting a 1.2 solr index? Using ?commit=true assumes you are hitting a 1.3 index... The reason for it is so you can optionally add

RE: solrj patch to COMMIT with xml

2008-01-15 Thread Keene, David
); return req.process(this); } So there is no way to get at the action of that request. -Original Message- From: Ryan McKinley [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 15, 2008 1:19 PM To: solr-dev@lucene.apache.org Subject: Re: solrj patch to COMMIT with xml hymm - with 1.3

Re: solrj patch to COMMIT with xml

2008-01-15 Thread Ryan McKinley
:[EMAIL PROTECTED] Sent: Tuesday, January 15, 2008 1:19 PM To: solr-dev@lucene.apache.org Subject: Re: solrj patch to COMMIT with xml hymm - with 1.3, the standard solrj should work without issue. What do the logs say when you call commit? What container are you running?I have tested

RE: solrj patch to COMMIT with xml

2008-01-15 Thread Keene, David
Subject: Re: solrj patch to COMMIT with xml right - there are two ways to work with solrj 1. use the standard functions available in SolrServer 2. make your own SolrRequest and call 'process' http://wiki.apache.org/solr/Solrj Calling client.add( docs ) is option 1, the example I sent is option 2

Re: solrj patch to COMMIT with xml

2008-01-15 Thread Ryan McKinley
org.apache.solr.update.processor.LogUpdateProcessor finish INFO: {add=[QAQA12-QAQA1_CN-0001]} 0 7 That is what you get when you call: client.add( docs ) but what do you see when you call: client.commit()? It seems to me that if a user does option 1: client.add(docs) they