[ https://issues.apache.org/jira/browse/SOLR-5478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13867821#comment-13867821 ]
Robert Muir commented on SOLR-5478: ----------------------------------- {quote} I will save the searcher.getAtomicReader().getSortedDocValues(uniqueKey) as a member in the index searcher so I don't have to recreate it everytime. {quote} You missed the point, its unnecessary to use SlowCompositeWrapper (getAtomicReader) here. You don't need a top-level docvalues, and you dont need a complicated cache or any of that either. You just need to use docvalues per-segment. I really recommend starting simple here with just that. > Speed-up distributed search with high rows param or deep paging by > transforming docId's to uniqueKey via memory docValues > ------------------------------------------------------------------------------------------------------------------------- > > Key: SOLR-5478 > URL: https://issues.apache.org/jira/browse/SOLR-5478 > Project: Solr > Issue Type: Improvement > Components: Response Writers > Affects Versions: 4.5 > Reporter: Manuel Lenormand > Fix For: 4.7 > > Attachments: SOLR-5478.patch, SOLR-5478.patch > > -- This message was sent by Atlassian JIRA (v6.1.5#6160) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org