<?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 Lucene Search and sorting by Region in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-and-sorting-by-region/m-p/246353#M199483</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm doing a lucene search using Search Parameters to limit and sort the results. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;SearchParameters sp = new SearchParameters();&lt;BR /&gt;sp.addStore(aStore);&lt;BR /&gt;sp.setLanguage(SearchService.LANGUAGE_LUCENE);&lt;BR /&gt;sp.setQuery(myQuery);&lt;BR /&gt;sp.addSort(mySort, true);&lt;BR /&gt;sp.setLimit(aLimit);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;When sorting by a property such as @cm:author, @cm:title, it works well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do i sort by a category, such as the Region category?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Sep 2009 01:35:32 GMT</pubDate>
    <dc:creator>tara_b</dc:creator>
    <dc:date>2009-09-04T01:35:32Z</dc:date>
    <item>
      <title>Lucene Search and sorting by Region</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-and-sorting-by-region/m-p/246353#M199483</link>
      <description>Hello,I'm doing a lucene search using Search Parameters to limit and sort the results. SearchParameters sp = new SearchParameters();sp.addStore(aStore);sp.setLanguage(SearchService.LANGUAGE_LUCENE);sp.setQuery(myQuery);sp.addSort(mySort, true);sp.setLimit(aLimit);‍‍‍‍‍‍When sorting by a property suc</description>
      <pubDate>Fri, 04 Sep 2009 01:35:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-and-sorting-by-region/m-p/246353#M199483</guid>
      <dc:creator>tara_b</dc:creator>
      <dc:date>2009-09-04T01:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene Search and sorting by Region</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-and-sorting-by-region/m-p/246354#M199484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I couldnt work out what the solution was, so i ended up using a TreeSet - i processed each row and added it in a certain order.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2009 06:10:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-and-sorting-by-region/m-p/246354#M199484</guid>
      <dc:creator>tara_b</dc:creator>
      <dc:date>2009-09-23T06:10:13Z</dc:date>
    </item>
  </channel>
</rss>

