Thank you for suggestion
Finally i got the solution
Converted the document into json format and store them in a string
String url = JSONUtil.toJSON(document.get("url"));
then i placed string values in excel file
--
View this message in context:
http://lucene.472066.n3.nabble.com/Storing-s
consumed by
an application.
-- Jack Krupansky
-Original Message-
From: kumar
Sent: Tuesday, November 26, 2013 3:31 AM
To: solr-user@lucene.apache.org
Subject: Re: Storing solr results in excel
If we specify wt=csv then results appear like csv format but i need to store
them in seperate
My Response is coming in the follwing way
"response": {
"numFound": 21,
"start": 0,
"maxScore": 1,
"docs": [
{
"pageType": "LP",
"category": "some category name",
"url": "some url",
"score": 1
}
]
}
If we specify wt=csv then results appear like csv format but i need to store
them in seperate excel file.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Storing-solr-results-in-excel-tp4103237p4103247.html
Sent from the Solr - User mailing list archive at Nabble.com.
wt=csv ?
On Tue, Nov 26, 2013 at 11:09 AM, kumar wrote:
> Hi,
>
> i am getting two field values from excel and querying solr to give top 1
> results. But i need to store the results in another excel sheet. Anyone
> help
> me how to store solr results in excel file using solrj
>
> Regards,
> Kum