AnsweredAssumed Answered

Strange behaviour with Lucene query

Question asked by mrsaqib on May 22, 2012
Latest reply on Dec 30, 2014 by shubhada
Hi All,

I am working on one of the project in alfresco 3.1
I've attached some aspects with the upload Pdfs, everything was working fine unless i encountered a strange issue.,

I've written a webscript which search based on the aspects (for ex the aspect is FirstName)

If i save the value A in the FirstName, and search through webscript, the lucene returns no result. and if i save any other value except A, or even AA, the lucene returns the pdf.

Search fails on : @joom\:FirstName:'A'  when FirstName is saved as A

Search passes on : @joom\:FirstName:'AA'  when FirstName is saved as AA