Find answers from the community

Updated 3 months ago

List index

Hello, I am currently using a ListIndex with a chunk size of 8000 tokens. I learned that if we use a ListIndex every chunk if indexed during query time and not indexed before during set up (like VecotrStoreIndex). My question is does this indexing for ListIndex happen during every query or is it only during first query and then the index is stored? thanks
L
a
2 comments
Yea, so the list index just stores all the nodes in an in-memory list.

So there isn't actually any indexing really, besides chunking documents into nodes.

On every query, it will just use that in-memory list, so it's zero computation πŸ‘
Thanks Logan. Super useful
Add a reply
Sign up and join the conversation on Discord