Solr
  1. Solr
  2. SOLR-2890

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 4.1, 5.0
    • Component/s: Schema and Analysis
    • Labels:
      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.

        Issue Links

          Activity

            People

            • Assignee:
              Hoss Man
              Reporter:
              David Smiley
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development