[Xapian-discuss] xapian-compact and -F option (Enable fuller
compaction)
oscaruser at programmer.net
oscaruser at programmer.net
Sat Jun 17 15:47:53 BST 2006
There is any way to achieve the document updating function using URL as keys?
Thanks
> ----- Original Message -----
> From: "Olly Betts" <olly at survex.com>
> To: oscaruser at 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 at 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/
More information about the Xapian-discuss
mailing list