<?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: Search Problem in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/search-problem/m-p/115954#M32158</link>
    <description>&lt;P&gt;thanks all, the problem is solved.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Nov 2020 11:01:53 GMT</pubDate>
    <dc:creator>jeffreyman</dc:creator>
    <dc:date>2020-11-30T11:01:53Z</dc:date>
    <item>
      <title>Search Problem</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/search-problem/m-p/115951#M32155</link>
      <description>&lt;P&gt;We are using Community Edition v6.2 and Search v1.4. We use model manager of "Admin Tools" to generate the custom model (custom types and custom aspects) and activate it.&lt;/P&gt;&lt;P&gt;We are managed to set the document to document type "TestDoc" and update the properties through Share UI.&amp;nbsp; However, there are some problems when searching throught the Share UI or REST API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. We can search all custom documents using "TYPE:'gts:TestDoc" in Share UI or "select * from gts:TestDoc" using CMIS through REST API.&lt;/P&gt;&lt;P&gt;2. We can search a document using property of custom aspect. For example, "gts:name:'xxx'" in Share UI or "select * from cmis:document as a join gts:testAspect as b on a.cmis&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;bjectId = b.cmis&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;bjectId where b.gts:name = 'xxx'" through REST API.&lt;/P&gt;&lt;P&gt;3. When we try to search property of custom type such as gts:customer-name, it failed either on Share UI or REST API.&lt;/P&gt;&lt;P&gt;The properties of Custom Types can't be searched, but the properties of Custom Aspect. To my understanding, the properties of custom types should be searchable. Can someone help?&lt;/P&gt;&lt;P&gt;Here is the custom model XML.&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;model xmlns="&lt;A href="http://www.alfresco.org/model/dictionary/1.0" target="_blank" rel="noopener nofollow noreferrer"&gt;http://www.alfresco.org/model/dictionary/1.0&lt;/A&gt;" name="gts:CustomDoc"&amp;gt;&lt;BR /&gt;&amp;lt;description&amp;gt;test custom doc&amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;lt;author&amp;gt;jeffrey&amp;lt;/author&amp;gt;&lt;BR /&gt;&amp;lt;imports&amp;gt;&lt;BR /&gt;&amp;lt;import uri="&lt;A href="http://www.alfresco.org/model/content/1.0" target="_blank" rel="noopener nofollow noreferrer"&gt;http://www.alfresco.org/model/content/1.0&lt;/A&gt;" prefix="cm"/&amp;gt;&lt;BR /&gt;&amp;lt;import uri="&lt;A href="http://www.alfresco.org/model/dictionary/1.0" target="_blank" rel="noopener nofollow noreferrer"&gt;http://www.alfresco.org/model/dictionary/1.0&lt;/A&gt;" prefix="d"/&amp;gt;&lt;BR /&gt;&amp;lt;/imports&amp;gt;&lt;BR /&gt;&amp;lt;namespaces&amp;gt;&lt;BR /&gt;&amp;lt;namespace uri="&lt;A href="http://www.gts.com.hk/model/document/1.0" target="_blank" rel="noopener nofollow noreferrer"&gt;http://www.gts.com.hk/model/document/1.0&lt;/A&gt;" prefix="gts"/&amp;gt;&lt;BR /&gt;&amp;lt;/namespaces&amp;gt;&lt;BR /&gt;&amp;lt;data-types/&amp;gt;&lt;BR /&gt;&amp;lt;constraints/&amp;gt;&lt;BR /&gt;&amp;lt;types&amp;gt;&lt;BR /&gt;&amp;lt;type name="gts:TestDoc"&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;Test Doc&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;description&amp;gt;test doc&amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;lt;parent&amp;gt;cm:content&amp;lt;/parent&amp;gt;&lt;BR /&gt;&amp;lt;properties&amp;gt;&lt;BR /&gt;&amp;lt;property name="gts:customer-name"&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;Customer Name&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;description&amp;gt;customer name&amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt;&lt;BR /&gt;&amp;lt;mandatory&amp;gt;false&amp;lt;/mandatory&amp;gt;&lt;BR /&gt;&amp;lt;index enabled="true"&amp;gt;&lt;BR /&gt;&amp;lt;tokenised&amp;gt;TRUE&amp;lt;/tokenised&amp;gt;&lt;BR /&gt;&amp;lt;facetable&amp;gt;false&amp;lt;/facetable&amp;gt;&lt;BR /&gt;&amp;lt;/index&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="gts:ssa-number"&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;SSA Number&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;description&amp;gt;SSA Number&amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt;&lt;BR /&gt;&amp;lt;mandatory&amp;gt;true&amp;lt;/mandatory&amp;gt;&lt;BR /&gt;&amp;lt;index enabled="true"&amp;gt;&lt;BR /&gt;&amp;lt;tokenised&amp;gt;TRUE&amp;lt;/tokenised&amp;gt;&lt;BR /&gt;&amp;lt;facetable&amp;gt;false&amp;lt;/facetable&amp;gt;&lt;BR /&gt;&amp;lt;/index&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="gts:mobile-number"&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;Mobile Number&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;description&amp;gt;mobile number&amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt;&lt;BR /&gt;&amp;lt;mandatory&amp;gt;true&amp;lt;/mandatory&amp;gt;&lt;BR /&gt;&amp;lt;multiple&amp;gt;true&amp;lt;/multiple&amp;gt;&lt;BR /&gt;&amp;lt;index enabled="true"&amp;gt;&lt;BR /&gt;&amp;lt;tokenised&amp;gt;TRUE&amp;lt;/tokenised&amp;gt;&lt;BR /&gt;&amp;lt;facetable&amp;gt;false&amp;lt;/facetable&amp;gt;&lt;BR /&gt;&amp;lt;/index&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;/properties&amp;gt;&lt;BR /&gt;&amp;lt;associations/&amp;gt;&lt;BR /&gt;&amp;lt;overrides/&amp;gt;&lt;BR /&gt;&amp;lt;mandatory-aspects/&amp;gt;&lt;BR /&gt;&amp;lt;/type&amp;gt;&lt;BR /&gt;&amp;lt;type name="gts:TestDoc2"&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;Test Doc2&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;parent&amp;gt;cm:content&amp;lt;/parent&amp;gt;&lt;BR /&gt;&amp;lt;properties&amp;gt;&lt;BR /&gt;&amp;lt;property name="gts:ssa-number2"&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;SSA Number&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;type&amp;gt;d:long&amp;lt;/type&amp;gt;&lt;BR /&gt;&amp;lt;mandatory&amp;gt;false&amp;lt;/mandatory&amp;gt;&lt;BR /&gt;&amp;lt;index enabled="true"&amp;gt;&lt;BR /&gt;&amp;lt;tokenised&amp;gt;TRUE&amp;lt;/tokenised&amp;gt;&lt;BR /&gt;&amp;lt;/index&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="gts&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;os-status"&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;POS Status&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt;&lt;BR /&gt;&amp;lt;mandatory&amp;gt;false&amp;lt;/mandatory&amp;gt;&lt;BR /&gt;&amp;lt;index enabled="true"&amp;gt;&lt;BR /&gt;&amp;lt;tokenised&amp;gt;FALSE&amp;lt;/tokenised&amp;gt;&lt;BR /&gt;&amp;lt;facetable&amp;gt;true&amp;lt;/facetable&amp;gt;&lt;BR /&gt;&amp;lt;/index&amp;gt;&lt;BR /&gt;&amp;lt;constraints&amp;gt;&lt;BR /&gt;&amp;lt;constraint name="gts:LIST_3ffb373d-3baf-4d5e-84f0-c6db9fc92cee" type="LIST"&amp;gt;&lt;BR /&gt;&amp;lt;parameter name="allowedValues"&amp;gt;&lt;BR /&gt;&amp;lt;list&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;Closed&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;Cancelled&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;Completed&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/list&amp;gt;&lt;BR /&gt;&amp;lt;/parameter&amp;gt;&lt;BR /&gt;&amp;lt;parameter name="caseSensitive"&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;true&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/parameter&amp;gt;&lt;BR /&gt;&amp;lt;parameter name="sorted"&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;false&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/parameter&amp;gt;&lt;BR /&gt;&amp;lt;/constraint&amp;gt;&lt;BR /&gt;&amp;lt;/constraints&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="gts:mobile-number2"&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;Mobile NUmber&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;type&amp;gt;d:int&amp;lt;/type&amp;gt;&lt;BR /&gt;&amp;lt;mandatory&amp;gt;true&amp;lt;/mandatory&amp;gt;&lt;BR /&gt;&amp;lt;multiple&amp;gt;true&amp;lt;/multiple&amp;gt;&lt;BR /&gt;&amp;lt;index enabled="true"&amp;gt;&lt;BR /&gt;&amp;lt;tokenised&amp;gt;TRUE&amp;lt;/tokenised&amp;gt;&lt;BR /&gt;&amp;lt;/index&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;/properties&amp;gt;&lt;BR /&gt;&amp;lt;associations/&amp;gt;&lt;BR /&gt;&amp;lt;overrides/&amp;gt;&lt;BR /&gt;&amp;lt;mandatory-aspects/&amp;gt;&lt;BR /&gt;&amp;lt;/type&amp;gt;&lt;BR /&gt;&amp;lt;/types&amp;gt;&lt;BR /&gt;&amp;lt;aspects&amp;gt;&lt;BR /&gt;&amp;lt;aspect name="gts:arrival-date"&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;Arrival Date&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;description&amp;gt;arrival date&amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;lt;properties/&amp;gt;&lt;BR /&gt;&amp;lt;associations/&amp;gt;&lt;BR /&gt;&amp;lt;overrides/&amp;gt;&lt;BR /&gt;&amp;lt;mandatory-aspects/&amp;gt;&lt;BR /&gt;&amp;lt;/aspect&amp;gt;&lt;BR /&gt;&amp;lt;aspect name="gts:testAspect"&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;test aspect&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;properties&amp;gt;&lt;BR /&gt;&amp;lt;property name="gts:name"&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;Name&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt;&lt;BR /&gt;&amp;lt;mandatory&amp;gt;false&amp;lt;/mandatory&amp;gt;&lt;BR /&gt;&amp;lt;index enabled="true"&amp;gt;&lt;BR /&gt;&amp;lt;tokenised&amp;gt;TRUE&amp;lt;/tokenised&amp;gt;&lt;BR /&gt;&amp;lt;facetable&amp;gt;false&amp;lt;/facetable&amp;gt;&lt;BR /&gt;&amp;lt;/index&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;/properties&amp;gt;&lt;BR /&gt;&amp;lt;associations/&amp;gt;&lt;BR /&gt;&amp;lt;overrides/&amp;gt;&lt;BR /&gt;&amp;lt;mandatory-aspects/&amp;gt;&lt;BR /&gt;&amp;lt;/aspect&amp;gt;&lt;BR /&gt;&amp;lt;/aspects&amp;gt;&lt;BR /&gt;&amp;lt;/model&amp;gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 12:06:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/search-problem/m-p/115951#M32155</guid>
      <dc:creator>jeffreyman</dc:creator>
      <dc:date>2020-07-13T12:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Search Problem</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/search-problem/m-p/115952#M32156</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/82366"&gt;@jeffreyman&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apologies for the delay in replying&amp;nbsp;&lt;img id="manfrustrated" class="emoticon emoticon-manfrustrated" src="https://connect.hyland.com/i/smilies/16x16_man-frustrated.png" alt="Man Frustrated" title="Man Frustrated" /&gt;&lt;/P&gt;
