[KinoSearch] Subclassable Highlighter
Father Chrysostomos
sprout at cpan.org
Tue Jan 29 16:40:43 PST 2008
On Jan 28, 2008, at 5:27 PM, Marvin Humphrey wrote:
> When would there be duplicates? I suppose you'd see the same
> positions multiple times for a query like 'lincoln "lincoln
> bedroom"', but you'd get different weights. That query would
> probably yield two spans with data like this...
>
> { start_offset => 15, end_offset => 22, weight 1.2 }
> { start_offset => 15, end_offset => 30, weight 3.5 }
I see this is not the same weight that the highlighter is currently
using (1 for each TermQuery, the number of terms for each
PhraseQuery). Should we use $query->make_weight->get_value?
> I'm working on the Doc class right now. You should see some commits
> over the next few hours.
Do you intend to make $reader->fetch_doc return a HitDoc?
_______________________________________________
KinoSearch mailing list
KinoSearch at rectangular.com
http://www.rectangular.com/mailman/listinfo/kinosearch
More information about the kinosearch
mailing list