<?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: Alfresco FTS Query on MultipleValue custom property in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-fts-query-on-multiplevalue-custom-property/m-p/134180#M36107</link>
    <description>&lt;P&gt;Maybe depends on Alfresco version (&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-blog/exact-term-queries-in-search-services-2-0/ba-p/302200" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-blog/exact-term-queries-in-search-services-2-0/ba-p/302200&lt;/A&gt;) and also on cross-language settings (&lt;A href="https://docs.alfresco.com/search-services/latest/install/options/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/search-services/latest/install/options/&lt;/A&gt;). You can try nasty hack and add also this to your search&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;AND sdoc:configurators:'?????'&lt;/PRE&gt;&lt;P&gt;It should match exactly 5 character long values (length of string VALUE).&lt;/P&gt;&lt;P&gt;Anyway, why are you using -EXISTS:'sdoc:configurators' ?&amp;nbsp; The '-' means do not match.&lt;/P&gt;</description>
    <pubDate>Thu, 01 Apr 2021 14:46:11 GMT</pubDate>
    <dc:creator>sufo</dc:creator>
    <dc:date>2021-04-01T14:46:11Z</dc:date>
    <item>
      <title>Alfresco FTS Query on MultipleValue custom property</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-fts-query-on-multiplevalue-custom-property/m-p/134179#M36106</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i have a Custom Model with a MultiValue custom property, like this:&lt;/P&gt;&lt;PRE&gt;&amp;lt;property name="sdoc:configurators"&amp;gt;
                    &amp;lt;title&amp;gt;Configuratori&amp;lt;/title&amp;gt;
                    &amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt;
                    &amp;lt;mandatory&amp;gt;false&amp;lt;/mandatory&amp;gt;
                    &amp;lt;multiple&amp;gt;true&amp;lt;/multiple&amp;gt;
                    &amp;lt;index enabled="true"&amp;gt;
                        &amp;lt;tokenised&amp;gt;TRUE&amp;lt;/tokenised&amp;gt;
                        &amp;lt;facetable&amp;gt;false&amp;lt;/facetable&amp;gt;
                    &amp;lt;/index&amp;gt;
                &amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;This property is populated with Strings like:&lt;/P&gt;&lt;P&gt;Document1 --&amp;gt; ["VALUE", "AAAA", "BBBB"]&lt;/P&gt;&lt;P&gt;Document2 --&amp;gt; ["VALUE1", "XXXXX", "YYYYYY"]&lt;/P&gt;&lt;P&gt;Document3 --&amp;gt; ["VALUEZZZ", "CCCC"]&lt;/P&gt;&lt;P&gt;Document4 --&amp;gt; ["DDDD", "EEEEE"]&lt;/P&gt;&lt;P&gt;I need to find all documents with an exact value in this property. My FTS query is:&lt;/P&gt;&lt;PRE&gt;(PATH:'my-path//*') AND (=cm:content.mimetype:application/pdf) AND (TYPE:'sdoc:mydoc') AND (-EXISTS:'sdoc:configurators') AND =sdoc:configurators:'VALUE'&lt;/PRE&gt;&lt;P&gt;I expect to find ONLY Document1 (the only with exact value "VALUE"), but my FTS result is Document1, Document2 and Document3.&lt;/P&gt;&lt;P&gt;Obviously it happens because these three documents contain the sub-string "VALUE". How can i match only the documents that match exactly the string "VALUE"?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 31 Mar 2021 10:44:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-fts-query-on-multiplevalue-custom-property/m-p/134179#M36106</guid>
      <dc:creator>Lvit</dc:creator>
      <dc:date>2021-03-31T10:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco FTS Query on MultipleValue custom property</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-fts-query-on-multiplevalue-custom-property/m-p/134180#M36107</link>
      <description>&lt;P&gt;Maybe depends on Alfresco version (&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-blog/exact-term-queries-in-search-services-2-0/ba-p/302200" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-blog/exact-term-queries-in-search-services-2-0/ba-p/302200&lt;/A&gt;) and also on cross-language settings (&lt;A href="https://docs.alfresco.com/search-services/latest/install/options/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/search-services/latest/install/options/&lt;/A&gt;). You can try nasty hack and add also this to your search&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;AND sdoc:configurators:'?????'&lt;/PRE&gt;&lt;P&gt;It should match exactly 5 character long values (length of string VALUE).&lt;/P&gt;&lt;P&gt;Anyway, why are you using -EXISTS:'sdoc:configurators' ?&amp;nbsp; The '-' means do not match.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 14:46:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-fts-query-on-multiplevalue-custom-property/m-p/134180#M36107</guid>
      <dc:creator>sufo</dc:creator>
      <dc:date>2021-04-01T14:46:11Z</dc:date>
    </item>
  </channel>
</rss>

