I'm not sure if I understood you..

You want to send a request like http://localhost/solr/select?
q=*:*&wt=json&start=0&fq=course_id:"18" and get back only parts of the
response for further processing?
Then the easiest way is to retrieve the whole json and post-process only
"responseHeader.params".

BR



On 13 February 2013 11:45, anurag.jain <anurag.k...@gmail.com> wrote:

> hey,
>
> I want to send query input through json file do not want to give query
> parameter. so is there any way to send.
>
>
> Like if i give query parameter it give response and in response there is a
> key call as parameter. so if i send that parameter through json. it will
> easy for me.
>
> let say input parameter is
> http://localhost/solr/select?q=*:*&wt=json&start=0&fq=course_id:\"18\";
> it give me response.
>
>
> responseHeader":{
>     "status":0,
>     "QTime":2,
>     "params":{
>       "indent":"on",
>       "start":"0",
>       "q":"*:*",
>       "wt":"json",
>       "fq":"course_id:\\\"18\\\""}
>     },
>   "response":{"numFound":729,"start":0,"docs":[
>       {
>       .......
>       },
>       {
>       .......
>       }
>       ]
>
>
>
>
> i want to send this json file
>
> {
>       "indent":"on",
>       "start":"0",
>       "q":"*:*",
>       "wt":"json",
>       "fq":"course_id:\\\"18\\\""
> }
>
> is there any way to do this ? ?
>
> please reply. it will help me out with lots of problems
>
>
> Thanks ---
>
>
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Send-Input-Through-Json-into-solr-tp4040186.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to