Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-6473

Optimize the get-by-id path for search requests

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            shalin Shalin Shekhar Mangar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified