You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2022/02/24 09:31:32 UTC

[GitHub] [lucene] jpountz opened a new pull request #708: LUCENE-10408: Write doc IDs of KNN vectors as ints rather than vints.

jpountz opened a new pull request #708:
URL: https://github.com/apache/lucene/pull/708


   Since doc IDs with a vector are loaded as an int[] in memory, this changes the
   on-disk format of vectors to align with the in-memory representation by using
   ints instead of vints to represent doc IDs. This might make vectors a bit
   larger on disk, but also a bit faster to open.
   
   I made the same change to how we encode nodes on levels for the same reason.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [lucene] jpountz merged pull request #708: LUCENE-10408: Write doc IDs of KNN vectors as ints rather than vints.

Posted by GitBox <gi...@apache.org>.
jpountz merged pull request #708:
URL: https://github.com/apache/lucene/pull/708


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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