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.
The idea is to reduce the load on memory. And I already have multi field for numeric, date and text field to handle different usecase where user can change the type of data a field will hold.
Any idea if this is possible?
What I found online was to create a new index with the required field disabled and then reindex the data to the new index
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.