All the folders in Alfresco have different names.The thing is, if I search for a Node with name 'id123', I will get some nodes I dont want. eg: 'id', '123', 'id123456'.The method I create return all the results that have, as sub-string, the given string, but I just want the space with full name equals to the given string, so I will ALWAYS get 1 result.

The problem is, I dont know the path. I need to perform a search for the name of the folder first. Initially I only have the name of the folder, and I know that it is in:Company Home -> Specific.But inside this path I have a tree of spaces (and sub-spaces), and the folder I want to find is in one of the tree leaf.Did I make myself clear?

Hi…I did the search with Lucene Query, and I get results, but not the ones I want.

if I search for a node with name 'id' ("@cm\\:name:\"id"") I will get nodes with names like 'id1', 'id123', etc.This will be a problem in my application cause I will have a node with full name '1' and a node will full name '11' (and '111'…).

It's possible to get a reference to the node with only its full name? Or the only way is to search for it's UUID? The thing is, initially, I only have the folder name so, to find its uuid, I need to perform a search with its name.