[Xapian-tickets] [Xapian] #639: omega : should reindex file's write when needed
Xapian
nobody at xapian.org
Tue May 12 12:29:13 BST 2015
#639: omega : should reindex file's write when needed
-------------------------+-----------------------------
Reporter: egarette | Owner: olly
Type: enhancement | Status: assigned
Priority: normal | Milestone: 1.3.3
Component: Omega | Version:
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
-------------------------+-----------------------------
Changes (by olly):
* status: new => assigned
Comment:
[2853cdace3ab8ba4d23a1dd568f207b1bbbbb4b5] adds a `--track-ctime` option
which stores ctime and uses it instead of mtime to decide if we reindex.
But mtime is still used in the UI.
I realised we can actually easily check for the case when the file
contents are the same and only the inode metadata has changes (newer ctime
but same mtime), and in this case just update the terms and values for
that metadata in the existing document - that's a lot less work,
especially if a slow filter is involved (e.g. if we are doing OCR to get
document text). I've not implemented this optimisation yet though.
--
Ticket URL: <http://trac.xapian.org/ticket/639#comment:2>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list