因为之前查询经常遇到circuit breaking exception,所以在创建Rest client的时候执行了一次ClearIndicesCacheRequest,但是会导致查询结果不一致,请问是什么原因?
比如执行ClearIndicesCacheRequest后,我用CountRequest返回6000+,但是SearchRequest只有40+的数据。
不执行ClearIndicesCacheRequest,CountRequest只有30+,SearchRequest能返回6000+hits(Count显然也是不对的)。是什么造成了这种情况?
比如执行ClearIndicesCacheRequest后,我用CountRequest返回6000+,但是SearchRequest只有40+的数据。
不执行ClearIndicesCacheRequest,CountRequest只有30+,SearchRequest能返回6000+hits(Count显然也是不对的)。是什么造成了这种情况?
0 个回复