<?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: Meaning of &amp;quot;tokenized search&amp;quot; in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/meaning-of-quot-tokenized-search-quot/m-p/130674#M35303</link>
    <description>&lt;P&gt;SOLR is using tokenization when searching: &lt;A href="https://solr.apache.org/guide/6_6/tokenizers.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://solr.apache.org/guide/6_6/tokenizers.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;That means that searching term is not what you are typing, but some meaningful parts of the sentence.&lt;/P&gt;
&lt;P&gt;When searching for "Running is a sport", the real query is expanded to "run, run_is, is, is_a, a, a_sport, sport". So you are getting all the results including that tokens.&lt;/P&gt;
&lt;P&gt;However, when using ="Running is a sport", the query returns the fields that include exactly that terms in the order specified "Running, is, a, sport".&lt;/P&gt;</description>
    <pubDate>Tue, 09 Nov 2021 08:26:52 GMT</pubDate>
    <dc:creator>angelborroy</dc:creator>
    <dc:date>2021-11-09T08:26:52Z</dc:date>
    <item>
      <title>Meaning of "tokenized search"</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/meaning-of-quot-tokenized-search-quot/m-p/130673#M35302</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;sorry, if the question is too basic, but I searched for hours for an answer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't understand the meaning in the docs for the exact phrase search:&amp;nbsp;&lt;/P&gt;&lt;P&gt;"The whole phrase will be tokenized"&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.alfresco.com/search-services/latest/using/#:~:text=with%20these%20operators.-,Search%20for%20a%20phrase,%22big%20yellow%20banana%22,-Search%20for%20operator" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/search-services/latest/using/#:~:text=with%20these%20operators.-,Search%20for%20a%20phrase,%22big%20yellow%20banana%22,-Search%20for%20operator&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks for explaining the "tokenized". I am looking forward to understand the difference to the exact term search, which is not clear for me:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.alfresco.com/search-services/latest/using/#search-for-an-exact-term" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/search-services/latest/using/#search-for-an-exact-term&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help,&lt;/P&gt;&lt;P&gt;Thorsten&lt;/P&gt;&lt;H2&gt;Search for a phrase&lt;/H2&gt;&lt;P&gt;Phrases are enclosed in double quotes. Any embedded quotes can be escaped using ``. If no field is specified then the default TEXT field will be used, as with searches for a single term.&lt;/P&gt;&lt;P&gt;The whole phrase will be tokenized before the search according to the appropriate data dictionary definition(s).&lt;/P&gt;&lt;H2&gt;Search for an exact term&lt;/H2&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;=“multi term phrase”&lt;SPAN&gt;&amp;nbsp;returns documents only with the exact phrase and terms in the exact order.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 08 Nov 2021 18:51:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/meaning-of-quot-tokenized-search-quot/m-p/130673#M35302</guid>
      <dc:creator>thor_a</dc:creator>
      <dc:date>2021-11-08T18:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of "tokenized search"</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/meaning-of-quot-tokenized-search-quot/m-p/130674#M35303</link>
      <description>&lt;P&gt;SOLR is using tokenization when searching: &lt;A href="https://solr.apache.org/guide/6_6/tokenizers.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://solr.apache.org/guide/6_6/tokenizers.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;That means that searching term is not what you are typing, but some meaningful parts of the sentence.&lt;/P&gt;
