This issue disappeared when we reduced the number of documents which were
being returned from Solr.

Looks to be some issue with Tomcat or Solr, returning truncated responses.

-Saroj


On Sun, Sep 25, 2011 at 9:21 AM, <pulkitsing...@gmail.com> wrote:

> If I had to give a gentle nudge, I would ask you to validate your schema
> XML file. You can do so by looking for any w3c XML validator website and
> just copy pasting the text there to find out where its malformed.
>
> Sent from my iPhone
>
> On Sep 24, 2011, at 2:01 PM, Erick Erickson <erickerick...@gmail.com>
> wrote:
>
> > You might want to review:
> >
> > http://wiki.apache.org/solr/UsingMailingLists
> >
> > There's really not much to go on here.
> >
> > Best
> > Erick
> >
> > On Wed, Sep 21, 2011 at 12:13 PM, roz dev <rozde...@gmail.com> wrote:
> >> Hi All
> >>
> >> We are getting this error in our Production Solr Setup.
> >>
> >> Message: Element type "t_sort" must be followed by either attribute
> >> specifications, ">" or "/>".
> >> Solr version is 1.4.1
> >>
> >> Stack trace indicates that solr is returning malformed document.
> >>
> >>
> >> Caused by: org.apache.solr.client.solrj.SolrServerException: Error
> >> executing query
> >>        at
> org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:95)
> >>        at
> org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118)
> >>        at
> com.gap.gid.search.impl.SearchServiceImpl.executeQuery(SearchServiceImpl.java:232)
> >>        ... 15 more
> >> Caused by: org.apache.solr.common.SolrException: parsing error
> >>        at
> org.apache.solr.client.solrj.impl.XMLResponseParser.processResponse(XMLResponseParser.java:140)
> >>        at
> org.apache.solr.client.solrj.impl.XMLResponseParser.processResponse(XMLResponseParser.java:101)
> >>        at
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:481)
> >>        at
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
> >>        at
> org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)
> >>        ... 17 more
> >> Caused by: javax.xml.stream.XMLStreamException: ParseError at
> >> [row,col]:[3,136974]
> >> Message: Element type "t_sort" must be followed by either attribute
> >> specifications, ">" or "/>".
> >>        at
> com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:594)
> >>        at
> org.apache.solr.client.solrj.impl.XMLResponseParser.readArray(XMLResponseParser.java:282)
> >>        at
> org.apache.solr.client.solrj.impl.XMLResponseParser.readDocument(XMLResponseParser.java:410)
> >>        at
> org.apache.solr.client.solrj.impl.XMLResponseParser.readDocuments(XMLResponseParser.java:360)
> >>        at
> org.apache.solr.client.solrj.impl.XMLResponseParser.readNamedList(XMLResponseParser.java:241)
> >>        at
> org.apache.solr.client.solrj.impl.XMLResponseParser.processResponse(XMLResponseParser.java:125)
> >>        ... 21 more
> >>
>

Reply via email to