lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johnbesel <>
Subject Re: Indexer search with filter and sort
Date Mon, 21 Jan 2013 13:28:43 GMT
I made  a Junit Test with some values. I sort values DESC and get following:

im sundheimer fort 1-9
bray-sur-seine-str. 1
bray-sur-seine-str. 1
berck-sur-mer-str. 1

this is not DESC, but also not ASC. what is this????
SortField field=new SortField(sortKey, SortField.STRING, true);
List<SortField> luceneSortFields = new ArrayList<SortField>();

Sort sort = new Sort(luceneSortFields.toArray(new
topDocs =, Integer.MAX_VALUE, sort);

has anybody any Idea??
what is wrong in my implementation?

View this message in context:
Sent from the Lucene - General mailing list archive at

View raw message