Hi,

I'm using the lucene module from mmapps.sf.net for full-text searches. It
works really great, but there's one thing I didn't get to work yet.

I want to sort the results. According to the API docs I should use
<lm:sort>... At first I tried something like this:

        <lm:search var="results">
                <lm:match field="indexed.text" value="${param.s_what}" />
            <lm:sort field="number" />
        </lm:search>   

This howver, generates an error. Unfortunately it doesn't show me the
error because I don't see errors on pages using jstl taglibs (don't ask me
why!).
Anyway, the docs/samples aren't very clear about how to use the sort tag.
According to somebody on IRC, it isn't even implemented yet?
If it's not implemented, does anybody know a workaround?

ps: I'm using mmbase 1.7 and the latest lucene module from
mmapps.sourceforge.net

TIA...

Ricardo.

--------------------------------------------
Ricardo Kustner
IC&S B.V.

Stadhouderslaan 57
3583 JD Utrecht
The Netherlands
http://www.ic-s.nl

T: +31 30 6355730
F: +31 30 6355731 

PGP-key: http://www.ic-s.nl/keys/ricardo.txt

_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to