>Flags. This is how I propose to deal with searches by field. As a bonus, it
>gives us on-the-fly weighting factors. Put simply, you define a base set of
>flags and leave the rest up to the user to define in the config file.
>Base set: (flag #, then int)
>0 0 - plain text
>1 1 - title
>2 2 - header
>3 4 - keyword
>4 8 - description (e.g. META)
>5 16 - link description
>6 32 - author
>7 64 - subject
>8+ 128+ - undefined
>
Wonderful IDEA Geoff. I think it's a good solution. Using bit masks we
could improve our disk requirements and indexing and searching could not
get too much lower ... But, if I am not wrong, by this way, the user could
set other 8 fields. For me, the only problem is: are they enough?
And what do you mean by word position, exactly? Is it the position in chars
terms, HTML tags excluded?
That would be all, Thanx and ......
Ciao from Italy :-]
Gabriele
----------------------------------
Gabriele Bartolini
U.O. Rete Civica - Comune di Prato
Prato - Italia - Europa
e-mail: [EMAIL PROTECTED]
http://www.po-net.prato.it
----------------------------------
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.