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

TermVectorComponents should provide good error messages when fieldtype isn't compatible with requested options

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4
    • 3.1, 4.0-ALPHA
    • search
    • None

    Description

      As noted by grant on the email list, asking TermVectorComponent for things like termVectors, positions, and offsets can't produce meaningful results unless the field in question has the corrisponding schema option set to true – but the behavior of TVC when they not true is confusing to users.

      We should make TVC return a meaningful error if it's asked to return a certain type of info for field that it can't deal with - something making it clear what properties of hte schema need to be changed to make it work...

      http://old.nabble.com/Re%3A-TermVectorComponent-%3A-Required---Optional-Parameters-p26181454.html

      Attachments

        1. SOLR-1556.patch
          26 kB
          Grant Ingersoll
        2. SOLR-1556.patch
          26 kB
          Grant Ingersoll

        Activity

          People

            gsingers Grant Ingersoll
            hossman Chris M. Hostetter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: