<?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 Search Yields Unexpected Results in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/search-yields-unexpected-results/m-p/169257#M122661</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;According to the Search WIKI at &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Search#Category_Queries" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Search#Category_Queries&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;There are not true child relationships between category type nodes and the things they categorize. However, these links can be searched using the special "member" QName.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;And&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This finds any child that is not a "member" child. &lt;BR /&gt;&lt;BR /&gt;To find all subclassifications of "cm&lt;img id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://connect.hyland.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;oftware Document Classification" is more complex as you need to find any children that are not members of the category (ie things that are children but have not been categorised) &lt;BR /&gt;&lt;BR /&gt; +PATH:"/cm:generalclassifiable//cm&lt;img id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://connect.hyland.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;oftware_x0020_Document_x0020_Classification//*"&lt;BR /&gt; -PATH:"/cm:generalclassifiable//cm&lt;img id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://connect.hyland.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;oftware_x0020_Document_x0020_Classification//member"&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;From these two statements I conclude that a search for "//*" will return subcategories and members, and a query for "//member" will only return members.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;The problem is, Alfresco is not behaving as documented.&amp;nbsp; I am using Alfresco 2.9.0B build 707 on Windows XP Business Server with Tomcat 5.5 and Java 1.6.0_04.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a category hierarchy consisting of Regions/USA/&amp;lt;state abbreviations&amp;gt;/&amp;lt;counties&amp;gt;, and I have hundreds of documents assigned to &amp;lt;state abbreviations&amp;gt; and &amp;lt;counties&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A Lucene query in the Node Browser for &lt;/SPAN&gt;&lt;STRONG&gt;+PATH:"/cm:generalclassifiable/cm:Regions/cm:USA//*&lt;/STRONG&gt;&lt;SPAN&gt; matches 401 rows.&amp;nbsp; All of these are Documents.&amp;nbsp; None of these are subcategories of Regions/USA as expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A Lucene query in the Node Browser for &lt;/SPAN&gt;&lt;STRONG&gt;+PATH:"/cm:generalclassifiable/cm:Regions/cm:USA//member"&lt;/STRONG&gt;&lt;SPAN&gt; matches 201 rows.&amp;nbsp; Again, all of these are Documents, but I expected this from the document quoted above.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;I have two BIG problems with these results.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1.&amp;nbsp; Why aren't all 401 documents being returned by the query &lt;/SPAN&gt;&lt;STRONG&gt;+PATH:"/cm:generalclassifiable/cm:Regions/cm:USA//member&lt;/STRONG&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.&amp;nbsp; Why isn't the query &lt;/SPAN&gt;&lt;STRONG&gt;+PATH:"/cm:generalclassifiable/cm:Regions/cm:USA//*&lt;/STRONG&gt;&lt;SPAN&gt; returning any category nodes as documented on the WIKI?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Impact:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp; We have clients complaining that documents in Alfresco are not showing up on their websites.&amp;nbsp; Their websites use the Alfresco web service client to perform Lucene queries for documents by category PATH (as documented on the Search WIKI - we use the "/member" QName for finding documents assigned to a category), and Alfresco is not returning results as documented.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know if you are seeing this issue as well, in this version of Alfresco or another.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am starting this conversation on the forums to confirm that this is a bug before I post a Bug to the Alfresco JIRA, so your help is necessary and appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stephen&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Apr 2008 19:55:14 GMT</pubDate>
    <dc:creator>stevewickii</dc:creator>
    <dc:date>2008-04-23T19:55:14Z</dc:date>
    <item>
      <title>Search Yields Unexpected Results</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-yields-unexpected-results/m-p/169257#M122661</link>
      <description>According to the Search WIKI at http://wiki.alfresco.com/wiki/Search#Category_QueriesThere are not true child relationships between category type nodes and the things they categorize. However, these links can be searched using the special "member" QName.AndThis finds any child that is not a "member"</description>
      <pubDate>Wed, 23 Apr 2008 19:55:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-yields-unexpected-results/m-p/169257#M122661</guid>
      <dc:creator>stevewickii</dc:creator>
      <dc:date>2008-04-23T19:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Search Yields Unexpected Results</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-yields-unexpected-results/m-p/169258#M122662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You've got the wrong query. You want something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;PATH:"/cm:generalclassifiable//cm:United_x0020_States_x0020_of_x0020_America//*"&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Unless your categories are set up differently to me?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How are you running the queries? Have you tried them in the node browser?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2008 11:22:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-yields-unexpected-results/m-p/169258#M122662</guid>
      <dc:creator>dinger</dc:creator>
      <dc:date>2008-04-25T11:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Search Yields Unexpected Results</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-yields-unexpected-results/m-p/169259#M122663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My categories are set up differently.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a Regions/USA/&amp;lt;state abbr&amp;gt;/&amp;lt;county name&amp;gt; category hierarchy.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2008 18:23:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-yields-unexpected-results/m-p/169259#M122663</guid>
      <dc:creator>stevewickii</dc:creator>
      <dc:date>2008-04-25T18:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Search Yields Unexpected Results</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-yields-unexpected-results/m-p/169260#M122664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What happens when you run the query in the node browser?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 10:01:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-yields-unexpected-results/m-p/169260#M122664</guid>
      <dc:creator>dinger</dc:creator>
      <dc:date>2008-04-28T10:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Search Yields Unexpected Results</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-yields-unexpected-results/m-p/169261#M122665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;See Original Post.&amp;nbsp; Every query was executed through the Node Browser.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2008 18:49:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-yields-unexpected-results/m-p/169261#M122665</guid>
      <dc:creator>stevewickii</dc:creator>
      <dc:date>2008-05-30T18:49:01Z</dc:date>
    </item>
  </channel>
</rss>

