<?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: Exact name query in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/exact-name-query/m-p/84284#M56696</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Benjamin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"cm:name" is out of the box property and it is behaving like this as it is declared as tokenized "both" for supporting full text search in out of the box alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ideally,you should not change that behavior.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would suggest to use custom property instead of it and make that property as tokenized "false" as suggest by sanket.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yogesh Prajapati&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 May 2014 17:20:12 GMT</pubDate>
    <dc:creator>yogeshpj</dc:creator>
    <dc:date>2014-05-14T17:20:12Z</dc:date>
    <item>
      <title>Exact name query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exact-name-query/m-p/84279#M56691</link>
      <description>Hi all,I have created 2 files with the names "bob" and "bob friend"When I do the following query:@cm\:name:bobin the node browser I get both returned. Is there a query which allows an exact match so only "bob" is returned.I understand the reason "bob friend" is being returned because "bob" and "frie</description>
      <pubDate>Tue, 01 May 2007 17:13:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exact-name-query/m-p/84279#M56691</guid>
      <dc:creator>benjamin_doughe</dc:creator>
      <dc:date>2007-05-01T17:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Exact name query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exact-name-query/m-p/84280#M56692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@cm\:name:"bob"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;may give you what you want.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 10:47:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exact-name-query/m-p/84280#M56692</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-05-03T10:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Exact name query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exact-name-query/m-p/84281#M56693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the quick responce, unfortunately that didn't seem to work. It still returns both "bob" and "bob friend":&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Search&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Search Language:&amp;nbsp;&amp;nbsp;&amp;nbsp;lucene&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Search:&amp;nbsp;&amp;nbsp;&amp;nbsp;@cm\:name:"bob"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Results (2 rows)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Name&amp;nbsp;&amp;nbsp;&amp;nbsp;Node&amp;nbsp;&amp;nbsp;&amp;nbsp;Parent&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/content/1.0}bob" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}bob&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;workspace://SpacesStore/52771e17-f966-11db-ba12-57a41379f1a3&amp;nbsp;&amp;nbsp;&amp;nbsp;workspace://SpacesStore/73569c60-e8fc-11db-912a-c1b3c759d3a2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/content/1.0}bob_x0020_friend" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}bob_x0020_friend&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;workspace://SpacesStore/5c28f4f0-f966-11db-ba12-57a41379f1a3&amp;nbsp;&amp;nbsp;&amp;nbsp;workspace://SpacesStore/73569c60-e8fc-11db-912a-c1b3c759d3a2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ta,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ben.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 11:13:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exact-name-query/m-p/84281#M56693</guid>
      <dc:creator>benjamin_doughe</dc:creator>
      <dc:date>2007-05-03T11:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Exact name query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exact-name-query/m-p/84282#M56694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no way to do what you want….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You would have to add "not any token that is not bob" which would be quite expensive to do. This will find everything that does not match bob and invert it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want identifiers you can declare attributes to be untokenised.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;An exact match is then always going to happen as there is ony one token.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could filter the results for the exact match.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is possible that the score can help here - an exact match of one token should score higher likely1.0, while the other doc will score lower related to the number of tokens. If not is possible to tweak scoring. We&amp;nbsp; have not really worried about scoring and taken the lucene default. Stop words will stuff this up …The bob is liely to be the same as the "the" will be excluded.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps a bit …&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2007 14:14:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exact-name-query/m-p/84282#M56694</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2007-05-04T14:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Exact name query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exact-name-query/m-p/84283#M56695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I faced a similar issue. But it seems that the above discussion was in with reference to an older alfresco version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am working with Alfresco4.1.3. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I made my exact search work by prefixing the property name with "=" operator.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example:&amp;nbsp; =cm:customproperty:"abc"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Courtesy : &lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/4.2/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Fconcepts%2Frm-searchsyntax-exact.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/4.2/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Fconcepts%2Frm-searchsyntax-exact.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Other option is to make the tokenized attribute to false in your model file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://docs.alfresco.com/4.1/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Fconcepts%2Fsearch-fts-config.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/4.1/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Fconcepts%2Fsearch-fts-config.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2014 10:08:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exact-name-query/m-p/84283#M56695</guid>
      <dc:creator>sanket</dc:creator>
      <dc:date>2014-04-21T10:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Exact name query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exact-name-query/m-p/84284#M56696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Benjamin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"cm:name" is out of the box property and it is behaving like this as it is declared as tokenized "both" for supporting full text search in out of the box alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ideally,you should not change that behavior.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would suggest to use custom property instead of it and make that property as tokenized "false" as suggest by sanket.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yogesh Prajapati&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 17:20:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exact-name-query/m-p/84284#M56696</guid>
      <dc:creator>yogeshpj</dc:creator>
      <dc:date>2014-05-14T17:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Exact name query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exact-name-query/m-p/84285#M56697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Sanket, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried the same "=" operator to retrieve exact search. But it didn't helped.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 11:24:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exact-name-query/m-p/84285#M56697</guid>
      <dc:creator>jaynil_bagdai</dc:creator>
      <dc:date>2014-06-25T11:24:56Z</dc:date>
    </item>
  </channel>
</rss>

