AnsweredAssumed Answered

Lucene Search and sorting by Region

Question asked by tara_b on Sep 4, 2009
Latest reply on Sep 23, 2009 by tara_b
Hello,

I'm doing a lucene search using Search Parameters to limit and sort the results.

SearchParameters sp = new SearchParameters();
sp.addStore(aStore);
sp.setLanguage(SearchService.LANGUAGE_LUCENE);
sp.setQuery(myQuery);
sp.addSort(mySort, true);
sp.setLimit(aLimit);

When sorting by a property such as @cm:author, @cm:title, it works well.

How do i sort by a category, such as the Region category?

Thanks for your help!

Outcomes