Added the ability to override field names within the index as added in Haystack SHA f3bf9b7f

This commit is contained in:
David Sauve 2010-02-08 20:28:51 -05:00
parent 10408d356a
commit d0c5e4380a
1 changed files with 2 additions and 2 deletions

View File

@ -555,11 +555,11 @@ class SearchBackend(BaseSearchBackend):
for field_name, field_class in fields.items():
if field_class.document is True:
content_field_name = field_name
content_field_name = field_class.index_fieldname
if field_class.indexed is True:
field_data = {
'field_name': field_name,
'field_name': field_class.index_fieldname,
'type': 'text',
'multi_valued': 'false',
'column': column,