Maybe start with your own cache implementation that implements a resize
method? The cache is pluggable through IndexSearcher.
Fully discarding the cache and swapping in a newly sized (empty) one could
also be jarring, so I can see the motivation for this method. Especially
for usages that are ho
Hi Mikhail
Thanks for the input. But i would like to suggest title of the available
documents (for the query typed in search box ) from an index & when user
clicked on the suggestion, i would like to take to exact document. Thanks
in advance.
my requirement is like this ( like google did in its h
Hi Atri,
Thanks for pointing out potential performance issues for high QPS workloads
when downsizing. Depending on the size of the cache, it might make sense to
create a new one with the necessary entries. On the other hand, if you
consider cases where the process is under heavy memory pressure an