[Xapian-tickets] [Xapian] #771: omindex: Handle "directory documents"

Xapian nobody at xapian.org
Thu Oct 25 23:04:12 BST 2018


#771: omindex: Handle "directory documents"
--------------------------------+--------------------------
        Reporter:  olly         |      Owner:  olly
            Type:  enhancement  |     Status:  new
        Priority:  normal       |  Milestone:  1.4.x
       Component:  Omega        |    Version:
        Severity:  normal       |   Keywords:  GoodFirstBug
      Blocked By:               |   Blocking:
Operating System:  All          |
--------------------------------+--------------------------
 Documents from apple iwork (keynote, pages, numbers) can either be a
 single file or a directory of files.  (I think the single file variant is
 actually a zip file container holding the same files as the directory
 variant).

 As of 1.4.8, omindex can handle the file variant, but currently omindex
 doesn't consider a directory could be a document.

 We'd need a way to indicate that a file-extension-to-mimetype mapping is
 for a directory, and then check directories whose leafname has an
 extension against the list of mimetype mappings that are valid for
 directories.  If we get a mimetype, then we should handle that path as a
 document to index rather than recursing into it.

--
Ticket URL: <https://trac.xapian.org/ticket/771>
Xapian <https://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list