AnsweredAssumed Answered

Sort by column

Question asked by filipousiss on Nov 14, 2006
Latest reply on Apr 5, 2007 by lfuller
Hi,

I'm wondering if it's possible to make a query like in sql where you can order by column with lucene??

SQL

SELECT *
FROM "spacename"
[WHERE "condition"]
ORDER BY "modified" [ASC, DESC]

LUCENE

new Query(Constants.QUERY_LANG_LUCENE, PATH:\"/app:company_home/cm:"+spacename+"//*\ AND (TEXT:" word  ")));   + ORDER By???


Thx in advance

Outcomes