You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Tomislav Nakic-Alfirevic (JIRA)" <ji...@apache.org> on 2006/09/14 10:43:24 UTC

[jira] Created: (SOLR-48) an empty query string in the admin interface throws an exception

an empty query string in the admin interface throws an exception
----------------------------------------------------------------

                 Key: SOLR-48
                 URL: http://issues.apache.org/jira/browse/SOLR-48
             Project: Solr
          Issue Type: Bug
          Components: web gui
         Environment: GNU/linux, sun-jdk 1.5.0-07, solr checked out from the read-only svn today
            Reporter: Tomislav Nakic-Alfirevic
            Priority: Minor


If you just click search in the admin interface without entering a query string, the following error is displayed:

org.apache.solr.core.SolrException: Missing queryString
	at org.apache.solr.request.StandardRequestHandler.handleRequest(StandardRequestHandler.java:104)
	at org.apache.solr.core.SolrCore.execute(SolrCore.java:586)
	at org.apache.solr.servlet.SolrServlet.doGet(SolrServlet.java:91)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
	at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
	at org.mortbay.http.HttpServer.service(HttpServer.java:909)
	at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
	at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

A JScript-triggered warning of some sort would be better, or short of that, an automatic return to the query interface with a human-readable error message.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (SOLR-48) an empty query string in the admin interface throws an exception

Posted by "Bill Au (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/SOLR-48?page=all ]

Bill Au updated SOLR-48:
------------------------

    Attachment: solr-48.patch

patch with fix to solr-48

> an empty query string in the admin interface throws an exception
> ----------------------------------------------------------------
>
>                 Key: SOLR-48
>                 URL: http://issues.apache.org/jira/browse/SOLR-48
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>         Environment: GNU/linux, sun-jdk 1.5.0-07, solr checked out from the read-only svn today
>            Reporter: Tomislav Nakic-Alfirevic
>         Assigned To: Bill Au
>            Priority: Minor
>         Attachments: solr-48.patch
>
>
> If you just click search in the admin interface without entering a query string, the following error is displayed:
> org.apache.solr.core.SolrException: Missing queryString
> 	at org.apache.solr.request.StandardRequestHandler.handleRequest(StandardRequestHandler.java:104)
> 	at org.apache.solr.core.SolrCore.execute(SolrCore.java:586)
> 	at org.apache.solr.servlet.SolrServlet.doGet(SolrServlet.java:91)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
> 	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
> 	at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
> 	at org.mortbay.http.HttpServer.service(HttpServer.java:909)
> 	at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
> 	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
> 	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
> 	at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
> 	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
> 	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
> A JScript-triggered warning of some sort would be better, or short of that, an automatic return to the query interface with a human-readable error message.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (SOLR-48) an empty query string in the admin interface throws an exception

Posted by "Bill Au (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/SOLR-48?page=all ]

Bill Au reassigned SOLR-48:
---------------------------

    Assignee: Bill Au

> an empty query string in the admin interface throws an exception
> ----------------------------------------------------------------
>
>                 Key: SOLR-48
>                 URL: http://issues.apache.org/jira/browse/SOLR-48
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>         Environment: GNU/linux, sun-jdk 1.5.0-07, solr checked out from the read-only svn today
>            Reporter: Tomislav Nakic-Alfirevic
>         Assigned To: Bill Au
>            Priority: Minor
>
> If you just click search in the admin interface without entering a query string, the following error is displayed:
> org.apache.solr.core.SolrException: Missing queryString
> 	at org.apache.solr.request.StandardRequestHandler.handleRequest(StandardRequestHandler.java:104)
> 	at org.apache.solr.core.SolrCore.execute(SolrCore.java:586)
> 	at org.apache.solr.servlet.SolrServlet.doGet(SolrServlet.java:91)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
> 	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
> 	at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
> 	at org.mortbay.http.HttpServer.service(HttpServer.java:909)
> 	at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
> 	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
> 	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
> 	at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
> 	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
> 	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
> A JScript-triggered warning of some sort would be better, or short of that, an automatic return to the query interface with a human-readable error message.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (SOLR-48) an empty query string in the admin interface throws an exception

Posted by "Bill Au (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/SOLR-48?page=all ]

Bill Au resolved SOLR-48.
-------------------------

    Resolution: Fixed

Patch commited.  Thanks for the code.

