0xCAB / zoie

Automatically exported from code.google.com/p/zoie
0 stars 0 forks source link

improve performance for update-only case #51

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In many realtime search applications, there are no deletes.
In the case where recall is high, for each hit candidate, we need to check to 
see if it is in the 
modSet, and can be inefficient.

The idea is at indexing time, the active ram directory before adds a doc into 
the modSet, checks 
against the backup ram reader and disk reader for existence, and add to the 
modsets appropriately.

In the update only case, the modset should be empty and thus avoids the check 
penalty.

Original issue reported on code.google.com by john.w...@gmail.com on 11 Nov 2009 at 6:40

GoogleCodeExporter commented 8 years ago

Original comment by jiong.w...@gmail.com on 13 Nov 2009 at 7:12

GoogleCodeExporter commented 8 years ago

Original comment by john.w...@gmail.com on 15 Dec 2009 at 6:50