-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use flattened field type instead of object for neos_fulltext_parts #356
Comments
The bad thing is, we can't simply override this in userland code… The default is
and when changing the type to |
I changed this directly,
like above. I still get this:
Debugging shows me: During indexing, an index named like
As soon as documents are actually added, this happens to an index named like
|
@kdambekalns: 97aa56f is whats needed to unset ´enabled`. Seems I actually only added that to v8 🙈 |
@kdambekalns: There should never be an index named like that. It should be an alias pointing to one of the timestamp suffixed indices. Apparently this index was created on the fly - without the index configuration / mapping applied - before the aliases are added. |
Great, that bug about the alias not being an alias is a long-time aquaintance, now that you mention it. With that fixd (manually), indexing indeed preserves the I'll create a PR mimicking 97aa56f for v7 tomorrow. And look into that "no alias created as expected" issue. |
Anyone got this working with Opensearch (which does not support flattened)? 🤔 |
The field neos_fulltext_parts stores the fulltext path for every aggregateRoot document with the childnode identifiers as keys. This easily can lead to mapping explosion. Starting with Elasticsearch > 7.3, you can configure:
to avoid this.
This should be the default when 7.x is the minimal supported version.
Note: as per https://www.elastic.co/guide/en/elasticsearch/reference/7.5/release-highlights-7.3.0.html#_new_flattened_field_type this type is only available "with the default distribution of Elasticsearch." – whatever that means.
The text was updated successfully, but these errors were encountered: