aviyelverse / Open-Source-Requests

A curation of paid and unpaid requests for the community to work on.
18 stars 4 forks source link

Default Value When Optional = "True" #53

Open ghost opened 2 years ago

ghost commented 2 years ago

Description Default value option when a field optional = true. In my dataset it is possible to have field with null data, but we still need to index it.

Steps to reproduce Expected Behavior We can define default value for a field, so if there is no data when adding documents, it will filled with that default value.

Actual Behavior We can't create optional field if we want it to be indexed.

Metadata Typsense Version: cloud.