cancel
Showing results for 
Search instead for 
Did you mean: 

Lucene and empty spaces.

monitloth
Champ on-the-rise
Champ on-the-rise
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.
10 REPLIES 10

anon26949
Star Contributor
Star Contributor

How about Escaping characters?