You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Dave <sn...@gmail.com> on 2010/05/05 13:17:32 UTC

Re: Roller Search Script

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 <sb...@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
>
>
>
>