-
Notifications
You must be signed in to change notification settings - Fork 31
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
_all field disabled starting in ES 6.x #46
Comments
In ES 6.x the newly created indices will not support As of writing in our data model the The question is, do we need this functionality? This is mostly about how customers need to query the data. If they need and rely on anything like the I would vote for disabling the |
Perhaps we disable it for all ES V5 work we do in the mean time, and leave it as is for existing V2 work? |
Yes, we can leave it for ES 2.x |
Can you give me an example of an operation which can be performed with |
In Kibana, in the search query bar, write: " If I want to look at every field, I'd have to enumerate all fields in the query string. |
I suppose What does elastic.co tell it's customers who rely on this feature? If my app uses a search like If Elasticsearch is getting rid of this feature, does Kibana 5 support a way to perform multifield searches without having to specify all of them? Kibana future version planned with this? |
@portante Isn't the Also after quick searching I run into this forum post https://discuss.elastic.co/t/search-over-all-fields-with-all-fields-and-default-field-differ/100217/4 It sounds to me that Kibana may be doing some fancy magic wrt to querying all fields and I am not sure I understand this well at the moment. We probably need to investigate deeper. |
[Update]: Documentation about ES 6.x mapping changes. |
@lukas-vlcek, sorry it took so long to respond. The definition of the From the first two paragraphs of the above document:
It seems you are right about Kibana not providing details of its use, but we can figure out the behavior based on a few other settings in Elasticsearch. In particular, the It seems like Kibana leverages a behavior of Elasticsearch to get the "default field" to search when a field is not specified in a query. Normally, this defaults the I'd consider moving to Elasticsearch 7.x at this point. [1] https://www.elastic.co/guide/en/elasticsearch/reference/6.7/mapping-all-field.html |
We probably need to explicitly remove any use of |
@sradco how will removing |
We need to keep the _all field in templates that were using it in ES 5.x and earlier but we remove this field from all models when rendering for ES 6.x and later. Closes #46
We need to keep the _all field in templates that were using it in ES 5.x and earlier but we remove this field from all models when rendering for ES 6.x and later. Closes #46
As per elastic/elasticsearch#22923 or breaking_6.7_mappings_changes we should expect that
_all
field (and associated features likeinclude_in_all
) will be disabled in ES 6.x. and removed going forward. We should make our index templates are ready for this in advance if possible.The text was updated successfully, but these errors were encountered: