What do you mean you don't want to "display" it?   Generally you'd just 
navigate to solr_response['response'] to ignore the header and just deal with 
the main body.

But, there is an omitHeader parameter - 
<http://wiki.apache.org/solr/CommonQueryParameters#omitHeader>

        Erik


On Aug 17, 2011, at 11:19 , nagarjuna wrote:

> Hi every body
>  i have the following response fromat
> 
>            {
>  "responseHeader":{
>    "status":0,
>    "QTime":47,
>    "params":{
>      "fl":"keywords",
>      "indent":"on",
>      "start":"0",
>      "q":"test",
>      "version":"2.2",
>      "rows":"30"}},
>  "response":{"numFound":9,"start":0,"docs":[
>                {
>        "keywords":"test"},
>      {
>        "keywords":"test"},
>      {
>        "keywords":"Test"},
>      {
>        "keywords":"Test"},
>      {
>        "keywords":"Test"},
>            {
>        "keywords":"test"},
>      {
>        "keywords":"testing"},
>      {
>        "keywords":"testing"},
>      {
>        "keywords":"test iphone android"}]
>  }}
> 
> from the above response fromat i need to remove the responseHeader...
> i.e  {
>  "responseHeader":{
>    "status":0,
>    "QTime":47,
>    "params":{
>      "fl":"keywords",
>      "indent":"on",
>      "start":"0",
>      "q":"test",
>      "version":"2.2",
>      "rows":"30"}},
> the above part i dont want to display ...please help me to do this
> 
> Thanks in advance
> 
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/is-it-possible-to-remove-response-header-from-the-JSON-fromat-tp3261957p3261957.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to