You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "uday shankar singh (JIRA)" <ji...@apache.org> on 2012/04/26 08:13:21 UTC

[jira] [Created] (SOLR-3416) HTTP ERROR 400. Problem accessing /solr/select/. Reason: undefined field text

uday shankar singh created SOLR-3416:
----------------------------------------

             Summary: 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


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. 

<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 --- 

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


[jira] [Reopened] (SOLR-3416) HTTP ERROR 400. Problem accessing /solr/select/. Reason: undefined field text

Posted by "uday shankar singh (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

uday shankar singh reopened SOLR-3416:
--------------------------------------

    
> 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. 
> <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 --- 
> 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


[jira] [Commented] (SOLR-3416) HTTP ERROR 400. Problem accessing /solr/select/. Reason: undefined field text

Posted by "uday shankar singh (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13262411#comment-13262411 ] 

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(IndexSchema.java:1330)
	at org.apache.solr.schema.IndexSchema$SolrQueryAnalyzer.getAnalyzer(IndexSchema.java:408)
	at org.apache.solr.schema.IndexSchema$SolrIndexAnalyzer.reusableTokenStream(IndexSchema.java:383)
	at org.apache.lucene.queryParser.QueryParser.getFieldQuery(QueryParser.java:574)
	at org.apache.solr.search.SolrQueryParser.getFieldQuery(SolrQueryParser.java:206)
	at org.apache.lucene.queryParser.QueryParser.Term(QueryParser.java:1429)
	at org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:1317)
	at org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:1245)
	at org.apache.lucene.queryParser.QueryParser.TopLevelQuery(QueryParser.java:1234)
	at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:206)
	at org.apache.solr.search.LuceneQParser.parse(LuceneQParserPlugin.java:79)
	at org.apache.solr.search.QParser.getQuery(QParser.java:143)
	at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:105)
	at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:165)
	at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
	at org.apache.solr.core.SolrCore.execute(SolrCore.java:1376)
	at org.apache.solr.core.QuerySenderListener.newSearcher(QuerySenderListener.java:59)
	at org.apache.solr.core.SolrCore$3.call(SolrCore.java:1182)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:636)


Help my out on this one.

                
> 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. 
> <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 --- 
> 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


[jira] [Commented] (SOLR-3416) HTTP ERROR 400. Problem accessing /solr/select/. Reason: undefined field text

Posted by "uday shankar singh (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13262433#comment-13262433 ] 

uday shankar singh commented on SOLR-3416:
------------------------------------------

Thanks, for your help... but I still getting the same.
Any other clues, or 

I am gona implement the whole stuff again and if the error persist contact you in user-mail...

Again, Thanks for your help..
                
> 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. 
> <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 --- 
> 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


[jira] [Resolved] (SOLR-3416) HTTP ERROR 400. Problem accessing /solr/select/. Reason: undefined field text

Posted by "Ryan McKinley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan McKinley resolved SOLR-3416.
---------------------------------

    Resolution: Invalid

I'm guessing your schema has the default search field set to "text" -- try changing that to a field that is in your schema.

Also, these questions are better asked on the user mailing list
                
> 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. 
> <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 --- 
> 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


[jira] [Resolved] (SOLR-3416) HTTP ERROR 400. Problem accessing /solr/select/. Reason: undefined field text

Posted by "Ryan McKinley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan McKinley resolved SOLR-3416.
---------------------------------

    Resolution: Invalid
    
> 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. 
> <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 --- 
> 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


[jira] [Commented] (SOLR-3416) HTTP ERROR 400. Problem accessing /solr/select/. Reason: undefined field text

Posted by "Jörg von Frantzius (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295693#comment-13295693 ] 

Jörg von Frantzius commented on SOLR-3416:
------------------------------------------

There is a query for warming up some in cache in the default solrconfig.xml, which makes use of the default search field.

I had set the "defaultSearchField" in the schema, but that didn't seem to get picked up.

So I changed the query for {{<listener event="firstSearcher"}} in my solrconfig.xml to use a field contained in my schema.xml, and the error is gone.
                
> 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. 
> <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 --- 
> 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


[jira] [Commented] (SOLR-3416) HTTP ERROR 400. Problem accessing /solr/select/. Reason: undefined field text

Posted by "David Smiley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295763#comment-13295763 ] 

David Smiley commented on SOLR-3416:
------------------------------------

Most likely your solrconfig.xml /select request handler has "df" pointing to "text".
                
> 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. 
> <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 --- 
> 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


[jira] [Commented] (SOLR-3416) HTTP ERROR 400. Problem accessing /solr/select/. Reason: undefined field text

Posted by "Jack Krupansky (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13290122#comment-13290122 ] 

Jack Krupansky commented on SOLR-3416:
--------------------------------------

This is most certainly not a bug in Solr. Please take your inquiry over to the solr-user mailing list for assistance.
                
> 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. 
> <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 --- 
> 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


[jira] [Commented] (SOLR-3416) HTTP ERROR 400. Problem accessing /solr/select/. Reason: undefined field text

Posted by "Ryan McKinley (JIRA)" <ji...@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}
<defaultSearchField>text</defaultSearchField>
{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. 
> <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 --- 
> 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


[jira] [Commented] (SOLR-3416) HTTP ERROR 400. Problem accessing /solr/select/. Reason: undefined field text

Posted by "sheethal Shreedhar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13290107#comment-13290107 ] 

sheethal Shreedhar commented on SOLR-3416:
------------------------------------------

I have been having the same problems as udayshankar. Default search field is set to something thats there in the schema. I have tried installing older versions of solr. But still end up getting HTTP ERROR 400.

Any solution? Please help

Thanks in advance.
                
> 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. 
> <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 --- 
> 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