Is it possible to toggle searchable field.
My index contains around 3000 fields and 1200k documents, at times I see memory issues. On further analysis, I found that due to large number of fields, not all fields are available in the heap.
I think, for my usecase, the probable solution will be to disable searching/indexing on fields that are marked as not searchable in my application.
How ever, my application provides functionality to toggle the "Searchable" switch. This would mean that a field not searchable at a particular point of time, can become searchable at another point of time.
Is it possible though?