[Xapian-discuss] Updating xapian entries with omega
Olly Betts
olly at survex.com
Wed Nov 8 15:33:56 GMT 2006
On Wed, Nov 08, 2006 at 01:45:53PM +0100, M.J. van der Veen wrote:
> I'm using omega and xapian to index a discussion board. Now, I have defined
> a UNIQUE field in my index file.
Which Xapian version are you using?
> When I supply two records with the same unique value sequentially to the
> omega scriptindex binary it returns that 2 entries are added.
That sounds like a bug. Do you have a simple example which shows this?
The index script and dump file should be enough.
> Moreover, what is the cost of an update to the database? Would it make a big
> difference to update multiple records in a single run instead of executing
> the scriptindex seperately for each update?
It will be much faster to update multiple records in a single run.
Cheers,
Olly
More information about the Xapian-discuss
mailing list