lucene-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/SOLR-2890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13497520#comment-13497520
] 

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
fieldType.
                
> omitTermFreqAndPositions should be specifiable on fieldType
> -----------------------------------------------------------
>
>                 Key: SOLR-2890
>                 URL: https://issues.apache.org/jira/browse/SOLR-2890
>             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: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message