-
Notifications
You must be signed in to change notification settings - Fork 46
Add option to warm lucene core query only #838
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option to warm lucene core query only #838
Conversation
// have obtained this searcher from the NRTManager | ||
// (i.e. sometimes we pulled from | ||
// SearcherLifetimeManager, other times (if | ||
// snapshot was specified) we opened ourselves, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We may not want to warm the query with specific generation, i.e. snapshot. But this is likely a fix in saving criteria.
src/main/java/com/yelp/nrtsearch/server/luceneserver/search/SearchRequestProcessor.java
Show resolved
Hide resolved
@@ -257,7 +257,8 @@ public void initWarmer(Archiver archiver, String indexName) { | |||
archiver, | |||
configuration.getServiceName(), | |||
indexName, | |||
warmerConfig.getMaxWarmingQueries()); | |||
warmerConfig.getMaxWarmingQueries(), | |||
warmerConfig.getMaxWarmingLuceneQueryOnlyCount()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can still use the % settings in your final PR if you prefer
68b7264
to
7b49072
Compare
Not needed anymore due to #844 |
No description provided.