- Affected version
- XFES 1.1.7
If single-type mode is enabled in XFES 1.1.7, content will not be indexed on demand as expected. Rebuilding the search index will index the content as expected.
(Note that generally speaking, single-type mode should not be enabled unless you are creating your index in Elasticsearch 6+, which as of this message, is still a preview release.)
To resolve this, in library/XenES/Api.php, change:
to:
(Note that generally speaking, single-type mode should not be enabled unless you are creating your index in Elasticsearch 6+, which as of this message, is still a preview release.)
To resolve this, in library/XenES/Api.php, change:
Code:
return sprintf('%s/%s/%s-s', $indexName, self::$_singleTypeName, $type, $id);
Code:
return sprintf('%s/%s/%s-%s', $indexName, self::$_singleTypeName, $type, $id);