
hdp at pobox
Jun 20, 2007, 8:21 PM
Views: 1667
Permalink
|
|
more abstract interfaces to kinosearch
|
|
There are two things I find myself wanting over and over when I use KS: * easier adding/loading: $index->add(@objects), or perhaps $index->load() (using a predefined, per-schema data source) * easier searching, without using QueryParser, like SQL::Abstract (since that's what I'm used to): $hits = $index->search({ foo => 1, bar => [ (qw(baz quux) ] }) I've created prototypes of both of these for a project I'm working on. If anyone's interested, I'd love suggestions; I'll probably try to spin them off into e.g. KSx::Manager or KSx::AbstractSearch. In both cases my fundamental goal is to reduce the number of objects and method calls needed in code that manipulates or uses the invindex, because refactoring is nice and I don't like doing all that typing. hdp.
|