AnsweredAssumed Answered

Lucene and empty spaces.

Question asked by monitloth on Dec 9, 2008
Latest reply on Apr 29, 2009 by icemaker
Hello,

I have a query which searchs a full directory. A input defines which directory will be searched. But when using a value with an empty space ("Sony Project"), I get no results. The query works otherwise without any problem.

My query that works:
TYPE:"{http://www.alfresco.org/model/content/1.0}content" +PATH:"/app:company_home/cm:Rentals/cm:Movies/cm:Action//*" -TYPE:"{http://www.alfresco.org/model/content/1.0}folder" +@cm\:name:"*a*"

No results, no warning/error:
TYPE:"{http://www.alfresco.org/model/content/1.0}content" +PATH:"/app:company_home/cm:Rentals/cm:Movies/cm:Other Genres//*" -TYPE:"{http://www.alfresco.org/model/content/1.0}folder" +@cm\:name:"*a*"

Thanks for your support.

Outcomes