<?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 Advanced Search using custom type retrieves no results in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/advanced-search-using-custom-type-retrieves-no-results/m-p/300292#M253422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have an Alfresco 4.2.c instance running in a WebLogic server. Solr is &amp;lt;em&amp;gt;not&amp;lt;/em&amp;gt; being used in this Alfresco instance; just Lucene.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I developed a custom model that defines only one type, which is a sub-type of &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;cm:content&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;. I followed all tutorials I could find to implement it… and it works, except for the problem I describe below. I can see and update all the properties in the file details in Alfresco Share.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, I developed a web service that uploads a file using the custom type mentioned through OpenCMIS (by means of Apache Chemistry). This web service can be used to upload, download, get metadata, and delete files using the custom type I mentioned earlier.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My problem lies in Alfresco Share's Advanced Search: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;ul&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;li&amp;gt;Advanced search, looking in the custom type, search for custom content type metadata: 0 results, not expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;li&amp;gt;Advanced search, looking in the custom type, search for file name (defined in &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;cm:content&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; 0 results, not expected.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;li&amp;gt;Advanced search, looking in the content type, search for file name (defined in &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;cm:content&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; 1 result, as expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;li&amp;gt;CMIS search (in the Node Browser), search for custom content type metadata: 1 result, as expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;li&amp;gt;CMIS search (using Apache Chemistry), search for custom content type metadata: 1 result, as expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/ul&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In another Alfresco installation (in Tomcat, with Solr installed), Advanced Search works fine. It is in this WebLogic server, without Solr, that Advanced Search is not able to retrieve the queried document&lt;/SPAN&gt;&lt;DEL&gt;.&lt;BR /&gt;&lt;BR /&gt;Could someone provide me some pointers about how to enable Alfresco Share to find documents using custom type metadata in Advanced Search (without Solr installed)?&lt;/DEL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Apr 2013 21:30:43 GMT</pubDate>
    <dc:creator>ardamose123</dc:creator>
    <dc:date>2013-04-15T21:30:43Z</dc:date>
    <item>
      <title>Advanced Search using custom type retrieves no results</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/advanced-search-using-custom-type-retrieves-no-results/m-p/300292#M253422</link>
      <description>I have an Alfresco 4.2.c instance running in a WebLogic server. Solr is &amp;lt;em&amp;gt;not&amp;lt;/em&amp;gt; being used in this Alfresco instance; just Lucene.I developed a custom model that defines only one type, which is a sub-type of cm:content‍. I followed all tutorials I could find to implement it… and it</description>
      <pubDate>Mon, 15 Apr 2013 21:30:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/advanced-search-using-custom-type-retrieves-no-results/m-p/300292#M253422</guid>
      <dc:creator>ardamose123</dc:creator>
      <dc:date>2013-04-15T21:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Search using custom type retrieves no results</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/advanced-search-using-custom-type-retrieves-no-results/m-p/300293#M253423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you are able to search in the node-browser as well then I guess the problem is not with the search engine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In share when you search you have two option search in site and in repository.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There are chances you are not selecting the proper place to search.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also are you getting any error in the logs?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2013 04:20:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/advanced-search-using-custom-type-retrieves-no-results/m-p/300293#M253423</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2013-04-16T04:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Search using custom type retrieves no results</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/advanced-search-using-custom-type-retrieves-no-results/m-p/300294#M253424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When you are using alfresco with lucene, try to re-index or full indexing it will help to search content. For solr alfresco having scheduler running in background that will index the content but its not as quick. If you create content and quickly search will not sometime gives result in solr. Just check you have properly configured both.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2013 05:10:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/advanced-search-using-custom-type-retrieves-no-results/m-p/300294#M253424</guid>
      <dc:creator>g_rathod</dc:creator>
      <dc:date>2013-04-16T05:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Search using custom type retrieves no results</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/advanced-search-using-custom-type-retrieves-no-results/m-p/300295#M253425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The logs do not say anything wrong about the custom model loading, nor any problems during server restart. We searched in all available places (sites, repository), but to no avail looking in the custom model. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Curiously, if I search the &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;cm:name&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; looking in the custom type, no results are retrieved, but if I search for that same property in &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;cm:name&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;, documents are being retrieved.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2013 15:23:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/advanced-search-using-custom-type-retrieves-no-results/m-p/300295#M253425</guid>
      <dc:creator>ardamose123</dc:creator>
      <dc:date>2013-04-16T15:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Search using custom type retrieves no results</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/advanced-search-using-custom-type-retrieves-no-results/m-p/300296#M253426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We tried restarting the Alfresco server using full re-indexing, but the metadata-search-through-custom-type-in-Advanced-Search still exists. It's good to know Solr schedules indexing processes, though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll provide a copy of the files used, in case someone can spot a mistake or omission in them.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2013 15:28:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/advanced-search-using-custom-type-retrieves-no-results/m-p/300296#M253426</guid>
      <dc:creator>ardamose123</dc:creator>
      <dc:date>2013-04-16T15:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Search using custom type retrieves no results</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/advanced-search-using-custom-type-retrieves-no-results/m-p/300297#M253427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I solved the problem. In the &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;share-config-custom.xml&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; file, the form id for my custom type was not &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;search&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;. When I changed that form ID to &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;search&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;, it worked. The custom type metadata can now be searched using Lucene, without Solr.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your support!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2013 17:45:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/advanced-search-using-custom-type-retrieves-no-results/m-p/300297#M253427</guid>
      <dc:creator>ardamose123</dc:creator>
      <dc:date>2013-04-16T17:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Search using custom type retrieves no results</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/advanced-search-using-custom-type-retrieves-no-results/m-p/300298#M253428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Ardamose,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please share your share-config-custom.xml and your model changes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Garvit&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 09:31:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/advanced-search-using-custom-type-retrieves-no-results/m-p/300298#M253428</guid>
      <dc:creator>garvitj123</dc:creator>
      <dc:date>2014-02-05T09:31:16Z</dc:date>
    </item>
  </channel>
</rss>

