Difference between enabled and index parameters

I wanted to know some differences between the working of enabled and index parameters.
Ver: 7.1.1
Case A:

"myfield": {
				"enabled": false,
				"properties": {
					"value": {
						"type": "keyword"
					},
					"key": {
						"type": "keyword"
					}
				}
			}

Case B:

"myfield": {
				"properties": {
					"value": {
						"type": "keyword",
						"index": false
					},
					"key": {
						"type": "keyword",
						"index": false
					}
				}
			}

On indexing a document, the the "terms_memory_in_bytes" shows same number of bytes in both cases.

Query 1:
Case A: Term vectors are generated for both key and value fields. But these fields are not queryble. Where does these tokens come from and why are generated ? Do they consume memory on heap ?
Case B: Term vectors are not generated for key and value fields.

Query 2:
What is difference between enabled and index paramters for above cases ?

Any lead on this topic please ?

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