Quantcast

[jira] [Created] (SOLR-2445) unknown handler: standard

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] [Created] (SOLR-2445) unknown handler: standard

JIRA jira@apache.org
unknown handler: standard
-------------------------

                 Key: SOLR-2445
                 URL: https://issues.apache.org/jira/browse/SOLR-2445
             Project: Solr
          Issue Type: Bug
    Affects Versions: 1.4.1, 3.1, 3.2, 4.0
            Reporter: Koji Sekiguchi
            Priority: Minor


To reproduce the problem using example config, go form.jsp, use standard for qt (it is default) then click Search.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] [Updated] (SOLR-2445) unknown handler: standard

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/SOLR-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Koji Sekiguchi updated SOLR-2445:
---------------------------------

    Attachment: SOLR-2445.patch

> unknown handler: standard
> -------------------------
>
>                 Key: SOLR-2445
>                 URL: https://issues.apache.org/jira/browse/SOLR-2445
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.4.1, 3.1, 3.2, 4.0
>            Reporter: Koji Sekiguchi
>            Priority: Minor
>         Attachments: SOLR-2445.patch
>
>
> To reproduce the problem using example config, go form.jsp, use standard for qt (it is default) then click Search.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] [Updated] (SOLR-2445) unknown handler: standard

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/SOLR-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Koji Sekiguchi updated SOLR-2445:
---------------------------------

    Fix Version/s: 4.0
                   3.2
         Assignee: Koji Sekiguchi

Will commit soon.

> unknown handler: standard
> -------------------------
>
>                 Key: SOLR-2445
>                 URL: https://issues.apache.org/jira/browse/SOLR-2445
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.4.1, 3.1, 3.2, 4.0
>            Reporter: Koji Sekiguchi
>            Assignee: Koji Sekiguchi
>            Priority: Minor
>             Fix For: 3.2, 4.0
>
>         Attachments: SOLR-2445.patch
>
>
> To reproduce the problem using example config, go form.jsp, use standard for qt (it is default) then click Search.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] [Resolved] (SOLR-2445) unknown handler: standard

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/SOLR-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Koji Sekiguchi resolved SOLR-2445.
----------------------------------

    Resolution: Fixed

trunk: Committed revision 1086276.
3x: Committed revision 1086289.

> unknown handler: standard
> -------------------------
>
>                 Key: SOLR-2445
>                 URL: https://issues.apache.org/jira/browse/SOLR-2445
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.4.1, 3.1, 3.2, 4.0
>            Reporter: Koji Sekiguchi
>            Assignee: Koji Sekiguchi
>            Priority: Minor
>             Fix For: 3.2, 4.0
>
>         Attachments: SOLR-2445.patch
>
>
> To reproduce the problem using example config, go form.jsp, use standard for qt (it is default) then click Search.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] [Reopened] (SOLR-2445) unknown handler: standard

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/SOLR-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hoss Man reopened SOLR-2445:
----------------------------


wait a minute ... there's no requirement that a handler named "standard" exist, nor is there any reason why solr should create a handler with that name automagically for you. (we already create one anonymous handler instance)

All the docs have ever said is that *if* you declare a handler named "standard" then it will be used if no qt is specified, and no handler is marked default="true"

http://wiki.apache.org/solr/SolrRequestHandler

I deliberately removed the example usage of name="standard" from the example solrconfig.xml to simplify the confusion that people have about the way name="standard" and default=true" interact.

If the problem here is that form.jsp defaults to listing "standard" for the "qt" param, then the fix is to change form.jsp and leave that box blank.

> unknown handler: standard
> -------------------------
>
>                 Key: SOLR-2445
>                 URL: https://issues.apache.org/jira/browse/SOLR-2445
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.4.1, 3.1, 3.2, 4.0
>            Reporter: Koji Sekiguchi
>            Assignee: Koji Sekiguchi
>            Priority: Minor
>             Fix For: 3.2, 4.0
>
>         Attachments: SOLR-2445.patch
>
>
> To reproduce the problem using example config, go form.jsp, use standard for qt (it is default) then click Search.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] [Commented] (SOLR-2445) unknown handler: standard

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/SOLR-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012290#comment-13012290 ]

Koji Sekiguchi commented on SOLR-2445:
--------------------------------------

bq. If the problem here is that form.jsp defaults to listing "standard" for the "qt" param, then the fix is to change form.jsp and leave that box blank.

No problem for me to fix form.jsp.

