cancel
Showing results for 
Search instead for 
Did you mean: 

lifetask: lucene queries; sorting by custom type

robobot
Champ in-the-making
Champ in-the-making
hello,
problems with queries won't stop:
sometimes the properties will be read in the assumend sortorder, some other time they are not sorted. when i want to rewrite these properties, an exception occurs because of different data types. they have the wrong index in the array.
how can i guarentee, that i will get these properties always in the right sortoder as shown.

example outputs


–> right sortoder
[Lieferant 1, null, 1, nm-rg-1,15 Dezember 2008 01:00,10 Dezember 2008 01:00, 05/05]

–> wrong sortorder
[null,  Lieferant 1,1,05/05,15 Dezember 2008 01:00,nm-rg-1,10 Dezember 2008 01:00]

[img]http://www3.pic-upload.de/09.09.09/xltjobcb3b6m.png[/img]
1 REPLY 1

robobot
Champ in-the-making
Champ in-the-making
is it possible to manage this without using SearchService API ?
according to the example
http://wiki.alfresco.com/wiki/Search#Queries_That_Sort
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.