moritz has asked for the wisdom of the Perl Monks concerning the following question:
I'm about to use the excellent KinoSearch module for a few non-standard tasks, for example for searching in IRC logs and SVN commit messages.
Both are "non-standard" in that it doesn't make sense to order the results by match quality, chronologically ordered results are much more useful (at least optionally).
Of course I could retrieve the results normally, sort them all, and re-implement the paging of results manually, but that's rather inefficient and clumsy.
Can I tell KinoSearch somehow to sort the result set by user-defined criteria? I know these criteria at indexing time (and even index creation time, if that helps).
grep'ping for sort seems promising, but so far I couldn't find documentation on how to do it.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Sorting KinoSearch results
by jds17 (Pilgrim) on Jun 19, 2008 at 11:51 UTC | |
by moritz (Cardinal) on Jun 19, 2008 at 13:28 UTC | |
by creamygoodness (Curate) on Jun 20, 2008 at 17:56 UTC | |
by moritz (Cardinal) on Jun 22, 2008 at 16:20 UTC |