Move `message` fields to `match_only_text`
See original GitHub issue7.14 is introducing a new field type called match_only_text
which is meant as a more space-efficient variant of the text
field type. Its only downsides are the following:
- no support for scoring: queries ignore index statistics and produce constant scores,
- span queries are unsupported,
- phrase and intervals queries run slower.
Other than that, this field supports the same feature set as text
, and like text
it doesn’t support aggregations. See https://www.elastic.co/guide/en/elasticsearch/reference/master/text.html#match-only-text-field-type if you would like to know more.
We are in the process of changing our built-in templates in Elasticsearch so that message
fields get mapped as match_only_text
rather than text
. I think we should do the same in ECS as of Elasticsearch 7.14 (when this field gets released)?
Please let me know if there’s anything I can do to help.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Text type family | Elasticsearch Guide [8.5] | Elastic
A field to index full-text values, such as the body of an email or the description of a product. ... Parameters for match-only...
Read more >Elasticsearch match_only_text Field Type (For Storage ...
That's why we'll index our message field as match_only_text field type. First we set the mappings: PUT match-only-text-test. {. "mappings": {.
Read more >text - match_only_text fields do not support sorting and ...
I would like to count and sort the number of occurred message on a field of type match_only_text. Using a DSL query the...
Read more >How to change text custom field to rich text editor | Jira
Now access the project you are using the custom field on. Move to Project settings > Fields; Click Actions > Edit fields; Click ......
Read more >SQLite - Quick Guide - Tutorialspoint
TABLE? Dump the database in an SQL text format. If TABLE specified, only dump tables matching LIKE pattern TABLE. 5 .echo ON ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
RFC 0023 is finished and the changes implemented in https://github.com/elastic/ecs/pull/1584
Thanks, @jpountz! We had been excitedly following the progress of
match_only_text
to see where we could adopt it once it was ready. 😄I agree with looking to update
message
in ECS as well, and I think we may even consider additional fields within ECS where it makes sense.