I am wondering what the warmer do and what the reason is that it can
accelerate the indexing.
Does there exist some caching workflow and what does it put into the cache?
Also, if I execute the same query of the warming query manually, could I
get the same effect of the warmer do?
If not, what's the algorithm of it did to warm up?
Some data in the index needs to be loaded into memory for fast access to
the index. Since this loading is sometimes lazy, warmers are run just
before a new segment gets published in order to ensure that following
requests won't need to load this data as part of the query execution. The
two main things that warmers load into memory are norms (used for scoring)
and fielddata (used for sorting and facets/aggregations).
However, I don't see any reason why warmers would make indexing faster, I
would expect the opposite.
I am wondering what the warmer do and what the reason is that it can
accelerate the indexing.
Does there exist some caching workflow and what does it put into the cache?
Also, if I execute the same query of the warming query manually, could I
get the same effect of the warmer do?
If not, what's the algorithm of it did to warm up?
Thanks for the replies. So the warmer load the necessary data for searching
the index. In other word, it has the same effect with manually the warming
query instead of pushing into the warmer, right?
Cheers,
Ivan
Adrien Grand於 2014年1月24日星期五UTC+8下午6時14分26秒寫道:
Hi,
Some data in the index needs to be loaded into memory for fast access to
the index. Since this loading is sometimes lazy, warmers are run just
before a new segment gets published in order to ensure that following
requests won't need to load this data as part of the query execution. The
two main things that warmers load into memory are norms (used for scoring)
and fielddata (used for sorting and facets/aggregations).
However, I don't see any reason why warmers would make indexing faster, I
would expect the opposite.
On Fri, Jan 24, 2014 at 11:06 AM, Ivan Ji <hxu...@gmail.com <javascript:>>wrote:
Hi all,
I am wondering what the warmer do and what the reason is that it can
accelerate the indexing.
Does there exist some caching workflow and what does it put into the
cache?
Also, if I execute the same query of the warming query manually, could I
get the same effect of the warmer do?
If not, what's the algorithm of it did to warm up?
Thanks for the replies. So the warmer load the necessary data for
searching the index. In other word, it has the same effect with manually
the warming query instead of pushing into the warmer, right?
Exactly, but actually the warmer is a bit more efficient since it would
only run the query on the part of the index that has changed, this can be
much faster.
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.