Fields that need not be searched or indexed

I am using ElasticSearch v6 to search my product catalog.

My product has a number fields, such as title, description, price, etc... one of the fields is: photo_path, which would contain the location of product photo on disk.

photo_path does need to be searched, but need to be retrieved.

Question: Is there a way to mark this field as not searchable/not indexed? And is this a good idea, for example will I save storage/process time, by marking this field not searchable.

See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/mapping-index.html.

It might save a bit of space.

1 Like

Thanks a lot

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.