[Xapian-discuss] Working Demo for WWW Search Engine

Olly Betts olly at survex.com
Tue Feb 28 23:55:27 GMT 2006


On Tue, Feb 28, 2006 at 01:22:21PM -0800, Kevin SoftDev wrote:
> url   : unique=Q weight=2 field=url
> title : index    weight=3 field=title
> body  : index    weight=1 field=body

Note that actions are processed from left to right, so none of the
weight actions has any effect.  There's code in scriptindex to warn
of useless actions, but you've hit a case it doesn't handle (weight
followed by an action which has an effect, but doesn't use the weight
set).

I've just removed this blindspot from scriptindex's warning code.
Thanks for your inadvertent bug report!

> PS: Please let me know if you have a better idea. Thanks!

I'm not really sure what you're trying to achieve.  Or was this meant as
a sort of "howto" for using dbi2omega and scriptindex?  There really
should be a "dbi2omega.txt" (I actually have an empty file of that name
in my source tree to remind me to write one!)

Cheers,
    Olly



More information about the Xapian-discuss mailing list