Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Sorting KinoSearch results

by jds17 (Pilgrim)
on Jun 19, 2008 at 11:51 UTC ( [id://692896]=note: print w/replies, xml ) Need Help??


in reply to Sorting KinoSearch results

I did not hear about this module before, looks very interesting. I read some of the documentation and came across KinoSearch::Search::SortSpec, which can be used to define altrnative sort orders. Seems like this could help you.

Replies are listed 'Best First'.
Re^2: Sorting KinoSearch results
by moritz (Cardinal) on Jun 19, 2008 at 13:28 UTC
    Thanks, that seem to do the trick. Now I have to convince SVN::Log::Index to actually use it, either by patching or subclassing.

      Please note that SortSpec is available in the 0.20_xx devel branch of KinoSearch but not the stable 0.1x branch. While you should be able to use the devel branch on systems that you control, submitting a patch for SVN::Log::Index would be problematic: unfortunately, adding features such as SortSpec to KS necessitated changing both the file format and the API in ways that are not backwards compatible.

      When the KS devel branch approaches release maturity, I'm willing to work in conjunction with CPAN authors who have distros with KinoSearch as a dependency to update their modules. Patching for the current devel release probably wouldn't make sense though, because the KS file format and API are still unstable. (As for release schedule, I never issue time estimates unless somebody's paying me :) -- but FWIW I am working on KS full time right now.)

      --
      Marvin Humphrey
      Rectangular Research ― http://www.rectangular.com
        Thanks for your status update.
        While you should be able to use the devel branch on systems that you control, submitting a patch for SVN::Log::Index would be problematic: unfortunately, adding features such as SortSpec to KS necessitated changing both the file format and the API in ways that are not backwards compatible.

        That's not a problem in this case, because my patch doesn't add a "sort by" feature, but rather allows to pass arbitrary queries to KinoSearch - the module user is then responsible for doing the right thing, depending on his KinoSearch version.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://692896]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2026-02-18 15:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.