Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7075C9713 for ; Thu, 26 Apr 2012 07:27:41 +0000 (UTC) Received: (qmail 48118 invoked by uid 500); 26 Apr 2012 07:27:40 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 47914 invoked by uid 500); 26 Apr 2012 07:27:40 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 47902 invoked by uid 99); 26 Apr 2012 07:27:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2012 07:27:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2012 07:27:38 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 55BC5410BB9 for ; Thu, 26 Apr 2012 07:27:18 +0000 (UTC) Date: Thu, 26 Apr 2012 07:27:18 +0000 (UTC) From: "Ryan McKinley (JIRA)" To: dev@lucene.apache.org Message-ID: <328111169.4212.1335425238352.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <331362923.4048.1335420801250.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SOLR-3416) HTTP ERROR 400. Problem accessing /solr/select/. Reason: undefined field text MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-3416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13262429#comment-13262429 ] Ryan McKinley commented on SOLR-3416: ------------------------------------- Make sure the default search field points to a field that exists -- from your error, I'm guessing it points to the same thing in the example: {code:xml} text {code} but you don't have that in your schema. Change it to 'translation' or some other field in your schema > HTTP ERROR 400. Problem accessing /solr/select/. Reason: undefined field text > --------------------------------------------------------------------------------- > > Key: SOLR-3416 > URL: https://issues.apache.org/jira/browse/SOLR-3416 > Project: Solr > Issue Type: Bug > Environment: Fedora 13 (Goddard) > Reporter: uday shankar singh > Labels: apche, jetty, nutch, solr > > I've got a Solr instance running on my Ubuntu machine using the default Jetty server that the Solr download comes with. Whenever I start Solr using > java -jar start.jar > The server starts fine but there is always an exception thrown: > INFO: SolrUpdateServlet.init() done > 2012-04-26 11:36:59.630:INFO::Started SocketConnector@0.0.0.0:8983 > Apr 26, 2012 11:37:14 AM org.apache.solr.common.SolrException log > SEVERE: org.apache.solr.common.SolrException: undefined field text > As I said though, the server will still start and I can see the Solr admin interface. I defined my schema as follows. > > > > > > id > When I attempt to run a query USING Admin interface, > the defualt query i.e *.* or from the url using: > http://localhost:8983/solr/select/?q=*:*&version=2.2&start=0&rows=10&indent=on > It correctly returns all the data that I crawled using Nutch > However, the moment I try to query using text in the admin interface or through the url I receive an HTTP ERROR 404. > url: http://localhost:8983/solr/select/?q=fruit&version=2.2&start=0&rows=10&indent=on > --- returns --- > HTTP ERROR 400 > Problem accessing /solr/select/. Reason: > undefined field text > Powered by Jetty:// -- 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