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

omitTermFreqAndPositions and omitNorms don't work properly when used on fieldTypes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4
    • 4.1, 6.0
    • Schema and Analysis
    • None

    Description

      Setting omitTermFreqAndPositions="true" doesn't work when I put it on a fieldType definition for my text field. It did work when I put it on the field definition. I think this option and probably all options should be settable at the fieldType level. I did some investigation and found that the value of this option was being reset on line 54 of TextField.

      FYI I am trying to put this on a field type for use by the SpellCheck component which has no use for term frequencies and positions from the source field.

      Attachments

        1. SOLR-2890.patch
          18 kB
          Chris M. Hostetter

        Issue Links

          Activity

            People

              hossman Chris M. Hostetter
              dsmiley David Smiley
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: