[Xapian-tickets] [Xapian] #302: Option for scriptindex to preserve non-specified fields in existing records (nondestructive update)

Xapian nobody at xapian.org
Wed Oct 5 00:26:44 BST 2022


#302: Option for scriptindex to preserve non-specified fields in existing records
(nondestructive update)
---------------------------+-------------------------------
 Reporter:  Rod McFarland  |             Owner:  Olly Betts
     Type:  enhancement    |            Status:  new
 Priority:  normal         |         Milestone:
Component:  Omega          |           Version:
 Severity:  normal         |        Resolution:
 Keywords:                 |        Blocked By:
 Blocking:                 |  Operating System:  All
---------------------------+-------------------------------
Comment (by Olly Betts):

 I just came across this ticket while trying to tidy up the bug list.  I'm
 not sure why it never got responded to before, but sorry about that.

 It's kind of feasible to do, but it wouldn't be all that efficient as
 things stand.

 The problem with only updating some fields is that it would require
 removing terms from an existing document selectively, and behind the
 scenes that reads in the existing term list for the document into a
 structure in memory, then iterates to find all terms which don't have a
 prefix matching a `keepoldifnull` field and removes those terms, then adds
 in the new terms.

 To be worthwhile I think this would really need #429 doing first.
-- 
Ticket URL: <https://trac.xapian.org/ticket/302#comment:1>
Xapian <https://xapian.org/>
Xapian


More information about the Xapian-tickets mailing list