<?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: Lucene Search property value exact match[NodeBrowser] in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-property-value-exact-match-nodebrowser/m-p/289421#M242551</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;You are right using = will do the trick but only for AFTS, Alfresco Full Text Search, not for lucene query syntax. I can't find a way to do it with Lucene, it might not be posible at all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way this is the new URL for the place you stated: &lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/4.2/concepts/rm-searchsyntax-exact.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/4.2/concepts/rm-searchsyntax-exact.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Dec 2014 12:20:22 GMT</pubDate>
    <dc:creator>iblanco</dc:creator>
    <dc:date>2014-12-02T12:20:22Z</dc:date>
    <item>
      <title>Lucene Search property value exact match[NodeBrowser]</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-property-value-exact-match-nodebrowser/m-p/289414#M242544</link>
      <description>Hi, i'm looking for the correct syntax for searching with Lucene an exact value for my custom property. I've searched a lot here in the forum but without result…So Alfresco 4.2.c here is the property in my custom model(sure it works, i can see it in the share interface):&amp;lt;aspect name="myCustomAspe</description>
      <pubDate>Fri, 14 Jun 2013 14:49:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-property-value-exact-match-nodebrowser/m-p/289414#M242544</guid>
      <dc:creator>dave984</dc:creator>
      <dc:date>2013-06-14T14:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene Search property value exact match[NodeBrowser]</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-property-value-exact-match-nodebrowser/m-p/289415#M242545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If there are only the 4 documents in the path then I think that &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;+PATH:"/app:company_home/st:sites/cm:mySite/cm:documentLibrary/cm:repository/*" AND +@myCustomAspect\:myProp:"value"&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;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;should do the trick. Without the + in front of a query item its a "may" not a "must" so it will return all 4 documents because they are all in the path. The property content check will be irrelevant. If you added a fifth with myProp as "nothing" I would expect that to be returned as well with your original query. Adding the + should make it compulsory to have myProp = "value".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Jun 2013 12:55:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-property-value-exact-match-nodebrowser/m-p/289415#M242545</guid>
      <dc:creator>rjohnson</dc:creator>
      <dc:date>2013-06-15T12:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene Search property value exact match[NodeBrowser]</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-property-value-exact-match-nodebrowser/m-p/289416#M242546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try just removing the double quotes from the value&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;replace "value" to value&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Jun 2013 15:11:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-property-value-exact-match-nodebrowser/m-p/289416#M242546</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2013-06-15T15:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene Search property value exact match[NodeBrowser]</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-property-value-exact-match-nodebrowser/m-p/289417#M242547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your support, but i've already tried both the tricks, referring also to the documentation:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Search" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Search&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;but it didn't work…in the path there are more and more documents with property myProp blank but i don't see them in the search…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could it be a problem of indexing and tokenization, referring also to this page maybe i've to add a property in my custom model?&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>Sun, 16 Jun 2013 10:47:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-property-value-exact-match-nodebrowser/m-p/289417#M242547</guid>
      <dc:creator>dave984</dc:creator>
      <dc:date>2013-06-16T10:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene Search property value exact match[NodeBrowser]</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-property-value-exact-match-nodebrowser/m-p/289418#M242548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You say you have more and more documents with myProp blank and you don't see them in the search. If myProp is blank in the document, given your search is looking for the word value, why would you expect to see them in the search?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 17:17:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-property-value-exact-match-nodebrowser/m-p/289418#M242548</guid>
      <dc:creator>rjohnson</dc:creator>
      <dc:date>2013-06-17T17:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene Search property value exact match[NodeBrowser]</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-property-value-exact-match-nodebrowser/m-p/289419#M242549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bob, excuse me…just a misunderstanding…i was referring to this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;cite&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The property content check will be irrelevant. If you added a fifth with myProp as "nothing" I would expect that to be returned as well with your original query. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/cite&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;simply it's not true…i don't see the file with the blank property in my search…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i am still not able to find precisely what i search with Lucene…very strange…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 14:33:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-property-value-exact-match-nodebrowser/m-p/289419#M242549</guid>
      <dc:creator>dave984</dc:creator>
      <dc:date>2013-06-18T14:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene Search property value exact match[NodeBrowser]</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-property-value-exact-match-nodebrowser/m-p/289420#M242550</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:10:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-property-value-exact-match-nodebrowser/m-p/289420#M242550</guid>
      <dc:creator>sanket</dc:creator>
      <dc:date>2014-04-21T10:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene Search property value exact match[NodeBrowser]</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-property-value-exact-match-nodebrowser/m-p/289421#M242551</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;You are right using = will do the trick but only for AFTS, Alfresco Full Text Search, not for lucene query syntax. I can't find a way to do it with Lucene, it might not be posible at all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way this is the new URL for the place you stated: &lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/4.2/concepts/rm-searchsyntax-exact.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/4.2/concepts/rm-searchsyntax-exact.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 12:20:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-property-value-exact-match-nodebrowser/m-p/289421#M242551</guid>
      <dc:creator>iblanco</dc:creator>
      <dc:date>2014-12-02T12:20:22Z</dc:date>
    </item>
  </channel>
</rss>

