[
https://issues.apache.org/jira/browse/BLUR-148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13692056#comment-13692056
]
Aaron McCurry commented on BLUR-148:
------------------------------------
I have extracted some methods in the IndexWarmup class to make dealing
AtomicReaders easier.
https://git-wip-us.apache.org/repos/asf?p=incubator-blur.git;a=commit;h=c38254966b0fdf1aff013f31b81f0b220d1999b0
In the method:
private void warm(IndexReader reader, Iterable<String> preCacheCols,
IndexWarmup indexWarmup, Map<String, List<IndexTracerResult>> sampleIndex,
String context, AtomicBoolean isClosed)
IndexReader should be changed to AtomicReader so the correct method is called
on the IndexWarmup.
Thanks!
Aaron
> Need to warm up new segments after NRT reloads
> ----------------------------------------------
>
> Key: BLUR-148
> URL: https://issues.apache.org/jira/browse/BLUR-148
> Project: Apache Blur
> Issue Type: Improvement
> Components: Blur
> Affects Versions: 0.2.0
> Reporter: Aaron McCurry
> Fix For: 0.2.0
>
> Attachments:
> 0001-BLUR-148-warm-up-new-segments-after-NRT-reloads.patch
>
>
> Need to call the warm index code on new segments after the NRT writer creates
> a new segment. Will also need to add a new state for the
> shardServerLayoutState call.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira