AnsweredAssumed Answered

search service and sort

Question asked by darionis on Mar 18, 2015
Hi all,

I noticed strange behavior with search service when sorting search result. Without sorting, I am able to call ResultSetRow#getValues() to fetch all properties of a serach result. However, when I request sorting with SearchParameters#addSort(aColumn, true), ResultSetRow#getValues() no longer works and returns empty map of values. Now I need to getNodeRef() and then call NodeService#getProperties().

Can anybody please comment on this, is this normal, am I doing somethnig wrong. I am worried about performance because i call NodeService#getProperties() for every search result.

Is there any other way?

Thank you!

Outcomes