Why can I create a document with field that are no...
# community-help
m
Why can I create a document with field that are not defined by the schema? There is no error and and I didn't add any wildcard fields.
j
That's by design. Fields that don't exist in the schema are not indexed. They're just stored on disk and returned if a document is a hit
You can control which fields are returned using the
include_fields
and
exclude_fields
search param