Re: Calling Solr requests from java code - examples?

2007-01-16 Thread Thorsten Scherler
On Tue, 2007-01-16 at 13:56 +0100, Bertrand Delacretaz wrote: > On 1/16/07, Thorsten Scherler <[EMAIL PROTECTED]> wrote: > > > ...Have a look at > > https://issues.apache.org/jira/browse/SOLR-86... > > Right, I should have mentioned this one as well. I have linked SOLR-20 > and SOLR-86 now, so th

Re: Calling Solr requests from java code - examples?

2007-01-16 Thread Bertrand Delacretaz
On 1/16/07, Thorsten Scherler <[EMAIL PROTECTED]> wrote: ...Have a look at https://issues.apache.org/jira/browse/SOLR-86... Right, I should have mentioned this one as well. I have linked SOLR-20 and SOLR-86 now, so that people can see the various options for Java clients. -Bertrand

Re: Calling Solr requests from java code - examples?

2007-01-16 Thread Bertrand Delacretaz
On 1/16/07, Pavel Penchev <[EMAIL PROTECTED]> wrote: ...What about the case where solr and my application are deployed in the same instance of say tomcat. Is there a way to skip the http requests and use a direct api?... The javax.servlet.RequestDispatcher interface allows you to access other

Re: Calling Solr requests from java code - examples?

2007-01-16 Thread Thorsten Scherler
On Tue, 2007-01-16 at 12:52 +0100, [EMAIL PROTECTED] wrote: > Thanks! > > and how would you do it calling it from another web application, let's > say from a servlet or so? I need to do some stuff in my web java code, > then call the Solr service and do some more stuff afterwards > Have a lo

Re: Calling Solr requests from java code - examples?

2007-01-16 Thread Pavel Penchev
A newbie question on the same topic: What about the case where solr and my application are deployed in the same instance of say tomcat. Is there a way to skip the http requests and use a direct api? Regards, Pavel Bertrand Delacretaz wrote: On 1/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>

Re: Calling Solr requests from java code - examples?

2007-01-16 Thread Bertrand Delacretaz
On 1/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: ...and how would you do it calling it from another web application, let's say from a servlet or so?... Doesn't make much difference if your client is a standalone or a web application: you Solr client class will need to be configured wit

Re: Calling Solr requests from java code - examples?

2007-01-16 Thread maarten
Thanks! and how would you do it calling it from another web application, let's say from a servlet or so? I need to do some stuff in my web java code, then call the Solr service and do some more stuff afterwards Quoting Bertrand Delacretaz <[EMAIL PROTECTED]>: On 1/16/07, [EMAIL PROTECTED]

Re: Calling Solr requests from java code - examples?

2007-01-16 Thread Bertrand Delacretaz
On 1/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: ...Could someone give me some code examples on how Solr requests can be called by Java code... Although our Java client landscape is still a bit fuzzy (there are several variants floating around), you might want to look at the code found

Calling Solr requests from java code - examples?

2007-01-16 Thread maarten
Hi, Could someone give me some code examples on how Solr requests can be called by Java code. I'm new to Java and I'm not very sure on how URLs + params can be called from java code and how the responses can be captured. Or what th best practices are? Grtz