> an empty query string in the admin interface throws an exception
> ----------------------------------------------------------------
>
>                 Key: SOLR-48
>                 URL: http://issues.apache.org/jira/browse/SOLR-48
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>         Environment: GNU/linux, sun-jdk 1.5.0-07, solr checked out from the read-only svn today
>            Reporter: Tomislav Nakic-Alfirevic
>         Assigned To: Bill Au
>            Priority: Minor
>         Attachments: solr-48.patch
>
>
> If you just click search in the admin interface without entering a query string, the following error is displayed:
> org.apache.solr.core.SolrException: Missing queryString
> 	at org.apache.solr.request.StandardRequestHandler.handleRequest(StandardRequestHandler.java:104)
> 	at org.apache.solr.core.SolrCore.execute(SolrCore.java:586)
> 	at org.apache.solr.servlet.SolrServlet.doGet(SolrServlet.java:91)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
> 	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
> 	at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
> 	at org.mortbay.http.HttpServer.service(HttpServer.java:909)
> 	at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
> 	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
> 	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
> 	at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
> 	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
> 	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
> A JScript-triggered warning of some sort would be better, or short of that, an automatic return to the query interface with a human-readable error message.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (SOLR-48) an empty query string in the admin interface throws an exception

Posted by "Tomislav Nakic-Alfirevic (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/SOLR-48?page=comments#action_12435356 ] 
            
Tomislav Nakic-Alfirevic commented on SOLR-48:
----------------------------------------------

This should do the trick:

<form name=f1 method=post>
	Query text: <input type=text name=n>
	<input type=button value='GO' onclick="if(f1.n.value.length==0) alert('no empty queries, please'); else f1.submit();">
</form>


> an empty query string in the admin interface throws an exception
> ----------------------------------------------------------------
>
>                 Key: SOLR-48
>                 URL: http://issues.apache.org/jira/browse/SOLR-48
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>         Environment: GNU/linux, sun-jdk 1.5.0-07, solr checked out from the read-only svn today
>            Reporter: Tomislav Nakic-Alfirevic
>            Priority: Minor
>
> If you just click search in the admin interface without entering a query string, the following error is displayed:
> org.apache.solr.core.SolrException: Missing queryString
> 	at org.apache.solr.request.StandardRequestHandler.handleRequest(StandardRequestHandler.java:104)
> 	at org.apache.solr.core.SolrCore.execute(SolrCore.java:586)
> 	at org.apache.solr.servlet.SolrServlet.doGet(SolrServlet.java:91)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
> 	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
> 	at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
> 	at org.mortbay.http.HttpServer.service(HttpServer.java:909)
> 	at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
> 	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
> 	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
> 	at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
> 	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
> 	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
> A JScript-triggered warning of some sort would be better, or short of that, an automatic return to the query interface with a human-readable error message.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (SOLR-48) an empty query string in the admin interface throws an exception

Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/SOLR-48?page=comments#action_12435281 ] 
            
Hoss Man commented on SOLR-48:
------------------------------

solving this with javascript on the admin page seems like a fine idea .. but i wouldn't want to try and put redirect logic or "pretty" error messages into the request handlers -- the expectation is that other code will be hitting the /select urls, the query form on the admin interface is just for convinience.

if any javascript guru's out there would care to whip up a handy function that works well on the major browsers, i'll happily commit it.

> an empty query string in the admin interface throws an exception
> ----------------------------------------------------------------
>
>                 Key: SOLR-48
>                 URL: http://issues.apache.org/jira/browse/SOLR-48
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>         Environment: GNU/linux, sun-jdk 1.5.0-07, solr checked out from the read-only svn today
>            Reporter: Tomislav Nakic-Alfirevic
>            Priority: Minor
>
> If you just click search in the admin interface without entering a query string, the following error is displayed:
> org.apache.solr.core.SolrException: Missing queryString
> 	at org.apache.solr.request.StandardRequestHandler.handleRequest(StandardRequestHandler.java:104)
> 	at org.apache.solr.core.SolrCore.execute(SolrCore.java:586)
> 	at org.apache.solr.servlet.SolrServlet.doGet(SolrServlet.java:91)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
> 	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
> 	at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
> 	at org.mortbay.http.HttpServer.service(HttpServer.java:909)
> 	at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
> 	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
> 	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
> 	at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
> 	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
> 	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
> A JScript-triggered warning of some sort would be better, or short of that, an automatic return to the query interface with a human-readable error message.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (SOLR-48) an empty query string in the admin interface throws an exception

