AnsweredAssumed Answered

Lucene and empty spaces.

Question asked by monitloth on Dec 9, 2008
Latest reply on Jul 22, 2018 by Aleksey Bykov

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:"{}content" +PATH:"/app:company_home/cm:Rentals/cm:Movies/cm:Action//*" -TYPE:"{}folder" +@cm\:name:"*a*"

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

Thanks for your support.