lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Production Issue: SolrJ client throwing this error even though field type is not defined in schema
Date Sat, 24 Sep 2011 19:01:55 GMT
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 <rozdev29@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
>

Mime
View raw message