If you are using SolrJ with Solr1.2 , refer the section http://wiki.apache.org/solr/Solrj#head-12c26b2d7806432c88b26cf66e236e9bd6e91849
On Thu, Jul 31, 2008 at 8:45 AM, Ranjeet <[EMAIL PROTECTED]> wrote: > Hi, > > At present its Solr1.2.. Is there any defference in indexing of document in > Solr1.2 or Solr1.3, If we plan to migrate from solr1.2 to Solr1.3 then what > are the changing required? > > regards, > Ranjeet > > ----- Original Message ----- From: "Noble Paul ??????? ??????" > <[EMAIL PROTECTED]> > To: <solr-user@lucene.apache.org> > Sent: Wednesday, July 30, 2008 10:16 PM > Subject: Re: Query regarding saving of Document and indexing in java > > >> is the server Solr1.2 or Solr1.3? >> >> On Wed, Jul 30, 2008 at 9:57 PM, Ranjeet <[EMAIL PROTECTED]> >> wrote: >>> >>> Hi Shalin, >>> >>> I have written Client to index the document, but unfortunatly getting an >>> exception. I have attached source code of client and exception, please >>> guide >>> me where I am doing mistake. getting "java.lang.ClassCastException: >>> java.lang.Long" >>> >>> Thanks & Regards, >>> Ranjeet >>> >>> >>> ----- Original Message ----- From: "Shalin Shekhar Mangar" >>> <[EMAIL PROTECTED]> >>> To: <solr-user@lucene.apache.org> >>> Sent: Wednesday, July 30, 2008 6:24 PM >>> Subject: Re: Query regarding saving of Document and indexing in java >>> >>> >>>> Hi Ranjeet, >>>> >>>> You can use Solrj which is a java client for Solr. >>>> >>>> See http://wiki.apache.org/solr/Solrj for more details. >>>> >>>> On Wed, Jul 30, 2008 at 5:50 PM, Ranjeet >>>> <[EMAIL PROTECTED]>wrote: >>>> >>>>> Hi, >>>>> >>>>> In our case Application and Solr are running in different server in >>>>> different system. I am trying to prepare the Document from Application >>>>> to >>>>> save xml document in solr context and indexing the same document from >>>>> our >>>>> Application. Any one has idea, how to save in different IP and how to >>>>> index >>>>> the same document in defferent system. Our Application is Java/j2ee( in >>>>> Spring framework) based. It would be great if you send the code/idea to >>>>> resolve this. >>>>> >>>>> Thanks & Regards, >>>>> Ranjeet >>>> >>>> >>>> >>>> >>>> -- >>>> Regards, >>>> Shalin Shekhar Mangar. >>>> >>> >> >> >> >> -- >> --Noble Paul > > -- --Noble Paul