Re: Query regarding saving of Document and indexing in java

2008-07-31 Thread Shalin Shekhar Mangar
Hi Ranjeet, If you are using Solr 1.2 then you must use the step given in the wiki link else you can also upgrade to Solr 1.3 nightly build. On Thu, Jul 31, 2008 at 11:12 AM, Ranjeet [EMAIL PROTECTED]wrote: Hi, I have refer the same section, I mean

Query regarding saving of Document and indexing in java

2008-07-30 Thread Ranjeet
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

Re: Query regarding saving of Document and indexing in java

2008-07-30 Thread Shalin Shekhar Mangar
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

Re: Query regarding saving of Document and indexing in java

2008-07-30 Thread Ranjeet
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

Re: Query regarding saving of Document and indexing in java

2008-07-30 Thread Noble Paul നോബിള്‍ नोब्ळ्
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.

Re: Query regarding saving of Document and indexing in java

2008-07-30 Thread Fuad Efendi
Verify that schema.xml and your document fields are in-sync... Your stacktrace looks strange... NamedListCodec.unmarshal(NamedListCodec.java:86) - where is java.lang.Long? Quoting Ranjeet [EMAIL PROTECTED]: Hi Shalin, I have written Client to index the document, but unfortunatly

Re: Query regarding saving of Document and indexing in java

2008-07-30 Thread Ranjeet
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:

Re: Query regarding saving of Document and indexing in java

2008-07-30 Thread Ranjeet
Hi, I have refer the same section, I mean http://wiki.apache.org/solr/Solrj#head-12c26b2d7806432c88b26cf66e236e9bd6e91849 and wrote a client to index the document, I am getting follwoing exception. I am new to Solr, Please help me, If I will switch to Solr1.3 from Solr1.2, can I resolve this