rmuir commented on PR #1360: URL: https://github.com/apache/solr/pull/1360#issuecomment-1454886054
Creating this MultiTerms doesn't really do anything. It doesn't do any IO or anything like that. It essentially makes a list of reader.terms() for each segment. It doesn't sort this list or anything. I wouldn't suggest doing anything crazy to cache this thing, as it doesn't make sense to cache: there's no "hot" methods on Terms (nextDoc or nextTerm or anything) that you'd call a ton of times, and hopefully use of slow wrapper is minimized anyway. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org