Closed (fixed)
Project:
Elasticsearch Connector
Version:
8.x-5.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Nov 2017 at 22:01 UTC
Updated:
28 Nov 2017 at 08:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
fagoComment #3
m4oliveiI found this as well, via an odd facets bug:
https://www.drupal.org/node/2913535
I found that the only way to force the mapping to get set correctly was to, create your index, and your mapping, then hit the "Clear all indexed data" link no the Index Summary page (/admin/config/search/search-api/index/<index_machine_name>). Then either run cron or click Index now on the Index Summary page. The fields are then properly indexed, respecting the mapping that was setup.
Updated the issue summary.
Comment #4
m4oliveiDidn't apply cleanly, so here's a re-roll against the latest 8.x-5.x. I'll also throw up a PR on Github.
This works for me though!
Comment #5
m4oliveiGithub PR: https://github.com/nodespark/elasticsearch_connector/pull/25
Comment #7
skek commentedThank you for your work guys. The patch has been committed.