[Xapian-tickets] [Xapian] #282: Assorted enhancements to omindex

Xapian nobody at xapian.org
Thu Sep 6 05:42:43 BST 2018


#282: Assorted enhancements to omindex
-------------------------+------------------------------
 Reporter:  olly         |             Owner:  olly
     Type:  enhancement  |            Status:  assigned
 Priority:  normal       |         Milestone:  1.4.x
Component:  Omega        |           Version:  SVN trunk
 Severity:  normal       |        Resolution:
 Keywords:               |        Blocked By:
 Blocking:               |  Operating System:  All
-------------------------+------------------------------

Comment (by olly):

 e1b717c75a2460f27d20057b2c8a8561fa05930f adds a new `--mime-type-match`
 option, so the effect of this hunk can now instead be specified via
 command-line option `--mime-type-match='[Mm][Bb][Oo][Xx]:message/rfc822'`:

 {{{
         if (strcasecmp(d.leafname(), "mbox") == 0) {
             // Special filename.
             mimetype = "message/rfc822";
             goto got_mimetype;
         }
 }}}

--
Ticket URL: <https://trac.xapian.org/ticket/282#comment:17>
Xapian <https://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list