Disabling _all field from Index

is it worth a shot to disable the _all field and reindex all the data? We are seeing huge latencies while indexing/updating documents. Could this improve the performance?

in our use case we do not query the _all field, so disabling it completely in the mapping won't affect our searches, constant score is what we use mostly, just that since _all is indexed so I assume disabling it completely would save up some time and reduce latency. Can someone please advise.

1 Like

It'd be worth trying, only by testing can you say if it'll help.

Well, if you disable _all you're saving like 50% of your disk space. That'll also mean more records to hold in memory. I think it'll help your performance.

Definitely try it.

1 Like

That's a wild guess really.

Except ES doesn't hold records in memory.

1 Like

What was the outcome of disabling _all?

shakunvohra https://discuss.elastic.co/u/shakunvohra
May 19

What was the outcome of disabling _all?

Visit Topic
https://discuss.elastic.co/t/disabling--all-field-from-index/62394/5 or
reply to this email to respond.

To unsubscribe from these emails, click here
https://discuss.elastic.co/email/unsubscribe/10b55ab69798dba61c2b02223bcf3e8c045961f29ceb3e05c0bf2dcf9903259a
.

~30% saving on the size of index