Hide Forgot
Title: Sorting Describe the issue: org.infinispan.query.FullTextQuery query = s.createFullTextQuery( query, Book.class ); org.apache.lucene.search.Sort sort = new Sort( new SortField("title", SortField.STRING)); query.setSort(sort); List results = query.list(); Suggestions for improvement: org.infinispan.query.CacheQuery cacheQuery = Search.getSearchManager(cache).getQuery(luceneQuery, Book.class); org.apache.lucene.search.Sort sort = new Sort( new SortField("title", SortField.STRING)); cacheQuery.setSort(sort); List results = cacheQuery.list(); Additional information:
Misha seems there are some problems to see text Topic 14312 failed validation and is not included in this build. Please review the compiler error for Topic ID 14312 for more detailed information.
Sorry about that. It should now be fixed and available at the provided link.
Now it is fine. Can be closed. Thanks!
The fix for this bug is now generally released and available here: https://access.redhat.com/site/documentation/en-US/Red_Hat_JBoss_Data_Grid/6.2/index.html