<?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: Problem searching for aspect with Lucene in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problem-searching-for-aspect-with-lucene/m-p/57481#M34959</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Andy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, I tried getting the search service from the service registry, and the search works now &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess that method I used before cannot be used anymore. i.e. getting the indexerAndSearcher and then using it. This way it is more clear:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;ResultSet results = serviceRegistry.getSearchService().query(getCompanyHome().getStoreRef(), "lucene", "ASPECT:\"" + ContentModel.ASPECT_AUDITABLE.toString() + "\"");&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Sep 2006 14:52:39 GMT</pubDate>
    <dc:creator>turgayz</dc:creator>
    <dc:date>2006-09-26T14:52:39Z</dc:date>
    <item>
      <title>Problem searching for aspect with Lucene</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-searching-for-aspect-with-lucene/m-p/57479#M34957</link>
      <description>Hi,I have the following test case, which searches for nodes that have the "Auditable" aspect. I know that at least the "guest_home" node has this aspect, after checking with the Node Browser. But the search cannot find any nodes. Please help, what is wrong with my search?Note: I am using the latest</description>
      <pubDate>Tue, 26 Sep 2006 12:43:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-searching-for-aspect-with-lucene/m-p/57479#M34957</guid>
      <dc:creator>turgayz</dc:creator>
      <dc:date>2006-09-26T12:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem searching for aspect with Lucene</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-searching-for-aspect-with-lucene/m-p/57480#M34958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have just tried &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;ASPECT:"{&lt;A href="http://www.alfresco.org/model/content/1.0}auditable" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}auditable&lt;/A&gt;"&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;via the node browser on the admin console and this is fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you changed any of the Spring configuration? Why are you not using the service registry to get the search service?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 13:55:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-searching-for-aspect-with-lucene/m-p/57480#M34958</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2006-09-26T13:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem searching for aspect with Lucene</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-searching-for-aspect-with-lucene/m-p/57481#M34959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Andy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, I tried getting the search service from the service registry, and the search works now &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess that method I used before cannot be used anymore. i.e. getting the indexerAndSearcher and then using it. This way it is more clear:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;ResultSet results = serviceRegistry.getSearchService().query(getCompanyHome().getStoreRef(), "lucene", "ASPECT:\"" + ContentModel.ASPECT_AUDITABLE.toString() + "\"");&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 14:52:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-searching-for-aspect-with-lucene/m-p/57481#M34959</guid>
      <dc:creator>turgayz</dc:creator>
      <dc:date>2006-09-26T14:52:39Z</dc:date>
    </item>
  </channel>
</rss>