&lt;P&gt;When searching for "Running is a sport", the real query is expanded to "run, run_is, is, is_a, a, a_sport, sport". So you are getting all the results including that tokens.&lt;/P&gt;
&lt;P&gt;However, when using ="Running is a sport", the query returns the fields that include exactly that terms in the order specified "Running, is, a, sport".&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 08:26:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/meaning-of-quot-tokenized-search-quot/m-p/130674#M35303</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2021-11-09T08:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of "tokenized search"</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/meaning-of-quot-tokenized-search-quot/m-p/130675#M35304</link>
      <description>&lt;P&gt;Thank you very much for clarification of "tokenization"!&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/5487"&gt;@angelborroy&lt;/A&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;When searching for "Running is a sport", the real query is expanded to "run, run_is, is, is_a, a, a_sport, sport".&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I did not find in the solr6 tokenization doc, that "is_a" or "a_sport" has also to be seen as a token. I expected that only different words are tokens, but not all two word combinations behind each other. (Just to be sure: The underscore of your example does mean a single space, doesn't it?)&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/5487"&gt;@angelborroy&lt;/A&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;So you are getting all the results including that tokens.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Does this mean, that &lt;EM&gt;every&lt;/EM&gt; token you mentioned has to appear in every result document? But the order of the found tokens is not necessary? Therefore also documents are found with the following content: 'Is sport a running game'. No documents are found with this content: "Is this game a sport". Is this correct?&lt;/P&gt;&lt;P&gt;BTW If this is true, I don't understand why this search is called "phrase" search. Normally a phrase search implicits a certain order. It's more like a "set search"...&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/5487"&gt;@angelborroy&lt;/A&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;However, when using ="Running is a sport", the query returns the fields that include exactly that terms in the order specified "Running, is, a, sport".&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I am glad that I interpreted this syntax correctly. Is it possible to use it as a JSON query without problems? I could not integrate the equal sign immediately into the following syntax:&lt;/P&gt;&lt;PRE&gt;{
  "query": \{
    "query":"cm:content:('*Running is a sport*')"
  }
}&lt;/PRE&gt;&lt;P&gt;IMO the equal sign does not harmonize with cm:content. But perhaps I should omit cm:content and replace it with TEXT?&lt;/P&gt;&lt;P&gt;Thorsten&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 13:59:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/meaning-of-quot-tokenized-search-quot/m-p/130675#M35304</guid>
      <dc:creator>thor_a</dc:creator>
      <dc:date>2021-11-09T13:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of "tokenized search"</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/meaning-of-quot-tokenized-search-quot/m-p/130676#M35305</link>
      <description>&lt;P&gt;When using "=" with content (TEXT) fields, not the whole field value is considered. It will also fetch the content that includes that sentence.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 14:17:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/meaning-of-quot-tokenized-search-quot/m-p/130676#M35305</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2021-11-09T14:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of "tokenized search"</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/meaning-of-quot-tokenized-search-quot/m-p/130677#M35306</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/5487"&gt;@angelborroy&lt;/A&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;When using "=" with content (TEXT) fields, not the whole field value is considered. It will also fetch the content that includes that sentence.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I am not sure if I understand you. Do you refer to my wildcards in the example above?&lt;/P&gt;&lt;P&gt;Regarding the field type TEXT: Is the following definition of TEXT correct?&lt;BR /&gt;&lt;A href="https://docs.alfresco.com/search-enterprise/latest/using/field/#text-field-prefix-range-wildcard-fuzzy" target="_blank" rel="noopener nofollow noreferrer"&gt;TEXT virtual field&lt;/A&gt;&amp;nbsp;(Because the link refers to Alfresco Search Enterprise. I did not find any other doc.)&lt;/P&gt;&lt;P&gt;BTW The syntax for an exact term search with JSON is clear now. The following works:&lt;/P&gt;&lt;PRE&gt;{
  "query": {
    "query":"=cm:content:'Runnnig is a sport'"
  }
}&lt;/PRE&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Thorsten&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 18:25:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/meaning-of-quot-tokenized-search-quot/m-p/130677#M35306</guid>
      <dc:creator>thor_a</dc:creator>
      <dc:date>2021-11-11T18:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of "tokenized search"</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/meaning-of-quot-tokenized-search-quot/m-p/130678#M35307</link>
      <description>&lt;P&gt;TEXT uses can be found in &lt;A href="https://docs.alfresco.com/search-services/latest/using/#search-in-fields" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/search-services/latest/using/#search-in-fields&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;When using "=" operator you have two different behaviours:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Return all the documents having the exact value for non-content properties&lt;/LI&gt;
&lt;LI&gt;Return all the documents having the exact sentence in part of a Content (TEXT) property&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 12 Nov 2021 08:38:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/meaning-of-quot-tokenized-search-quot/m-p/130678#M35307</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2021-11-12T08:38:29Z</dc:date>
    </item>
  </channel>
</rss>

