AnsweredAssumed Answered

Lucene searching objects with spaces

Question asked by sgomez on Oct 20, 2009
Latest reply on Oct 27, 2009 by nvsreeram

I seem to have trouble doing a search for items that contain a space in the title.  I've looked through similar posts in the forums but haven't gotten anything that I tried that would fix this issue.

For example, I  have three folders titled:
1.  Folder One
2.  Student Folder
3.  Admin Folder Two

When I do the query TYPE:"cm:folder" AND @cm\:name:folder* it returns all three, but I would like it to only return 1 result(Folder One).  I think the problem is that there are spaces in the title, so any word that starts with folder will be returned as a result.  Is there a way to fix this?  I am using 3.1.  I've tried it through javascript and the node browser and it is the same result, and hoping to move over to Java after these issues are addressed.  Thank you in advanced.