AnsweredAssumed Answered

Lucene Search property value exact match[NodeBrowser]

Question asked by dave984 on Jun 14, 2013
Latest reply on Dec 2, 2014 by iblanco
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):

<aspect name="myCustomAspect:productContentAspect">
  <title>My Custom Aspect</title>
  <parent>myCustomAspect:aspect</parent>
  <properties>
    <property name="myCustomAspect:myProp">
      <type>d:text</type>
      <mandatory>false</mandatory>
    </property>
  </properties>      
</aspect>


So in the NodeBrowser of Alfresco i type:
+PATH:"/app:company_home/st:sites/cm:mySite/cm:documentLibrary/cm:repository/*" AND @myCustomAspect\:myProp:"value"
ALfresco recognize my custom property but give me as the results the following:
value
valueOne
valueTwo
valueThree

My goal is to retrieve only the file with myProp=value…

Outcomes