You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
i'm currently using RediSeacrh 0.4 in production and i use FT.INFO num_docs field to get the number of documents in my index. in this method i get less documents then i expect and last documents than showed in redis_docIdCounter, but i guess this counter is global to all indexes.
Is there a way to list indexes ? this will help me debug the problem.
hi @aviperetz34. I suggest you upgrade to a more recent version of the engine that doesn't use redis_docIdCounter (which indeed was global to all indexes). 0.4 is super old. I suggest you switch to 0.10 ASAP
i work in Videocites.
well this will be great but this is not possible for now.
can you tell me the integrity of FT.INFO num_docs field in this version.
I know, I'm talking to Eitan, he's waiting for 0.11 actually to switch (a fix I'm making especially for you guys). num_docs should be 100% accurate. Things that might make it less than the number of documents you think you should have:
inserting duplicate documents.
deleting documents (not sure if it's even supported in 0.4)
inserting invalid documents (with no tokens or fields maybe)
I would not invest time investigating bugs in a 3 month old version...
Activity
dvirsky commentedon Mar 22, 2017
hi @aviperetz34. I suggest you upgrade to a more recent version of the engine that doesn't use redis_docIdCounter (which indeed was global to all indexes). 0.4 is super old. I suggest you switch to 0.10 ASAP
aviperetz34 commentedon Mar 22, 2017
i work in Videocites.
well this will be great but this is not possible for now.
can you tell me the integrity of FT.INFO num_docs field in this version.
dvirsky commentedon Mar 22, 2017
I know, I'm talking to Eitan, he's waiting for 0.11 actually to switch (a fix I'm making especially for you guys). num_docs should be 100% accurate. Things that might make it less than the number of documents you think you should have:
I would not invest time investigating bugs in a 3 month old version...
Merge pull request RediSearch#36 from RediSearch/ft.sug.refactor
Replace C++ POC with Rust POC (#66)
refactor FullTermDocument* into term::Document term::Metadata term::b…
Merge pull request RediSearch#36 from RedisLabsModules/fix_valgrind_e…