lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "uday shankar singh (JIRA)" <>
Subject [jira] [Commented] (SOLR-3416) HTTP ERROR 400. Problem accessing /solr/select/. Reason: undefined field text
Date Thu, 26 Apr 2012 06:37:20 GMT


uday shankar singh commented on SOLR-3416:

Sorry for asking this question here, 
I'll make sure that, from now on I ask this type question on the user mailing list

but the checked my schema twice and the default search field is set to the field that is in
my schema.
I've pasted the whole warning showing in my console.

SEVERE: org.apache.solr.common.SolrException: undefined field text
	at org.apache.solr.schema.IndexSchema.getDynamicFieldType(
	at org.apache.solr.schema.IndexSchema$SolrQueryAnalyzer.getAnalyzer(
	at org.apache.solr.schema.IndexSchema$SolrIndexAnalyzer.reusableTokenStream(
	at org.apache.lucene.queryParser.QueryParser.getFieldQuery(
	at org.apache.lucene.queryParser.QueryParser.Term(
	at org.apache.lucene.queryParser.QueryParser.Clause(
	at org.apache.lucene.queryParser.QueryParser.Query(
	at org.apache.lucene.queryParser.QueryParser.TopLevelQuery(
	at org.apache.lucene.queryParser.QueryParser.parse(
	at org.apache.solr.handler.component.QueryComponent.prepare(
	at org.apache.solr.handler.component.SearchHandler.handleRequestBody(
	at org.apache.solr.handler.RequestHandlerBase.handleRequest(
	at org.apache.solr.core.SolrCore.execute(
	at org.apache.solr.core.QuerySenderListener.newSearcher(
	at org.apache.solr.core.SolrCore$
	at java.util.concurrent.FutureTask$Sync.innerRun(
	at java.util.concurrent.ThreadPoolExecutor.runWorker(
	at java.util.concurrent.ThreadPoolExecutor$

Help my out on this one.

> HTTP ERROR 400.   Problem accessing /solr/select/.   Reason: undefined field text
> ---------------------------------------------------------------------------------
>                 Key: SOLR-3416
>                 URL:
>             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@ 
> 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. 
> <fields> 
>     <field name="id" type="string" indexed="true" stored="true" /> 
>     <field name="phraseID" type="int" indexed="true" stored="true" /> 
>     <field name="translation" type="string" indexed="true" stored="true" /> 
> </fields> 
> <uniqueKey>id</uniqueKey> 
> 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 --- 
> 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:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message