Details

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

      Description

      Expose Lucene's prepareCommit to Solr update handlers.

      1. SOLR-2992.patch
        6 kB
        Yonik Seeley

        Activity

        Hide
        Yonik Seeley added a comment -

        Here's a patch that adds support for specifying prepareCommit=true to update URLS that ends up calling IndexWriter.prepareCommit()

        The CommitUpdateCommand was modified to include a prepareCommit flag. This felt like the right approach (as opposed to a new update command) given that commit and prepareCommit may share more functionality over time (such as the ability to specify user commit info).

        Show
        Yonik Seeley added a comment - Here's a patch that adds support for specifying prepareCommit=true to update URLS that ends up calling IndexWriter.prepareCommit() The CommitUpdateCommand was modified to include a prepareCommit flag. This felt like the right approach (as opposed to a new update command) given that commit and prepareCommit may share more functionality over time (such as the ability to specify user commit info).
        Hide
        Jan Høydahl added a comment -

        The JavaDoc is not valid (@expert not valid tag), and build fails due to this line in UpdateParams.java:

        /** @expert calls IndexWriter.prepareCommit */

        Show
        Jan Høydahl added a comment - The JavaDoc is not valid (@expert not valid tag), and build fails due to this line in UpdateParams.java: /** @expert calls IndexWriter.prepareCommit */

          People

          • Assignee:
            Unassigned
            Reporter:
            Yonik Seeley
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development