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

add ability to commit w/o opening a new searcher

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0-ALPHA
    • Component/s: None
    • Labels:
      None

      Description

      Solr should have the ability to commit without opening a new searcher. This becomes even more useful now that we have softCommit to open a new NRT searcher.

      1. SOLR-3069.patch
        24 kB
        Yonik Seeley
      2. SOLR-3069.patch
        8 kB
        Yonik Seeley

        Activity

        Hide
        yseeley@gmail.com Yonik Seeley added a comment -

        Proposal is to add an openSearcher=true/false option for hard autocommit config in solrconfig.xml

        Future enhancements could include openSearcher flags in the actual commit command and also on the URL for update commands.

        Show
        yseeley@gmail.com Yonik Seeley added a comment - Proposal is to add an openSearcher=true/false option for hard autocommit config in solrconfig.xml Future enhancements could include openSearcher flags in the actual commit command and also on the URL for update commands.
        Hide
        yseeley@gmail.com Yonik Seeley added a comment -

        Here's a draft patch.

        Show
        yseeley@gmail.com Yonik Seeley added a comment - Here's a draft patch.
        Hide
        yseeley@gmail.com Yonik Seeley added a comment -

        Here's a patch that kills a couple of other birds with one stone... it adds the ability to specify openSearcher=false on the command line, and refactors out the logic of handling commit related flags on a commit command and from request params into a single place (they were previously duplicated in both XML and JSON formats, and JSON was missing a bunch).

        This also makes autoCommit do soft commits (as previously discussed)

        Show
        yseeley@gmail.com Yonik Seeley added a comment - Here's a patch that kills a couple of other birds with one stone... it adds the ability to specify openSearcher=false on the command line, and refactors out the logic of handling commit related flags on a commit command and from request params into a single place (they were previously duplicated in both XML and JSON formats, and JSON was missing a bunch). This also makes autoCommit do soft commits (as previously discussed)
        Hide
        markrmiller@gmail.com Mark Miller added a comment -

        This is in and can be resolved right?

        Show
        markrmiller@gmail.com Mark Miller added a comment - This is in and can be resolved right?

          People

          • Assignee:
            yseeley@gmail.com Yonik Seeley
            Reporter:
            yseeley@gmail.com Yonik Seeley
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development