oscaruser@programmer.net
2006-Jun-17 00:02 UTC
[Xapian-discuss] xapian-compact and -F option (Enable fuller compaction)
Folks, When using the fuller compaction, if I am compacting two flint DBs and both contain the same record, one being more recent than the other, how is that handled? Thanks OSC -- ___________________________________________________ Play 100s of games for FREE! http://games.mail.com/
Olly Betts
2006-Jun-17 00:11 UTC
[Xapian-discuss] xapian-compact and -F option (Enable fuller compaction)
On Fri, Jun 16, 2006 at 03:01:39PM -0800, oscaruser@programmer.net wrote:> When using the fuller compaction, if I am compacting two flint DBs and > both contain the same record, one being more recent than the other, > how is that handled?xapian-compact doesn't have any concept of "the same record". xapian-compact renumbers all documents from each database so their docids are higher than those in the previous input database. It doesn't merge documents regardless of their contents - or to put it another way the number of documents in the merged database will always be the sum of the number of documents in each input database. Using "-F" doesn't change that. Cheers, Olly
oscaruser@programmer.net
2006-Jun-17 15:48 UTC
[Xapian-discuss] xapian-compact and -F option (Enable fuller compaction)
There is any way to achieve the document updating function using URL as keys? Thanks> ----- Original Message ----- > From: "Olly Betts" <olly@survex.com> > To: oscaruser@programmer.net > Subject: Re: [Xapian-discuss] xapian-compact and -F option (Enable fuller compaction) > Date: Sat, 17 Jun 2006 00:11:34 +0100 > > > On Fri, Jun 16, 2006 at 03:01:39PM -0800, oscaruser@programmer.net wrote: > > When using the fuller compaction, if I am compacting two flint DBs and > > both contain the same record, one being more recent than the other, > > how is that handled? > > xapian-compact doesn't have any concept of "the same record". > > xapian-compact renumbers all documents from each database so their > docids are higher than those in the previous input database. It doesn't > merge documents regardless of their contents - or to put it another way > the number of documents in the merged database will always be the sum of > the number of documents in each input database. > > Using "-F" doesn't change that. > > Cheers, > Olly>-- ___________________________________________________ Play 100s of games for FREE! http://games.mail.com/