Issue is if the "filter" is empty so that is does not append the "AND ALL:" to the query the getValues returns all of the properties of the node. However if the filter is set and it still returns the expected nodes, the getValues for those nodes is null.

Other note is if I do the same query without using SearchParameters and just doing it from the query(x,x,x) method the getValues returns as expected.

P.S. I know I should use parameterized query, still trying to figure out how to set the QName on that. If anyone has examples of using that would be helpful.

After messing with various knobs, I looked at the useInMemorySort option. So if it uses the inmemorysort because the result set is below the threshold then I get no properties in the ResultSet just the noderef. If the resultset is too large it then does the sort differently and it includes the properties. So if I set setUseInMemorySort(false) it works everytime

This seems like a bug that the resultset changes based on how it decides to do the sort, also kind of defeats the advantage of doing the sort faster inmemory if you then have to go back and fetch the property values of the nodes.