On Mon, Dec 22, 2008 at 5:10 PM, Rinesh1 <rinesh_ku...@infosys.com> wrote:
> > Hi, > I wanted some inputs on the solr result xml. > Currently the result obtained will be of the format > > <doc> > <str attrName1="attrValue1">attrResult1</str> > <str attrName2="attrValue2">attrResult2</str> > </doc> > > Is it possible some how to change it to the form > > <doc> > <attrValue1>attrResult1</attrValue> > <attrValue2>attrResult2</attrValue> > </doc> > > The reason why I am asking this is to reduce the amount of logic required > to parse the xml and get the required data.Currently I am facing > performance issues because of this. > > Are you using Java? Have you looked at SolrJ client? http://wiki.apache.org/solr/Solrj -- Regards, Shalin Shekhar Mangar.