You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ryan McKinley (JIRA)" <ji...@apache.org> on 2011/03/29 22:52:05 UTC
[jira] [Commented] (SOLR-2433) Make FieldProperties bit masks
protected
[ https://issues.apache.org/jira/browse/SOLR-2433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012690#comment-13012690 ]
Ryan McKinley commented on SOLR-2433:
-------------------------------------
Any objects to this?
The objection to SOLR-332 was to exposing the properties variable -- this just lets us ask what properties it has and clearly labels things as internal
> Make FieldProperties bit masks protected
> ----------------------------------------
>
> Key: SOLR-2433
> URL: https://issues.apache.org/jira/browse/SOLR-2433
> Project: Solr
> Issue Type: Improvement
> Reporter: Ryan McKinley
> Priority: Trivial
> Fix For: 4.0
>
> Attachments: SOLR-2433-ProtectedFieldProperties.patch
>
>
> bit mask values are now package protected, so we have to duplicate:
> {code:java}
> final static int INDEXED = 0x00000001;
> final static int TOKENIZED = 0x00000002;
> final static int STORED = 0x00000004;
> final static int BINARY = 0x00000008;
> final static int OMIT_NORMS = 0x00000010;
> ...
> {code}
> to set these fields explicitly. This is important for complex fields like LatLonType and poly fields in general
--
This message is automatically generated by JIRA.
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