You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/05/05 17:31:00 UTC

[jira] [Commented] (LUCENE-10502) Use IndexedDISI to store docIds and DirectMonotonicWriter/Reader to handle ordToDoc

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

ASF subversion and git services commented on LUCENE-10502:
----------------------------------------------------------

Commit b3867da5443f58c554a3fd8391d3c98e0b2b7790 in lucene's branch refs/heads/vectors-disi-direct from Lu Xugang
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=b3867da5443 ]

LUCENE-10502: Use IndexedDISI to store docIds and DirectMonotonicWriter/Reader to handle ordToDoc (#792)

* LUCENE-10502: Use IndexedDISI to store docIds and DirectMonotonicWriter/Reader to handle ordToDoc

* TestBackwardsCompatibility was temporarily removed for skipping test

* dense case and empty case do not need to store ordToMap mapping

* fix

* invert if condition

* add subclass of dense sparse and empty

* spotless

* remove the ord variable

* move `getOffHeapVectorValues` to `OffHeapVectorValues` class as a static method and rename it as `load`

* move the getAcceptOrds method to OffHeapVectorValues

* move OffHeapVectorValues to its own class

* keep OffHeapVectorValues and all its subclasses in one place

* make `OffHeapVectorValues`'s subclasses private except `DenseOffHeapVectorValues`

* add some short comments

> Use IndexedDISI to store docIds and DirectMonotonicWriter/Reader to handle ordToDoc 
> ------------------------------------------------------------------------------------
>
>                 Key: LUCENE-10502
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10502
>             Project: Lucene - Core
>          Issue Type: Improvement
>    Affects Versions: 9.1
>            Reporter: Lu Xugang
>            Priority: Major
>          Time Spent: 9h
>  Remaining Estimate: 0h
>
> Since at search phase, vector's all docs of all fields will be fully loaded into memory, could we use IndexedDISI to store docIds and DirectMonotonicWriter/Reader to handle ordToDoc mapping?



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org