How to set fields “unsearchable” and “unaggregatable”


(John_ax) #1

Hi, I'm using Elasticsearch 5.5 and Kibana 5.5.after some google and test ,I stil had some questions:

how can I mark _index and _type unaggreagable?

I noticed that if I have the template mapping:

"type": "string",
"doc_values": false       

then the field is unaggreagable, hope to save the memory and increase the performance.
however how can I mark _index and _type unaggreagable?

how to mark fields unsearchable?

Q: if mark fields unsearchable,can es save the disk usage?
Q2: how to mark fields unsearchable?


(system) #2

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