Opened 16 years ago

Closed 16 years ago

#342 closed enhancement (fixed)

Omega: Add option to avoid reindexing unchanged files

Reported by: Frank J Bruzzaniti Owned by: Olly Betts
Priority: normal Milestone: 1.1.1
Component: Omega Version: 1.0.10
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Operating System: All

Description (last modified by Olly Betts)

Patch against Xapian-Omega 1.0.10 implementing last_mod.

Attachments (1)

last_mod.patch (2.7 KB ) - added by Frank J Bruzzaniti 16 years ago.

Download all attachments as: .zip

Change History (4)

by Frank J Bruzzaniti, 16 years ago

Attachment: last_mod.patch added

comment:1 by Olly Betts, 16 years ago

Description: modified (diff)
Milestone: 1.1.1
Status: newassigned
Summary: Omega: Index based on last modification (last_mod) time.Omega: Add option to avoid reindexing unchanged files
Version: 1.0.10

Thanks.

Setting milestone to 1.1.1.

comment:2 by Olly Betts, 16 years ago

So we don't forget this idea (which I posted to xapian-discuss):

On trunk we could use the value upper bound as a cheaper check which would help a lot. If a file is newer than the newest file in the index when we started then it definitely needs reindexing, and updated files will usually be newer than the most recent index run. This check would also nicely handle the case of indexing starting from an empty database.

comment:3 by Olly Betts, 16 years ago

Resolution: fixed
Status: assignedclosed

Fixed in trunk r12532 using the value upper bound approach so it should be very efficient for chert.

Note: See TracTickets for help on using tickets.