Posted by "Bill Au (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/SOLR-48?page=comments#action_12435574 ] 
            
Bill Au commented on SOLR-48:
-----------------------------

That works for both firefox and IE7.  Thanks for the code.  I will fix both the admin main page and the "full interface" page.

> an empty query string in the admin interface throws an exception
> ----------------------------------------------------------------
>
>                 Key: SOLR-48
>                 URL: http://issues.apache.org/jira/browse/SOLR-48
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>         Environment: GNU/linux, sun-jdk 1.5.0-07, solr checked out from the read-only svn today
>            Reporter: Tomislav Nakic-Alfirevic
>            Priority: Minor
>
> If you just click search in the admin interface without entering a query string, the following error is displayed:
> org.apache.solr.core.SolrException: Missing queryString
> 	at org.apache.solr.request.StandardRequestHandler.handleRequest(StandardRequestHandler.java:104)
> 	at org.apache.solr.core.SolrCore.execute(SolrCore.java:586)
> 	at org.apache.solr.servlet.SolrServlet.doGet(SolrServlet.java:91)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
> 	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
> 	at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
> 	at org.mortbay.http.HttpServer.service(HttpServer.java:909)
> 	at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
> 	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
> 	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
> 	at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
> 	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
> 	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
> A JScript-triggered warning of some sort would be better, or short of that, an automatic return to the query interface with a human-readable error message.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (SOLR-48) an empty query string in the admin interface throws an exception

Posted by "Tomislav Nakic-Alfirevic (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/SOLR-48?page=comments#action_12435726 ] 
            
Tomislav Nakic-Alfirevic commented on SOLR-48:
----------------------------------------------

Glad to hear all the good news. :)

> an empty query string in the admin interface throws an exception
> ----------------------------------------------------------------
>
>                 Key: SOLR-48
>                 URL: http://issues.apache.org/jira/browse/SOLR-48
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>         Environment: GNU/linux, sun-jdk 1.5.0-07, solr checked out from the read-only svn today
>            Reporter: Tomislav Nakic-Alfirevic
>         Assigned To: Bill Au
>            Priority: Minor
>         Attachments: solr-48.patch
>
>
> If you just click search in the admin interface without entering a query string, the following error is displayed:
> org.apache.solr.core.SolrException: Missing queryString
> 	at org.apache.solr.request.StandardRequestHandler.handleRequest(StandardRequestHandler.java:104)
> 	at org.apache.solr.core.SolrCore.execute(SolrCore.java:586)
> 	at org.apache.solr.servlet.SolrServlet.doGet(SolrServlet.java:91)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
> 	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
> 	at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
> 	at org.mortbay.http.HttpServer.service(HttpServer.java:909)
> 	at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
> 	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
> 	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
> 	at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
> 	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
> 	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
> A JScript-triggered warning of some sort would be better, or short of that, an automatic return to the query interface with a human-readable error message.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (SOLR-48) an empty query string in the admin interface throws an exception

Posted by "Bill Au (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/SOLR-48?page=comments#action_12435620 ] 
            
Bill Au commented on SOLR-48:
-----------------------------

FYI, the javascript works for safari too.

> an empty query string in the admin interface throws an exception
> ----------------------------------------------------------------
>
>                 Key: SOLR-48
>                 URL: http://issues.apache.org/jira/browse/SOLR-48
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>         Environment: GNU/linux, sun-jdk 1.5.0-07, solr checked out from the read-only svn today
>            Reporter: Tomislav Nakic-Alfirevic
>         Assigned To: Bill Au
>            Priority: Minor
>         Attachments: solr-48.patch
>
>
> If you just click search in the admin interface without entering a query string, the following error is displayed:
> org.apache.solr.core.SolrException: Missing queryString
> 	at org.apache.solr.request.StandardRequestHandler.handleRequest(StandardRequestHandler.java:104)
> 	at org.apache.solr.core.SolrCore.execute(SolrCore.java:586)
> 	at org.apache.solr.servlet.SolrServlet.doGet(SolrServlet.java:91)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
> 	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
> 	at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
> 	at org.mortbay.http.HttpServer.service(HttpServer.java:909)
> 	at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
> 	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
> 	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
> 	at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
> 	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
> 	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
> A JScript-triggered warning of some sort would be better, or short of that, an automatic return to the query interface with a human-readable error message.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira