[Xapian-tickets] [Xapian] #743: omindex: delay libmagic checks
Xapian
nobody at xapian.org
Wed Apr 3 20:29:30 BST 2019
#743: omindex: delay libmagic checks
--------------------+-------------------------------
Reporter: olly | Owner: barufa
Type: defect | Status: new
Priority: normal | Milestone: 1.4.x
Component: Omega | Version: git master
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
--------------------+-------------------------------
Comment (by barufa):
I have a question.
If the ctime of a file has changed but the mtime is unchanged, we can
update the existing Document (and avoid re-extracting the text). However,
I am not sure of which is the cheapest(fastest) way to update it.
Also, I don't know how to test the code properly. At the moment, I am
using 'make check' but there are others options in the makefile.
To sum up, I see a 'FIXME' coment (''FIXME: except permissions.'' at line
553) and I cannot understand it. It said ' ''We only store and check the
mtime (last modified) - a change to the metadata won't generally cause a
previous failure to now work.'' '
--
Ticket URL: <https://trac.xapian.org/ticket/743#comment:7>
Xapian <https://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list