> unknown handler: standard
> -------------------------
>
>                 Key: SOLR-2445
>                 URL: https://issues.apache.org/jira/browse/SOLR-2445
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.4.1, 3.1, 3.2, 4.0
>            Reporter: Koji Sekiguchi
>            Assignee: Koji Sekiguchi
>            Priority: Minor
>             Fix For: 3.2, 4.0
>
>         Attachments: SOLR-2445.patch
>
>
> To reproduce the problem using example config, go form.jsp, use standard for qt (it is default) then click Search.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] [Commented] (SOLR-2445) unknown handler: standard

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/SOLR-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012298#comment-13012298 ]

Koji Sekiguchi commented on SOLR-2445:
--------------------------------------

bq. there's no requirement that a handler named "standard" exist, nor is there any reason why solr should create a handler with that name automagically for you.

I didn't think so, because I saw the "standard" name that is defined public static final:

{code:title=RequestHandlers.java}
public static final String DEFAULT_HANDLER_NAME="standard";
{code}


> unknown handler: standard
> -------------------------
>
>                 Key: SOLR-2445
>                 URL: https://issues.apache.org/jira/browse/SOLR-2445
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.4.1, 3.1, 3.2, 4.0
>            Reporter: Koji Sekiguchi
>            Assignee: Koji Sekiguchi
>            Priority: Minor
>             Fix For: 3.2, 4.0
>
>         Attachments: SOLR-2445.patch
>
>
> To reproduce the problem using example config, go form.jsp, use standard for qt (it is default) then click Search.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] [Commented] (SOLR-2445) unknown handler: standard

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/SOLR-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012575#comment-13012575 ]

Hoss Man commented on SOLR-2445:
--------------------------------

that's a fairly old static, probably from before we even supported default="true"

the important thing is that it's just the *name* of the what solr will look for when trying to find a default, it doesn't garuntee that one will exist with that name if the user doesn't define it.

as the wiki says: if there is no default, and none are declared with the name "standard" it uses an anonymous object instance.

but with the code you commited, the user has no choice -- they *have* to have one named "standard" (even if they deliberately don't want one, and already have  a different one with the default="true" option)

> unknown handler: standard
> -------------------------
>
>                 Key: SOLR-2445
>                 URL: https://issues.apache.org/jira/browse/SOLR-2445
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.4.1, 3.1, 3.2, 4.0
>            Reporter: Koji Sekiguchi
>            Assignee: Koji Sekiguchi
>            Priority: Minor
>             Fix For: 3.2, 4.0
>
>         Attachments: SOLR-2445.patch
>
>
> To reproduce the problem using example config, go form.jsp, use standard for qt (it is default) then click Search.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] [Commented] (SOLR-2445) unknown handler: standard

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/SOLR-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012805#comment-13012805 ]

Koji Sekiguchi commented on SOLR-2445:
--------------------------------------

I missed Wiki, but I only looked how initHandlersFromConfig() was implemented when I commit:

{code}
if(get("") == null) register("", get(DEFAULT_HANDLER_NAME));
{code}

I thought Solr should have the handler named DEFAULT_HANDLER_NAME.

But if "Handler Resolution" of wiki is correct, and I definitely think it sounds reasonable for me now, and I think Solr should be able to start without any handlers, I'll revert my commit but make qt blank in form.jsp.

> unknown handler: standard
> -------------------------
>
>                 Key: SOLR-2445
>                 URL: https://issues.apache.org/jira/browse/SOLR-2445
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.4.1, 3.1, 3.2, 4.0
>            Reporter: Koji Sekiguchi
>            Assignee: Koji Sekiguchi
>            Priority: Minor
>             Fix For: 3.2, 4.0
>
>         Attachments: SOLR-2445.patch
>
>
> To reproduce the problem using example config, go form.jsp, use standard for qt (it is default) then click Search.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] [Resolved] (SOLR-2445) unknown handler: standard

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/SOLR-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Koji Sekiguchi resolved SOLR-2445.
----------------------------------

    Resolution: Fixed

trunk: Committed revision 1086821.
3x: Committed revision 1086822.

> unknown handler: standard
> -------------------------
>
>                 Key: SOLR-2445
>                 URL: https://issues.apache.org/jira/browse/SOLR-2445
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.4.1, 3.1, 3.2, 4.0
>            Reporter: Koji Sekiguchi
>            Assignee: Koji Sekiguchi
>            Priority: Minor
>             Fix For: 3.2, 4.0
>
>         Attachments: SOLR-2445.patch
>
>
> To reproduce the problem using example config, go form.jsp, use standard for qt (it is default) then click Search.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...