0

As elastic search has _all field I am not able to find anything regarding that in cratedb. SO do we need to maintain our own analyzed field for that purpose or does crate provide something in built?

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
Dhruv Pal
  • 849
  • 2
  • 10
  • 25

2 Answers2

1

The _all field is a special catch-all field which concatenates the values of all of the other fields into one big string, using space as a delimiter, which is then analyzed and indexed, but not stored. This means that it can be searched, but not retrieved.

The _all field allows you to search for values in documents without knowing which field contains the value. This makes it a useful option when getting started with a new dataset

refer : https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-all-field.html

kavi
  • 172
  • 1
  • 14
1

We don't have something similar to that, so you'd need to add it to the query or maintain a dedicated column.