<?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 Unable to match categories in lucene query in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-match-categories-in-lucene-query/m-p/123408#M86909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am not having any success executing the following query with Alfresco 2.9.0B.&amp;nbsp; This worked in Alfresco 2.1.0 R1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;+PARENT:"workspace://SpacesStore/fd22314e-bb01-11dc-862f-f9940e3b6af0" +@cm\:categories:"workspace://SpacesStore/a39d7d01-7103-11dc-9a14-ed64e29c2348"&lt;BR /&gt;&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;This statement, by itself &lt;/SPAN&gt;&lt;STRONG&gt;+PARENT:"workspace://SpacesStore/fd22314e-bb01-11dc-862f-f9940e3b6af0"&lt;/STRONG&gt;&lt;SPAN&gt; (/app:company_home/cm:FMC/cm:Content/cm:Links/cm:associations/cm:National) returns 1 document, &lt;/SPAN&gt;&lt;STRONG&gt;workspace://SpacesStore/1402dc7d-bade-11dc-862f-f9940e3b6af0&lt;/STRONG&gt;&lt;SPAN&gt; (/app:company_home/cm:FMC/cm:Content/cm:Links/cm:associations/cm:National/cm:National Association of Independent Crop Consultants), in the Node Browser, as expected.&amp;nbsp; Adding the &lt;/SPAN&gt;&lt;STRONG&gt;@cm\:categories&lt;/STRONG&gt;&lt;SPAN&gt; returns 0 documents in the node browser.&amp;nbsp; I verified with the node browser that &lt;/SPAN&gt;&lt;STRONG&gt;workspace://SpacesStore/a39d7d01-7103-11dc-9a14-ed64e29c2348&lt;/STRONG&gt;&lt;SPAN&gt; (/cm:generalclassifiable/cm:Audience/cm:Consultants) is in the &lt;/SPAN&gt;&lt;STRONG&gt;categories&lt;/STRONG&gt;&lt;SPAN&gt; property of the document &lt;/SPAN&gt;&lt;STRONG&gt;workspace://SpacesStore/1402dc7d-bade-11dc-862f-f9940e3b6af0&lt;/STRONG&gt;&lt;SPAN&gt; under the parent &lt;/SPAN&gt;&lt;STRONG&gt;workspace://SpacesStore/fd22314e-bb01-11dc-862f-f9940e3b6af0&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone help me get this working again?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jan 2008 19:24:15 GMT</pubDate>
    <dc:creator>stevewickii</dc:creator>
    <dc:date>2008-01-22T19:24:15Z</dc:date>
    <item>
      <title>Unable to match categories in lucene query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-match-categories-in-lucene-query/m-p/123408#M86909</link>
      <description>I am not having any success executing the following query with Alfresco 2.9.0B.&amp;nbsp; This worked in Alfresco 2.1.0 R1.+PARENT:"workspace://SpacesStore/fd22314e-bb01-11dc-862f-f9940e3b6af0" +@cm\:categories:"workspace://SpacesStore/a39d7d01-7103-11dc-9a14-ed64e29c2348"‍‍‍This statement, by itself +PARENT</description>
      <pubDate>Tue, 22 Jan 2008 19:24:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-match-categories-in-lucene-query/m-p/123408#M86909</guid>
      <dc:creator>stevewickii</dc:creator>
      <dc:date>2008-01-22T19:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to match categories in lucene query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-match-categories-in-lucene-query/m-p/123409#M86910</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;Couldn't you use the PATH query to get the document classified by the category&amp;nbsp; instead of NodeRef value in the property ? Usually to find document against categories we use queries like PATH:"/cm:generalclassifiable/cm:Languages/cm:French/*"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 13:49:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-match-categories-in-lucene-query/m-p/123409#M86910</guid>
      <dc:creator>rivarola</dc:creator>
      <dc:date>2008-01-23T13:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to match categories in lucene query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-match-categories-in-lucene-query/m-p/123410#M86911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It takes 35 seconds to execute the query using PATH method with categories.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 21:55:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-match-categories-in-lucene-query/m-p/123410#M86911</guid>
      <dc:creator>stevewickii</dc:creator>
      <dc:date>2008-01-23T21:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to match categories in lucene query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-match-categories-in-lucene-query/m-p/123411#M86912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This query executes in Alfresco 2.1.0 R1 in less than 1 second and returns 1 document.&amp;nbsp; The same query returns 0 documents in Alfresco 2.9.0B running on a copy of the 2.1.0 database and dir.root.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;+PATH:"/app:company_home/cm:FMC/cm:Content/cm:Links/cm:associations/cm:National/*" AND @cm\:categories:"workspace://SpacesStore/a39d7d01-7103-11dc-9a14-ed64e29c2348"&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 22:49:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-match-categories-in-lucene-query/m-p/123411#M86912</guid>
      <dc:creator>stevewickii</dc:creator>
      <dc:date>2008-01-23T22:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to match categories in lucene query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-match-categories-in-lucene-query/m-p/123412#M86913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Searching by the categories property actually works in Alfresco 2.9.0B, it just isn't matching categories properties in my existing content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I add new content, and assign the category Audience/Consultants to the content, the following query returns the new piece of content very quickly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;+PATH:"/app:company_home/cm:FMC/*" AND @cm\:categories:"workspace://SpacesStore/a39d7d01-7103-11dc-9a14-ed64e29c2348"&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;STRONG&gt;workspace://SpacesStore/a39d7d01-7103-11dc-9a14-ed64e29c2348&lt;/STRONG&gt;&lt;SPAN&gt; is the node reference for the category Audience/Consultants.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I execute the following query, i see 5 documents, and each of them has &lt;/SPAN&gt;&lt;STRONG&gt;workspace://SpacesStore/a39d7d01-7103-11dc-9a14-ed64e29c2348&lt;/STRONG&gt;&lt;SPAN&gt; in the &lt;/SPAN&gt;&lt;STRONG&gt;categories&lt;/STRONG&gt;&lt;SPAN&gt; property.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;+PATH:"/app:company_home/cm:FMC/*"&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;So, what is wrong with my existing content?&amp;nbsp; Is there something wrong with my indexes?&amp;nbsp; And, how do I fix it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 23:25:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-match-categories-in-lucene-query/m-p/123412#M86913</guid>
      <dc:creator>stevewickii</dc:creator>
      <dc:date>2008-01-23T23:25:31Z</dc:date>
    </item>
  </channel>
</rss>

