You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2011/06/22 20:07:47 UTC

[jira] [Created] (LUCENE-3231) Add fixed size DocValues int variants & expose Arrays where possible

Add fixed size DocValues int variants & expose Arrays where possible
--------------------------------------------------------------------

                 Key: LUCENE-3231
                 URL: https://issues.apache.org/jira/browse/LUCENE-3231
             Project: Lucene - Java
          Issue Type: Improvement
          Components: core/index
    Affects Versions: 4.0
            Reporter: Simon Willnauer
             Fix For: 4.0


currently we only have variable bit packed ints implementation. for flexible scoring or loading field caches it is desirable to have fixed int implementations for 8, 16, 32 and 64 bit. 

--
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] (LUCENE-3231) Add fixed size DocValues int variants & expose Arrays where possible

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

Simon Willnauer updated LUCENE-3231:
------------------------------------

    Attachment: LUCENE-3231.patch

here is a new patch, 

* adds Field API for new int types
* adds tests for getArray / hasArray
* adds tests for new Int types
* unifies some of the existing tests
* adds javadocs

I think we ready here... all tests pass 

> Add fixed size DocValues int variants & expose Arrays where possible
> --------------------------------------------------------------------
>
>                 Key: LUCENE-3231
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3231
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: core/index
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>             Fix For: 4.0
>
>         Attachments: LUCENE-3231.patch, LUCENE-3231.patch
>
>
> currently we only have variable bit packed ints implementation. for flexible scoring or loading field caches it is desirable to have fixed int implementations for 8, 16, 32 and 64 bit. 

--
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] (LUCENE-3231) Add fixed size DocValues int variants & expose Arrays where possible

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

Simon Willnauer resolved LUCENE-3231.
-------------------------------------

       Resolution: Fixed
         Assignee: Simon Willnauer
    Lucene Fields: [New, Patch Available]  (was: [New])

> Add fixed size DocValues int variants & expose Arrays where possible
> --------------------------------------------------------------------
>
>                 Key: LUCENE-3231
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3231
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: core/index
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>            Assignee: Simon Willnauer
>             Fix For: 4.0
>
>         Attachments: LUCENE-3231.patch, LUCENE-3231.patch
>
>
> currently we only have variable bit packed ints implementation. for flexible scoring or loading field caches it is desirable to have fixed int implementations for 8, 16, 32 and 64 bit. 

--
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] (LUCENE-3231) Add fixed size DocValues int variants & expose Arrays where possible

Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-3231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13053865#comment-13053865 ] 

Michael McCandless commented on LUCENE-3231:
--------------------------------------------

This looks great Simon!

> Add fixed size DocValues int variants & expose Arrays where possible
> --------------------------------------------------------------------
>
>                 Key: LUCENE-3231
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3231
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: core/index
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>             Fix For: 4.0
>
>         Attachments: LUCENE-3231.patch
>
>
> currently we only have variable bit packed ints implementation. for flexible scoring or loading field caches it is desirable to have fixed int implementations for 8, 16, 32 and 64 bit. 

--
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] (LUCENE-3231) Add fixed size DocValues int variants & expose Arrays where possible

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

Simon Willnauer updated LUCENE-3231:
------------------------------------

    Attachment: LUCENE-3231.patch

here is a super rough patch with nocommits (and even missing nocommits) showing the idea. this is heavy work in progress though

> Add fixed size DocValues int variants & expose Arrays where possible
> --------------------------------------------------------------------
>
>                 Key: LUCENE-3231
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3231
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: core/index
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>             Fix For: 4.0
>
>         Attachments: LUCENE-3231.patch
>
>
> currently we only have variable bit packed ints implementation. for flexible scoring or loading field caches it is desirable to have fixed int implementations for 8, 16, 32 and 64 bit. 

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