mirror of
https://github.com/Hopiu/xapian-haystack.git
synced 2026-03-16 22:20:31 +00:00
Added the ability to override field names within the index as added in Haystack SHA f3bf9b7f
This commit is contained in:
parent
10408d356a
commit
d0c5e4380a
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue