<?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 Searching on hierarchical vocabularies in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/searching-on-hierarchical-vocabularies/m-p/321296#M8297</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;I would like to use the search engine to search on parents of a hierarchical vocabulary and get every document having one of the children in the field.
Here is an example so I can explain better:
A vocabulray like this:
Parent 1
Child 1 of parent 1
Child 2 of parent 2
Parent 2
Child 3 of parent 2
Child 4 of parent 2&lt;/P&gt;
&lt;P&gt;I use this vocabulary for my field: dc:title.
And with a search, I would like to search every dc:title having a child of parent 1 (so every documents having a dc:title filled with Child 1 / Child 2 or Parent 1), how can I achieve this ? (within the user interface, meaning my user doesn't know any ID of the vocabularies and still wants to have everydocument of the parent)&lt;/P&gt;</description>
    <pubDate>Wed, 19 Apr 2017 14:11:52 GMT</pubDate>
    <dc:creator>Mathilde_Viveri</dc:creator>
    <dc:date>2017-04-19T14:11:52Z</dc:date>
    <item>
      <title>Searching on hierarchical vocabularies</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/searching-on-hierarchical-vocabularies/m-p/321296#M8297</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;I would like to use the search engine to search on parents of a hierarchical vocabulary and get every document having one of the children in the field.
Here is an example so I can explain better:
A vocabulray like this:
Parent 1
Child 1 of parent 1
Child 2 of parent 2
Parent 2
Child 3 of parent 2
Child 4 of parent 2&lt;/P&gt;
&lt;P&gt;I use this vocabulary for my field: dc:title.
And with a search, I would like to search every dc:title having a child of parent 1 (so every documents having a dc:title filled with Child 1 / Child 2 or Parent 1), how can I achieve this ? (within the user interface, meaning my user doesn't know any ID of the vocabularies and still wants to have everydocument of the parent)&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 14:11:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/searching-on-hierarchical-vocabularies/m-p/321296#M8297</guid>
      <dc:creator>Mathilde_Viveri</dc:creator>
      <dc:date>2017-04-19T14:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Searching on hierarchical vocabularies</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/searching-on-hierarchical-vocabularies/m-p/321297#M8298</link>
      <description>&lt;P&gt;Hello Mathilde,&lt;/P&gt;
&lt;P&gt;You can configure that in Nuxeo Studio.
In a content view (customization / listing &amp;amp; views / content views):&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;make sure to activate the Search content view flag
&lt;span class="lia-inline-image-display-wrapper" image-alt="type an image title"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1907i44F02D22728E3666/image-size/large?v=v2&amp;amp;px=999" role="button" title="type an image title" alt="type an image title" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;In the search layout, drag and drop the metadata storing the value of your vocabulary entry&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Choose the "single directory suggestion" widget&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Choose the "STARTSWITH" operator
&lt;span class="lia-inline-image-display-wrapper" image-alt="type an image title"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1910i81CB4499BC5B9F4E/image-size/large?v=v2&amp;amp;px=999" role="button" title="type an image title" alt="type an image title" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Change the values for the "Can select parent" and "filter parent" options to "yes"&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;After deploying the configuration, users selecting parent1 in the search form from the user interface will see any value that starts with parent1. As children values are stored as parent1/child2 for instance, you will retrieve all children values.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 10:34:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/searching-on-hierarchical-vocabularies/m-p/321297#M8298</guid>
      <dc:creator>Bertrand_Chauvi</dc:creator>
      <dc:date>2017-04-25T10:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Searching on hierarchical vocabularies</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/searching-on-hierarchical-vocabularies/m-p/321298#M8299</link>
      <description>&lt;P&gt;Hello Bertrand,&lt;/P&gt;
&lt;P&gt;thanks for your answer.
We tried your configuration, but results (when we clic on "filter") don't show all childrens from the parent selected...&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2017 20:58:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/searching-on-hierarchical-vocabularies/m-p/321298#M8299</guid>
      <dc:creator>Mathilde_Viveri</dc:creator>
      <dc:date>2017-05-02T20:58:00Z</dc:date>
    </item>
  </channel>
</rss>

