lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ranjeet" <ranjeet....@ebusinessware.com>
Subject Re: Query regarding saving of Document and indexing in java
Date Wed, 30 Jul 2008 16:27:03 GMT
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" <shalinmangar@gmail.com>
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 
> <ranjeet.jha@ebusinessware.com>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.
> 

Mime
View raw message