cancel
Showing results for 
Search instead for 
Did you mean: 

Find subfolder by Lucene Search

db9p
Champ in-the-making
Champ in-the-making
Hi,

  In our repository, the structure is like this:

Repository
  Alice
    2012
    2013
  Bob
    2012
    2013


How do I find a specific folder like Bob's 2013 folder?

var folderNode = search.luceneSearch(?);

Please help write the ? in above Lucene expression.

Thanks in advance!
3 REPLIES 3

db9p
Champ in-the-making
Champ in-the-making
Never mind, I figured it out. Thanks.

yogeshpj
Star Contributor
Star Contributor
Could you please tell me the way how you have resolved the problem ?
I have to search in the same fashion.

eric_soto
Champ in-the-making
Champ in-the-making
For the benefit of anyone googling how to do this, one way is:


var folderNode = companyhome.childByNamePath("/Bob/2013");


Cheers,