Opened 12 years ago

Closed 12 years ago

#571 closed enhancement (wontfix)

omindex to work on a single file

Reported by: Charles Owned by: Olly Betts
Priority: normal Milestone:
Component: Omega Version:
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Operating System: All

Description (last modified by Olly Betts)

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.

Change History (1)

comment:1 by Olly Betts, 12 years ago

Description: modified (diff)
Resolution: wontfix
Status: newclosed

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".

Note: See TracTickets for help on using tickets.