lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yury Kats (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2910) PingRequest fails if there is no defaultSearchField in the schema.xml
Date Tue, 22 Nov 2011 15:50:40 GMT

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

Yury Kats commented on SOLR-2910:
---------------------------------

{noformat}<str name="q">*:*</str>{noformat} 
                
> PingRequest fails if there is no defaultSearchField in the schema.xml
> ---------------------------------------------------------------------
>
>                 Key: SOLR-2910
>                 URL: https://issues.apache.org/jira/browse/SOLR-2910
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Yury Kats
>
> PingRequest fails if there is no defaultSearchField in the schema.xml
> CommonsHttpSolrServer#ping produces:
> org.apache.solr.common.SolrException: Ping query caused exception: no field name specified
in query and no defaultSearchField defined in schema.xml
> at org.apache.solr.handler.PingRequestHandler.handleRequestBody(PingRequestHandler.java:77)
> at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
> at org.apache.solr.core.SolrCore.execute(SolrCore.java:1407)
> at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:353)
> ...
> request: http://127.0.0.1:8983/solr/a1/admin/ping?wt=javabin&version=2'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message