lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pulkitsing...@gmail.com
Subject Re: Production Issue: SolrJ client throwing this error even though field type is not defined in schema
Date Sun, 25 Sep 2011 16:21:29 GMT
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 <erickerickson@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 <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