<?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 simple search issue in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/simple-search-issue/m-p/7280#M3451</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I need to create a simple search for properties of a file. For that, i created a folder structure like this&lt;/P&gt;&lt;P&gt;:src/main/amp/config/alfresco/extension/templates/webscripts/slingshot/search/search-config.xml&lt;/P&gt;&lt;P&gt;in the search-config.xml file,i placed a following code&lt;/P&gt;&lt;P&gt;&amp;lt;search&amp;gt;&lt;BR /&gt; &amp;lt;default-operator&amp;gt;AND&amp;lt;/default-operator&amp;gt;&lt;BR /&gt; &amp;lt;default-query-template&amp;gt;%(cm:name cm:title cm:description my:authorisedBy my:licenseNumber my:companyName TEXT TAG)&amp;lt;/default-query-template&amp;gt;&lt;BR /&gt;&amp;lt;/search&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but if i try to search with my:companyName 'Companyname' it is filtering the data,but file name search is working fine.&lt;/P&gt;&lt;P&gt;can anyone tell me why only cm:name is working and cm:companyName filter is not working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Yuvaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Oct 2017 09:58:57 GMT</pubDate>
    <dc:creator>yuva</dc:creator>
    <dc:date>2017-10-31T09:58:57Z</dc:date>
    <item>
      <title>simple search issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/simple-search-issue/m-p/7280#M3451</link>
      <description>HiI need to create a simple search for properties of a file. For that, i created a folder structure like this:src/main/amp/config/alfresco/extension/templates/webscripts/slingshot/search/search-config.xmlin the search-config.xml file,i placed a following code&amp;lt;search&amp;gt; &amp;lt;default-operator&amp;gt;AN</description>
      <pubDate>Tue, 31 Oct 2017 09:58:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/simple-search-issue/m-p/7280#M3451</guid>
      <dc:creator>yuva</dc:creator>
      <dc:date>2017-10-31T09:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: simple search issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/simple-search-issue/m-p/7281#M3452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not possible to answer without&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;the data model&lt;/LI&gt;&lt;LI&gt;the text value of the metadata&lt;/LI&gt;&lt;LI&gt;the query you are trying to use&lt;/LI&gt;&lt;LI&gt;an explanation of why you think your query should find property&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The template is used when a field is not defined, If you type in a single word "woof" it will expand to search many fields using the query template. For "cm:name:woof" you have provided a field so if will not use&amp;nbsp; the template.&lt;BR /&gt;&lt;BR /&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 10:19:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/simple-search-issue/m-p/7281#M3452</guid>
      <dc:creator>andy1</dc:creator>
      <dc:date>2017-11-02T10:19:44Z</dc:date>
    </item>
  </channel>
</rss>

