Error

31 views
Skip to first unread message

judy wawira

unread,
Jun 16, 2013, 6:34:36 PM6/16/13
to python-...@googlegroups.com
Hello 

i am using sunburnt to query a solr index and get this error 

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Python/2.7/site-packages/sunburnt/search.py", line 599, in execute
    result = self.interface.search(**self.options())
  File "/Library/Python/2.7/site-packages/sunburnt/sunburnt.py", line 212, in search
    return self.schema.parse_response(self.conn.select(params))
  File "/Library/Python/2.7/site-packages/sunburnt/schema.py", line 510, in parse_response
    return SolrResponse(self, msg)
  File "/Library/Python/2.7/site-packages/sunburnt/schema.py", line 652, in __init__
    self.result = SolrResult(schema, result_node)
  File "/Library/Python/2.7/site-packages/sunburnt/schema.py", line 691, in __init__
    self.docs = [schema.parse_result_doc(n) for n in node.xpath("doc")]
  File "/Library/Python/2.7/site-packages/sunburnt/schema.py", line 519, in parse_result_doc
    return dict([self.parse_result_doc(n) for n in doc.getchildren()])
  File "/Library/Python/2.7/site-packages/sunburnt/schema.py", line 524, in parse_result_doc
    raise SolrError("unexpected field found in result")
sunburnt.schema.SolrError: unexpected field found in result

Is it possible to determine the field with the problem?

Thank you 

Judy
Reply all
Reply to author
Forward
0 new messages