lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] [Commented] (SOLR-2890) omitTermFreqAndPositions should be specifiable on fieldType
Date Wed, 14 Nov 2012 22:10:12 GMT


Yonik Seeley commented on SOLR-2890:

IIRC, I think the intent was to exclude positions by default for all the field types that
didn't need them (except for text field which by default would).
If the option is set on a fieldType, it should become the default for any fields using that
> omitTermFreqAndPositions should be specifiable on fieldType
> -----------------------------------------------------------
>                 Key: SOLR-2890
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: Schema and Analysis
>    Affects Versions: 3.4
>            Reporter: David Smiley
>            Priority: Minor
> 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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message