Vatsan, are you aware of Solr? http://lucene.apache.org/solr
Have a look (and look for solrj - it's a Solr java client) Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch ----- Original Message ---- > From: vatsan <[EMAIL PROTECTED]> > To: java-user@lucene.apache.org > Sent: Friday, May 30, 2008 2:42:02 PM > Subject: Lucene Web Service - Client Program > > > I am new to web services. > > This is the situation: > > We have a document/corpus indexed by Lucene and say it resides on > C:\Lucene\Index > > We are hosting Lucene as a web service (following the instructions provided > at www.lucene-ws.net) where I have provided the information regarding the > index directory and stuff and started lucene.war as a webservice. > > > I am required to query the indices created, using search terms, from a > remote client using the Lucene Web Services API. > > However, there is not enough information available on their website for a > newbie like me to be able to figure this out. > > Any pointers will be very helpful. > > What I am looking for is some sample code to call any function in the Lucene > Web Service API. > For example: > > public String[] queryIndex(String searchTerm) > { > // Call any function in the Lucene Search API > > // Parse the returned result? (I believe this is in the XML form? > How do i obtain it as text? > > // return the result as say a collection of strings?? > } > > (I am not familiar with the GET/POST methods, so kindly be a little verbose > if you are referring to these methods in your response.) > > Thank you very much. > vatsan. > -- > View this message in context: > http://www.nabble.com/Lucene-Web-Service---Client-Program-tp17565662p17565662.html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]