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

Xapian nobody at xapian.org
Tue Feb 21 09:23:56 GMT 2012


#282: Assorted enhancements to omindex
-------------------------+--------------------------------------------------
 Reporter:  olly         |       Owner:  olly     
     Type:  enhancement  |      Status:  assigned 
 Priority:  normal       |   Milestone:  1.2.x    
Component:  Omega        |     Version:  SVN trunk
 Severity:  normal       |    Keywords:           
Blockedby:               |    Platform:  All      
 Blocking:               |  
-------------------------+--------------------------------------------------

Comment(by exec):

 Nice functionality, I especially like the reqursion capability on
 archives and multipart email messages. However, there seem to be some
 problems with the handling of cache directories.

 I'm testing on Ubuntu 10.04 (64bit). I had the following message:

 {{{
 $ ls -l /home/user/omegatrial/test/
 total 1452
 -rw-r--r-- 1 user user 1451909 2012-02-21 09:13 2797172.msg
 }}}

 I tried to index it with the following command, but kept getting
 errors.

 {{{
 $ omindex -M 'msg:application/vnd.ms-outlook' --db /home/user/omegadb/
 --url / /home/user/omegatrial/test/
 Can't open directory
 "/home/user/omegatrial/test/2797172.msg/.msg/2797172.msg" (Not a
 directory) - skipping directory "l/test/2797172.msg/.msg/2797172.msg"
 }}}

 I used the ms-outlook indexer because of the possibility of handling
 multipart attachments nicely. Even though the message was correctly
 exploded into the cache dir by mimeexplode, omindex seemed to look for
 it in a subdirectory of the original dir.

 Also, the outlook2text script did not work for me at all. I'm
 attaching patches which seemed to fix the functionality for me.

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



More information about the Xapian-tickets mailing list