views:

258

answers:

2

I'm trying to integrate Haystack with Solr. When I try to build the index, I get an error "Unknown field django_id" from SOLR. What's causing this to happen?

A: 

The schema.xml was malformed as I had copied additional text from the console.

Sriram
A: 

For those coming to this page via Google: you also get this error if you haven't given Solr the schema.xml file which Haystack generates for you, as explained here in the docs.

http://docs.haystacksearch.org/dev/tutorial.html#reindex

jturnbull