&lt;P&gt;I've created a custom model using the Share UI. This model inherits from cm:document &amp;amp; is called dc:Whitepaper following the example provided &lt;A href="https://docs.alfresco.com/6.2/concepts/admintools-cmm-tutorial.html" target="_self" rel="nofollow noopener noreferrer"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;This has a custom property &lt;EM&gt;dc:company&lt;/EM&gt; &amp;amp; this is searchable in Share using the following approach:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;dc:company:"Hyland"&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2020-11-27 at 16.58.04.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/753i419B295677A3A951/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;HTH,&lt;/P&gt;</description>
      <pubDate>Fri, 27 Nov 2020 17:07:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/search-problem/m-p/115952#M32156</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-11-27T17:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Search Problem</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/search-problem/m-p/115953#M32157</link>
      <description>&lt;P&gt;Please paste your cmis query here&lt;/P&gt;</description>
      <pubDate>Sun, 29 Nov 2020 11:11:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/search-problem/m-p/115953#M32157</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2020-11-29T11:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Search Problem</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/search-problem/m-p/115954#M32158</link>
      <description>&lt;P&gt;thanks all, the problem is solved.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 11:01:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/search-problem/m-p/115954#M32158</guid>
      <dc:creator>jeffreyman</dc:creator>
      <dc:date>2020-11-30T11:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Search Problem</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/search-problem/m-p/115955#M32159</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/82366"&gt;@jeffreyman&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Great news that you've resolved your issue - could you tell us how?&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 11:25:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/search-problem/m-p/115955#M32159</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-11-30T11:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Search Problem</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/search-problem/m-p/115956#M32160</link>
      <description>&lt;P&gt;Just to re-create the content model and it somehow works.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 14:48:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/search-problem/m-p/115956#M32160</guid>
      <dc:creator>jeffreyman</dc:creator>
      <dc:date>2020-11-30T14:48:31Z</dc:date>
    </item>
  </channel>
</rss>

