1. Solr
  2. SOLR-3416

HTTP ERROR 400. Problem accessing /solr/select/. Reason: undefined field text


    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      Fedora 13 (Goddard)


      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.

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

      When I attempt to run a query USING Admin interface,
      the defualt query i.e . or from the url using:


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


        uday shankar singh created issue -
        Ryan McKinley made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Invalid [ 6 ]
        uday shankar singh made changes -
        Resolution Invalid [ 6 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Ryan McKinley made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Invalid [ 6 ]


          • Assignee:
            uday shankar singh
          • Votes:
            0 Vote for this issue
            5 Start watching this issue


            • Created: