AnsweredAssumed Answered

Lucene query doesn't work right?

Question asked by jtorres on Dec 12, 2006
Latest reply on Mar 27, 2008 by cyrielleb
Hi people:

I'm trying to search a node by its name. If I find by exact name the query works perfect:

"@\\{http\\://www.alfresco.org/model/content/1.0\\}name:'+name

However if I try to search by aproximation the query doesn't works:

"@\\{http\\://www.alfresco.org/model/content/1.0\\}name: "+ name+"~"
or
"@\\{http\\://www.alfresco.org/model/content/1.0\\}name:'+ name +"*"
I obtain a lot of results that doesn't match with the query. What's wrong here?

Thanks a lot peope.

Outcomes