<?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 Lucen Query in alfresco for Exact property match only in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/lucen-query-in-alfresco-for-exact-property-match-only/m-p/299321#M252451</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using below query to search document. My first query is=&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TYPE:"hr:hrdoctype" AND @cm\:name:"E1"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and my second query is=&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TYPE:"hr:hrdoctype" AND @cm\:name:"E2"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here its giving the proper result.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But there is one problem, that if i will use&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TYPE:"hr:hrdoctype" AND @cm\:name:"E"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then it is displaying both records that is E1 and E2. But I don't have any record with name E. So is there any to get exact match?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here, my requirement is if I search with name E it should not have to display any record. The record should display only when exact match occurs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone help me with this requirement?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think it happens because of it is tokenized in alfresco for full text search. But my requirement is different.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using alfresco 5.0.d&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please provide a way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Jun 2016 07:14:06 GMT</pubDate>
    <dc:creator>deeps</dc:creator>
    <dc:date>2016-06-03T07:14:06Z</dc:date>
    <item>
      <title>Lucen Query in alfresco for Exact property match only</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucen-query-in-alfresco-for-exact-property-match-only/m-p/299321#M252451</link>
      <description>I am using below query to search document. My first query is=TYPE:"hr:hrdoctype" AND @cm\:name:"E1"and my second query is=TYPE:"hr:hrdoctype" AND @cm\:name:"E2"Here its giving the proper result.But there is one problem, that if i will useTYPE:"hr:hrdoctype" AND @cm\:name:"E"Then it is displaying bot</description>
      <pubDate>Fri, 03 Jun 2016 07:14:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucen-query-in-alfresco-for-exact-property-match-only/m-p/299321#M252451</guid>
      <dc:creator>deeps</dc:creator>
      <dc:date>2016-06-03T07:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Lucen Query in alfresco for Exact property match only</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucen-query-in-alfresco-for-exact-property-match-only/m-p/299322#M252452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For lucene to search exact term you need to make tokenized false for cm:name. Rather than modifying OOB proepry its better to create your custom one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Other opetion is to use fts-alfresco. Try this query which will give you exact match.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;TYPE:"hr:hrdoctype" AND =@cm\:name:"E"&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 07:47:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucen-query-in-alfresco-for-exact-property-match-only/m-p/299322#M252452</guid>
      <dc:creator>niketapatel</dc:creator>
      <dc:date>2016-06-06T07:47:00Z</dc:date>
    </item>
  </channel>
</rss>

