<?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: Is there a way to avoid search files under the hidden folder? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/is-there-a-way-to-avoid-search-files-under-the-hidden-folder/m-p/483695#M15680</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Many thanks for your quick feedback!&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":red_heart:"&gt;❤️&lt;/span&gt;, the suggestion is very sensible.&amp;nbsp; i think&amp;nbsp; the&amp;nbsp; &amp;nbsp;ecm:ancestorId&amp;nbsp; would be the&amp;nbsp;suitable filtering condition for my case.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Oct 2024 09:10:56 GMT</pubDate>
    <dc:creator>gaosh</dc:creator>
    <dc:date>2024-10-23T09:10:56Z</dc:date>
    <item>
      <title>Is there a way to avoid search files under the hidden folder?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/is-there-a-way-to-avoid-search-files-under-the-hidden-folder/m-p/483689#M15675</link>
      <description>&lt;P&gt;I have a&amp;nbsp; hidden folder (HiddenInNavigation) under the workspace which hosts many normal files which i don't want to be searched.&amp;nbsp; &amp;nbsp;But the default searcher always searches these files.&lt;/P&gt;&lt;P&gt;I don't want to make all these files&amp;nbsp;having&amp;nbsp; the "HiddenInNavigation"&amp;nbsp; facet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, is there any way to&amp;nbsp;avoid search normal files under the hidden folder?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 07:28:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/is-there-a-way-to-avoid-search-files-under-the-hidden-folder/m-p/483689#M15675</guid>
      <dc:creator>gaosh</dc:creator>
      <dc:date>2024-10-23T07:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to avoid search files under the hidden folder?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/is-there-a-way-to-avoid-search-files-under-the-hidden-folder/m-p/483690#M15676</link>
      <description>&lt;P&gt;EDIT: I apologize, I misunderstood your question. So of course you could also add the "HiddenInNavigation" facet to those child documents. Another option, if the folder is fairly static (i.e. you're not dynamically creating lots of them) is to filter via ecm:path to exclude that folder, or the filter via ecm:parentId or&amp;nbsp;ecm:ancestorId.&lt;/P&gt;&lt;P&gt;As for the "default searcher" my suggestion would be to replace it. Disable the OOTB Drawer item in Studio Designer and create your own Page Provider and Search that does what you need (as opposed to trying to override the OOTB search, which uses a generic Page Provider that's used in lots of other places so you probably don't want to mess with it).&lt;/P&gt;&lt;P&gt;Old answer below:&lt;/P&gt;&lt;P&gt;Use the "ecm:mixinType" property to filter for any facets you want or don't want. E.g.&lt;/P&gt;&lt;PRE&gt;SELECT * FROM DOCUMENT WHERE&amp;nbsp;ecm:mixinType != 'HiddenInNavigation'&lt;/PRE&gt;&lt;P&gt;&lt;A href="https://doc.nuxeo.com/nxdoc/nxql/#special-nxql-properties" target="_blank" rel="noopener"&gt;https://doc.nuxeo.com/nxdoc/nxql/#special-nxql-properties&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 08:41:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/is-there-a-way-to-avoid-search-files-under-the-hidden-folder/m-p/483690#M15676</guid>
      <dc:creator>Josh-F-Hyland</dc:creator>
      <dc:date>2024-10-23T08:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to avoid search files under the hidden folder?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/is-there-a-way-to-avoid-search-files-under-the-hidden-folder/m-p/483693#M15678</link>
      <description>&lt;P&gt;I'm afraid this won't work.&amp;nbsp; it does not search&amp;nbsp; the "HiddenInNavigation" files , but the normal files(meaning not the "HiddenInNavigation" file)&amp;nbsp; under "HiddenInNavigation"&amp;nbsp; folder&amp;nbsp; still be searched!&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 08:42:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/is-there-a-way-to-avoid-search-files-under-the-hidden-folder/m-p/483693#M15678</guid>
      <dc:creator>gaosh</dc:creator>
      <dc:date>2024-10-23T08:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to avoid search files under the hidden folder?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/is-there-a-way-to-avoid-search-files-under-the-hidden-folder/m-p/483694#M15679</link>
      <description>&lt;P&gt;where do i make these operation?&amp;nbsp; under nuxeo platform webUI? or anywhere&amp;nbsp; else ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;where is the&amp;nbsp;&lt;SPAN&gt;entrance,&amp;nbsp; under&amp;nbsp; mac?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 08:50:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/is-there-a-way-to-avoid-search-files-under-the-hidden-folder/m-p/483694#M15679</guid>
      <dc:creator>gaosh</dc:creator>
      <dc:date>2024-10-23T08:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to avoid search files under the hidden folder?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/is-there-a-way-to-avoid-search-files-under-the-hidden-folder/m-p/483695#M15680</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Many thanks for your quick feedback!&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":red_heart:"&gt;❤️&lt;/span&gt;, the suggestion is very sensible.&amp;nbsp; i think&amp;nbsp; the&amp;nbsp; &amp;nbsp;ecm:ancestorId&amp;nbsp; would be the&amp;nbsp;suitable filtering condition for my case.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 09:10:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/is-there-a-way-to-avoid-search-files-under-the-hidden-folder/m-p/483695#M15680</guid>
      <dc:creator>gaosh</dc:creator>
      <dc:date>2024-10-23T09:10:56Z</dc:date>
    </item>
  </channel>
</rss>

