[KinoSearch] Roadmap .30 and Scorers
Marvin Humphrey
marvin at rectangular.com
Tue Jul 22 19:31:58 PDT 2008
On Jul 22, 2008, at 5:28 PM, Andrew Bramble wrote:
> To use the CPAN example again, rather than choosing to search for
> "date parser" and license:artistic , might the initial search for
> "date parser" return the matching results AND a structure describing
> that of 100 matched documents, the field 'license' breaks down to
> perl=50, artistic=30, gpl=10, bsd=5, apache=5.
> One could then repeat the original search , adding 'license:perl'
> to narrow the search to only the 50 matching documents.
Some people call this "faceted search". We discussed it at...
<http://www.gossamer-threads.com/lists/kinosearch/discuss/2911>
> Since this would required reading/examining each matched record I
> would guess this belongs in the XS/C rather than perl.
Probably, you'd want to do rapid prototyping in Perl, then port to C/XS.
The hitch is there isn't a formal C API yet. The fundamentals of the
OO design are done and ought to work great, but we need the surface
level stuff.
Whatever we come up with for the C API will be clunky and weird, but
we're just going to have to accept that. We aren't doing serious
language design, and if we pretend that we are, we'll never finish.
> Is it wishful thinking ? or might this be possible with subclassable
> scorers/hit collectors.
Absolutely, it's possible. It doesn't belong in core KS, but it's an
ideal extension, and I look forward to supporting whoever takes on the
task of writing it.
Marvin Humphrey
Rectangular Research
http://www.rectangular.com/
_______________________________________________
KinoSearch mailing list
KinoSearch at rectangular.com
http://www.rectangular.com/mailman/listinfo/kinosearch
More information about the kinosearch
mailing list