[Xapian-tickets] [Xapian] #571: omindex to work on a single file

Xapian nobody at xapian.org
Thu Dec 8 08:33:47 GMT 2011


#571: omindex to work on a single file
-------------------------+--------------------------------------------------
 Reporter:  catkin       |        Owner:  olly   
     Type:  enhancement  |       Status:  closed 
 Priority:  normal       |    Milestone:         
Component:  Omega        |      Version:         
 Severity:  normal       |   Resolution:  wontfix
 Keywords:               |    Blockedby:         
 Platform:  All          |     Blocking:         
-------------------------+--------------------------------------------------
Changes (by olly):

  * status:  new => closed
  * resolution:  => wontfix


Old description:

> Given the poor reliability of filters, it would be nice to be able to use
> omindex on a single file instead of a directory.  This could be used as a
> fallback after filter failure.  It would be an alternative to my
> enhancement request "omindex: fallback filter(s)?"
> http://trac.xapian.org/ticket/568
>
> The use case I am thinking of is:
> 1. Run omindex normally.
> 2. Parse the omindex output identifying files that failed.
> 3. Run the modified omindex on each failed file with a different filter.
>
> It could be implemented by making BASEDIR argument mandatory when the
> last argument is a file instead of a directory.

New description:

 Given the poor reliability of filters, it would be nice to be able to use
 omindex on a single file instead of a directory.  This could be used as a
 fallback after filter failure.  It would be an alternative to my
 enhancement request "omindex: fallback filter(s)?"
 http://trac.xapian.org/ticket/568

 The use case I am thinking of is:
  1. Run omindex normally.
  2. Parse the omindex output identifying files that failed.
  3. Run the modified omindex on each failed file with a different filter.

 It could be implemented by making BASEDIR argument mandatory when the last
 argument is a file instead of a directory.

--

Comment:

 I don't see why there's a need to make BASEDIR mandatory in this case - it
 seems you can just make sure you use it if you pass a file.

 We want omindex to support indexing compound file formats like ISO images,
 zip file, mailboxes, MIME email, etc, so forcing a start point which is a
 file to be handled differently seems unhelpful.

 So sorry, but I'm marking this "wontfix".

-- 
Ticket URL: <http://trac.xapian.org/ticket/571#comment:1>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list