<?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 Alfresco OOTB Search Behaviour in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-ootb-search-behaviour/m-p/139962#M37417</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I inserted a document into alfresco having a metadata format as in the attached image.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Image 1.PNG" style="width: 494px;"&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/1081iCD102BA2B6254268/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;The document is getting created with the given input. But when I try searching the doucment using the OOTB API, I am getting an bad request error mentioning the details as "Unrecognized Character escape '*'".&lt;/P&gt;&lt;P&gt;So I tried creating the file by removing the second asterisk(*) mark from the document metadata. Attaching the text used in doucment metadata:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Image 2.PNG" style="width: 423px;"&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/1082iB71D9AA2732749F5/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;So the file has been created suucessfully and I'm able to search the file too.&lt;/P&gt;&lt;P&gt;But the file still contains one asterisk mark in it only the second one has been removed and still it does not throw the error now. What could it be? What is the default alfresco search behaviour? Can anyone please suggest me what is the actual reason for this to happen?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jun 2021 07:59:32 GMT</pubDate>
    <dc:creator>Vishruti_Shah</dc:creator>
    <dc:date>2021-06-23T07:59:32Z</dc:date>
    <item>
      <title>Alfresco OOTB Search Behaviour</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-ootb-search-behaviour/m-p/139962#M37417</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I inserted a document into alfresco having a metadata format as in the attached image.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Image 1.PNG" style="width: 494px;"&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/1081iCD102BA2B6254268/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;The document is getting created with the given input. But when I try searching the doucment using the OOTB API, I am getting an bad request error mentioning the details as "Unrecognized Character escape '*'".&lt;/P&gt;&lt;P&gt;So I tried creating the file by removing the second asterisk(*) mark from the document metadata. Attaching the text used in doucment metadata:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Image 2.PNG" style="width: 423px;"&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/1082iB71D9AA2732749F5/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;So the file has been created suucessfully and I'm able to search the file too.&lt;/P&gt;&lt;P&gt;But the file still contains one asterisk mark in it only the second one has been removed and still it does not throw the error now. What could it be? What is the default alfresco search behaviour? Can anyone please suggest me what is the actual reason for this to happen?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 07:59:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-ootb-search-behaviour/m-p/139962#M37417</guid>
      <dc:creator>Vishruti_Shah</dc:creator>
      <dc:date>2021-06-23T07:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco OOTB Search Behaviour</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-ootb-search-behaviour/m-p/139963#M37418</link>
      <description>&lt;P&gt;I assume you are translating that documentMetaData JSON into some form of "actual" Alfresco properties, because otherwise that would only me indexed fulltext content, and not metadata at all.&lt;/P&gt;
&lt;P&gt;Also, it would have been good to know HOW you are searching via the default APIs, e.g. what your queries looked like. So I only can assume that you use the literal value as a query term, i.e.&lt;/P&gt;
&lt;PRE&gt;"Test$*?@!%)(_+-=~\*\"';//?.&amp;gt;,&amp;lt;"&lt;/PRE&gt;
&lt;P&gt;In this case, assuming the query language is fts-alfresco, there should be no error. In case you did actually run a CMIS query in the form of&lt;/P&gt;
&lt;PRE&gt;SELECT * FROM cmis:document D JOIN acme:aspect A ON D.cmis:objectId = A.cmis:objectId WHERE A.cmis:clientName = 'Test$*?@!%)(_+-=~\*"\';//?.&amp;gt;,&amp;lt;'&lt;/PRE&gt;
&lt;P&gt;Then I could understand the error, because in CMIS QL, there is no support for escaping an asterisk, as it is not a special character.&lt;/P&gt;
&lt;P&gt;So, please do provide more details, or we can only guess like I did...&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 09:27:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-ootb-search-behaviour/m-p/139963#M37418</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2021-06-23T09:27:45Z</dc:date>
    </item>
  </channel>
</rss>

