Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      If a request handler is registered at /path , it should be able to handle /path/a or /path/x/y if it chooses to without explicitly registering those paths. This will only work if those full paths are not explicitly registered

      1. SOLR-6585.patch
        15 kB
        Noble Paul
      2. SOLR-6585.patch
        13 kB
        Noble Paul

        Activity

        Hide
        Noble Paul added a comment -

        no testcases yet

        Show
        Noble Paul added a comment - no testcases yet
        Hide
        Noble Paul added a comment - - edited

        With a testcase. I'm committing this soon

        Show
        Noble Paul added a comment - - edited With a testcase. I'm committing this soon
        Hide
        Mikhail Khludnev added a comment -

        Sounds great! How to get the actual request path during handling?

        Show
        Mikhail Khludnev added a comment - Sounds great! How to get the actual request path during handling?
        Hide
        Mikhail Khludnev added a comment -

        hm.. it seems like

        SolrRequestParsers.parse(SolrCore, String, HttpServletRequest)
           sreq.getContext().put( "path", path );
        

        will it work always?

        Show
        Mikhail Khludnev added a comment - hm.. it seems like SolrRequestParsers.parse(SolrCore, String , HttpServletRequest) sreq.getContext().put( "path" , path ); will it work always?
        Hide
        Noble Paul added a comment - - edited

        will it work always?

        yes. can you think of a case where it would not work?

        Show
        Noble Paul added a comment - - edited will it work always? yes. can you think of a case where it would not work?
        Hide
        ASF subversion and git services added a comment -

        Commit 1629433 from Noble Paul in branch 'dev/trunk'
        [ https://svn.apache.org/r1629433 ]

        SOLR-6585

        Show
        ASF subversion and git services added a comment - Commit 1629433 from Noble Paul in branch 'dev/trunk' [ https://svn.apache.org/r1629433 ] SOLR-6585
        Hide
        ASF subversion and git services added a comment -

        Commit 1629434 from Noble Paul in branch 'dev/trunk'
        [ https://svn.apache.org/r1629434 ]

        SOLR-6585

        Show
        ASF subversion and git services added a comment - Commit 1629434 from Noble Paul in branch 'dev/trunk' [ https://svn.apache.org/r1629434 ] SOLR-6585
        Hide
        ASF subversion and git services added a comment -

        Commit 1629437 from Noble Paul in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1629437 ]

        SOLR-6585

        Show
        ASF subversion and git services added a comment - Commit 1629437 from Noble Paul in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1629437 ] SOLR-6585
        Hide
        Anshum Gupta added a comment -

        Bulk close after 5.0 release.

        Show
        Anshum Gupta added a comment - Bulk close after 5.0 release.

          People

          • Assignee:
            Noble Paul
            Reporter:
            Noble Paul
          • Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development