One the use cases for warmers is to pre-load the fields data cache with fields used for sorting.
The documentation doesn't specify how to load a field for sorting, but the following loads the id field into the cache if you put a new warmer after data has already been indexed:
Yea, we use COUNT search type, which does not kick in sorting, will change it to regular search. Btw, its much simpler to just have regular curl recreation, so we can more easily run it.
Hi,
One the use cases for warmers is to pre-load the fields data cache with fields used for sorting.
The documentation doesn't specify how to load a field for sorting, but the following loads the id field into the cache if you put a new warmer after data has already been indexed:
PUT to /tests/_warmer/warmer1
However, new segments will not have the id field loaded.
To reproduce follow this sequence (on a fresh node). I tried it on 0.20.4: Create an empty tests index with the folldwing mapping:
Cheers, Boaz
NOTE: This may just be a documentation issue as I'm guessing how you should "warm" a sort field. If this is the wrong way, I'd be happy know.