I am using Apache Solr to search companies on a upcoming website - ebharatbase.com. Taxonomies are handled through apache solr itself.
After upgrading to dev version of 7.x, our taxonomy links stopped working with error
Exception: "400" Status: can_not_sort_on_unindexed_field_created: can_not_sort_on_unindexed_field_created
We edited, apachesolr/contrib/apachesolr_taxonomy.module, line 44
Replaced:
$solrsort = variable_get('apachesolr_search_taxonomy_sort', 'created desc');
With:
$solrsort = variable_get('apachesolr_search_taxonomy_sort', 'ds_created desc');
It seems "created" was moved to "ds_created"
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 1092910-date-field-fixup-2.patch | 2.63 KB | pwolanin |
Comments
Comment #1
pwolanin commentedAh, likely I missed some changes to that module for the schema re-names. Quite possibly other sorts are broken too.
Comment #2
pwolanin commentedquick pass to find missing conversions.
Comment #3
pwolanin commentedcommitted.