roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave <snoopd...@gmail.com>
Subject Re: Roller Search Script
Date Wed, 05 May 2010 11:17:32 GMT
I don't remember a discussion on this topic.

If you want to do some custom dev, and you've got Java skills, then
here's an idea.

Take a look at the SearchServlet. An object of class WebSearchRequest
is used to parse apart the incoming URL arguments and then and object
of class SearchResultsModel executes the search and is passed into the
Velocity engine so that search results can be displayed.

You could add some new URL parameters (like search order) in to
WebSearchRequest and then change the way that SearchResultsModel
executes the query.

Hope that helps...

- Dave


On Fri, Apr 30, 2010 at 8:48 AM, Bickley, Scott <sbickley@campus.fsu.edu> wrote:
> Has anyone had any luck with enhancing Roller's search feature
> (/roller/"weblogid"/search)?
>
> As is, Roller will only sort by date of post, which makes sense for what
> it's designed (blogging). Our group is using it more for an FAQ
> database, however, and we'd like it to be able to sort by closest match.
> Does anyone know if there has been any discussion on this topic?
>
> Thanks for the help.
>
>
> Sincerely,
>
>
>
> Scott Bickley
>
> sbickley@campus.fsu.edu
>
> (850) 644-3140
>
>
>
>

Mime
View raw message