You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2012/11/29 05:32:59 UTC

[jira] [Commented] (SOLR-2890) omitTermFreqAndPositions and omitNorms don't work properly when used on fieldTypes

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

David Smiley commented on SOLR-2890:
------------------------------------

+1 Great work Hoss!  I'm sure developing that test was non-trivial.
                
> omitTermFreqAndPositions and omitNorms don't work properly when used on fieldTypes
> ----------------------------------------------------------------------------------
>
>                 Key: SOLR-2890
>                 URL: https://issues.apache.org/jira/browse/SOLR-2890
>             Project: Solr
>          Issue Type: Bug
>          Components: Schema and Analysis
>    Affects Versions: 3.4
>            Reporter: David Smiley
>            Assignee: Hoss Man
>             Fix For: 4.1
>
>         Attachments: SOLR-2890.patch
>
>
> 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