<?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: Troubles configuring search on metadata in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/troubles-configuring-search-on-metadata/m-p/317974#M4975</link>
    <description>&lt;P&gt;You're working with the assumption that fulltext search &lt;EM&gt;can&lt;/EM&gt; search something like "Z65-130". You'll find out that this is not always the case, it heavily depends on the database, the database fulltext configuration, etc.&lt;/P&gt;
&lt;P&gt;If what you're searching for is not a regular word in a known language, then fulltext search is not a good match for you unless you spend a lot of time tweaking the database fulltext parser and making sure all the Nuxeo layers know about this specific parsing, which would require code changes.&lt;/P&gt;
&lt;P&gt;Fulltext is primarily designed for human languages.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Oct 2013 15:20:57 GMT</pubDate>
    <dc:creator>Florent_Guillau</dc:creator>
    <dc:date>2013-10-02T15:20:57Z</dc:date>
    <item>
      <title>Troubles configuring search on metadata</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/troubles-configuring-search-on-metadata/m-p/317973#M4974</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Here's a use case for the search feature we're having troubles dealing with:&lt;/P&gt;
&lt;P&gt;We have various files, say to store numerous norm documents. Their titles have the following format: "NF Z65-130.pdf".&lt;/P&gt;
&lt;P&gt;Searching through titles using the FULLTEXT operator gives unsatisfying results since dashes (-) are stripped down from the query (see &lt;EM&gt;NXQLQueryBuilder.sanitizeFulltextInput&lt;/EM&gt;) &lt;EM&gt;(1)&lt;/EM&gt; ; so searching &lt;STRONG&gt;"Z65-130"&lt;/STRONG&gt; (even with the double dashes) will eventually be translated as &lt;STRONG&gt;query documents that contain either "Z65" or "130"&lt;/STRONG&gt;, which will return a lot of results.&lt;/P&gt;
&lt;P&gt;The more appropriate operator seems to be LIKE, except it requires the use of the % operator as the wildcard, which is not user-friendly (depending on the field, users would have to use either * or %).&lt;/P&gt;
&lt;P&gt;Is there any approach that would allow queries to match user expectations when they simply type &lt;STRONG&gt;"Z60-130"&lt;/STRONG&gt; or &lt;STRONG&gt;"*Z60-130*"&lt;/STRONG&gt;?&lt;/P&gt;
&lt;P&gt;Thanks for your help&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;(1) This seems to also occur when dc:title is removed from default-repository-config.xml, i.e. when NXQL queries fall back from FULLTEXT 'query' to LIKE '%query%'.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2013 14:44:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/troubles-configuring-search-on-metadata/m-p/317973#M4974</guid>
      <dc:creator>Marwane_K_A_</dc:creator>
      <dc:date>2013-10-02T14:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Troubles configuring search on metadata</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/troubles-configuring-search-on-metadata/m-p/317974#M4975</link>
      <description>&lt;P&gt;You're working with the assumption that fulltext search &lt;EM&gt;can&lt;/EM&gt; search something like "Z65-130". You'll find out that this is not always the case, it heavily depends on the database, the database fulltext configuration, etc.&lt;/P&gt;
&lt;P&gt;If what you're searching for is not a regular word in a known language, then fulltext search is not a good match for you unless you spend a lot of time tweaking the database fulltext parser and making sure all the Nuxeo layers know about this specific parsing, which would require code changes.&lt;/P&gt;
&lt;P&gt;Fulltext is primarily designed for human languages.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2013 15:20:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/troubles-configuring-search-on-metadata/m-p/317974#M4975</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2013-10-02T15:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Troubles configuring search on metadata</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/troubles-configuring-search-on-metadata/m-p/317975#M4976</link>
      <description>&lt;P&gt;Hi Florent,&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2013 16:05:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/troubles-configuring-search-on-metadata/m-p/317975#M4976</guid>
      <dc:creator>Marwane_K_A_</dc:creator>
      <dc:date>2013-10-02T16:05:51Z</dc:date>
    </item>
  </channel>
</rss>

