Handling potentially missing fields

Summarising from other places.

  • Storing explicit values – like :missing or nil – for potentially missing fields leads to faster queries when you are interested in absence of data.
  • Empty vectors will be treated as missing in queries – they are not indexed.
  • Examples of ‘absence queries’ when fields are missing: 1, 2.
1 Like