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/17 22:18:29 UTC

[jira] Created: (SOLR-2433) Make FieldProperties bit masks protected

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


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


[jira] [Commented] (SOLR-2433) Make FieldProperties bit masks protected

Posted by "Ryan McKinley (JIRA)" <ji...@apache.org>.
    [ 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


[jira] [Updated] (SOLR-2433) Make FieldProperties bit masks protected

Posted by "Ryan McKinley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan McKinley updated SOLR-2433:
--------------------------------

    Attachment: SOLR-2433-ProtectedFieldProperties.patch

this patch makes the constances protected and adds a protected field to ask if something is on

> 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


[jira] [Resolved] (SOLR-2433) Make FieldProperties bit masks protected

Posted by "Ryan McKinley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan McKinley resolved SOLR-2433.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.2
         Assignee: Ryan McKinley

> 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
>            Assignee: Ryan McKinley
>            Priority: Trivial
>             Fix For: 3.2, 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