You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Commit Tag Bot (JIRA)" <ji...@apache.org> on 2013/03/22 17:13:25 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=13610481#comment-13610481 ] 

Commit Tag Bot commented on SOLR-2890:
--------------------------------------

[branch_4x commit] Chris M. Hostetter
http://svn.apache.org/viewvc?view=revision&revision=1415837

SOLR-2890: Fixed a bug that prevented omitNorms and omitTermFreqAndPositions options from being respected in some <fieldType/> declarations (merge r1415817)

                
> 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, 5.0
>
>         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