Solr
  1. Solr
  2. SOLR-185

RequestHandlerUtils - helpers for commit, optimize, and format warnings

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Add a helper class to let RequestHandlers share some common code. This patch adds support for

      1. standard 'Experimental' format warning
      2. getCharsetFromContentType()
      3. handler parameters ?commit,optimize,waitFlush,waitSearcher

      • this change makes the CommitRequestHandler unnecessary

        Activity

        Yonik Seeley made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Hide
        Yonik Seeley added a comment -

        Committed. Thanks Ryan!

        So I guess the standard way to commit can be
        /solr/update?commit=true with no content streams? That's as readable as /solr/update/commit i think.

        I think we can remove deprecated things like commit handler before we make another release given that it was introduced after the last release.

        Show
        Yonik Seeley added a comment - Committed. Thanks Ryan! So I guess the standard way to commit can be /solr/update?commit=true with no content streams? That's as readable as /solr/update/commit i think. I think we can remove deprecated things like commit handler before we make another release given that it was introduced after the last release.
        yonik committed 524612 (1 file)
        Ryan McKinley made changes -
        Attachment SOLR-185-RequestHandlerUtils.patch [ 12354647 ]
        Hide
        Ryan McKinley added a comment -
        • Removed content stream stuff that was taken care of with SOLR-197
        • updated the CSVUpdateHandler (SOLR-66) to handle commit with a common function
        Show
        Ryan McKinley added a comment - Removed content stream stuff that was taken care of with SOLR-197 updated the CSVUpdateHandler ( SOLR-66 ) to handle commit with a common function
        Ryan McKinley made changes -
        Field Original Value New Value
        Attachment SOLR-185-RequestHandlerUtils.patch [ 12352724 ]
        Ryan McKinley created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Ryan McKinley
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development