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

Xapian nobody at xapian.org
Fri Oct 29 01:51:40 BST 2010


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

Comment(by olly):

 I'll attach a further updated patch in a moment, which:

  * removes more changes which are no longer relevant
  * drops partial attempt to add support for U CGI parameter for wildcarded
 support of URLs - if someone wanted to add this, they'd be better off
 starting from scratch than the code here
  * untangles the diff where a lot of code has been reindented and also
 modified
  * uses a subdirectory of tmpdir instead of having machinery to specify
 cache_dir (the user can set TMPDIR if /tmp isn't appropriate)
  * splits some hunks with disparate changes in, and trim context on other
 hunks where the wider context has changed but the narrower context should
 still match

 So the different conceptual changes still in the patch are:

  * Add -no-undefined to AM_LDFLAGS
  * Unpacking "container file types" (e.g. archives like .zip, email
 folders like .mbox, email messages with attachments) so we can index the
 sub-parts
  * Logging stderr from filters to a file
  * The seemingly arbitrary addition of more words all starting with "a" to
 the stopword list - stopping some of these seems a bit aggressive to me
  * Defaulting to adding the size and lastmod time of the dump file in
 scriptindex.  In general, the size of the dump file seems misleading
 (though if you put one document per dump, less so).  The lastmod isn't
 particular helpful in many cases either
  * Some tweaks to installing docs in the .spec file, which I don't know
 the reasons for

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



More information about the Xapian-tickets mailing list