<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ResultSetRow.getValues is null for certain queries? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/resultsetrow-getvalues-is-null-for-certain-queries/m-p/289286#M242416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After messing with various knobs, I looked at the useInMemorySort option.&amp;nbsp; 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.&amp;nbsp; If the resultset is too large it then does the sort differently and it includes the properties.&amp;nbsp; So if I set setUseInMemorySort(false) it works everytime&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Jun 2013 19:25:23 GMT</pubDate>
    <dc:creator>hagak</dc:creator>
    <dc:date>2013-06-14T19:25:23Z</dc:date>
    <item>
      <title>ResultSetRow.getValues is null for certain queries?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/resultsetrow-getvalues-is-null-for-certain-queries/m-p/289285#M242415</link>
      <description>Below is a sinppet of code &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;StringBuffer sbQuery = new StringBuffer();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sbQuery.append("TYPE:\"cm&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;erson\"");&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (!StringUtils.isBlank(filter)) {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sbQuery.append(" AND ALL:\"" + filter + "*\"");&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SearchService searchService = serviceRegistry.getSearchService();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;</description>
      <pubDate>Thu, 13 Jun 2013 20:52:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/resultsetrow-getvalues-is-null-for-certain-queries/m-p/289285#M242415</guid>
      <dc:creator>hagak</dc:creator>
      <dc:date>2013-06-13T20:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: ResultSetRow.getValues is null for certain queries?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/resultsetrow-getvalues-is-null-for-certain-queries/m-p/289286#M242416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After messing with various knobs, I looked at the useInMemorySort option.&amp;nbsp; 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.&amp;nbsp; If the resultset is too large it then does the sort differently and it includes the properties.&amp;nbsp; So if I set setUseInMemorySort(false) it works everytime&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 19:25:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/resultsetrow-getvalues-is-null-for-certain-queries/m-p/289286#M242416</guid>
      <dc:creator>hagak</dc:creator>
      <dc:date>2013-06-14T19:25:23Z</dc:date>
    </item>
  </channel>
</rss>

