Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-905

wt type of json or ruby triggers error with legacy fields

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.3
    • None
    • Response Writers
    • None

    Description

      Given an index/schema with a field of "word"
      then the field name is changed to "spell"
      querying with a wt=json or ruby gives an error of (pasted in below)
      where querying with a wt=xml does not.

      will return the expected results:
      q=:&wt=xml

      returns the error:
      q=:&wt=json

      ERROR ->

      HTTP Status 400 - undefined field word

      type Status report

      message undefined field word

      description The request sent by the client was syntactically incorrect (undefined field word).

      Attachments

        Activity

          People

            Unassigned Unassigned
            mwmitchell Matt Mitchell
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: