[
https://issues.apache.org/jira/browse/SOLR-6473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14120112#comment-14120112
]
Shalin Shekhar Mangar commented on SOLR-6473:
---------------------------------------------
bq. It's not a concern... it's a single hash-map lookup on the ID.
Yes, you're right. I guess I was confused. It's probably not worth it to work
on this. The only thing is that the user should remember to use /get to get
these gains and I've seen many places which don't do that.
> Optimize the get-by-id path for search requests
> -----------------------------------------------
>
> Key: SOLR-6473
> URL: https://issues.apache.org/jira/browse/SOLR-6473
> Project: Solr
> Issue Type: Improvement
> Components: SolrCloud
> Reporter: Shalin Shekhar Mangar
> Labels: difficulty-easy, impact-low, workaround-exists
> Fix For: 4.11
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> A search request which looks up a doc with just a uniqueKey can be optimised
> to lookup the right shard and send a distrib=false request and avoid the
> overhead of a distributed request.
> The same can also be achieved by the /get handler but it has the (admittedly
> small) overhead of looking up from the transaction log as well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]