cancel
Showing results for 
Search instead for 
Did you mean: 

Lucene Search only in parent folder.

yogeshkumar
Champ in-the-making
Champ in-the-making
Hi All,

Please let me know how to search files only in the root folder and not in the child folder.
Ex:
ABC(Folder)
|—-doc 1(document)
|—-doc 2 (document)
|
|——CA(Folder)
|
|—–BA(Folder)

i want to search documents inside ABC Folder which shouldn't search inside CA and BA Folders.
Please let me know the best way to form the query.

Thanks and Regards,
Yogeshkumar.S
1 REPLY 1

andy
Champ on-the-rise
Champ on-the-rise
Hi

You can add

+PATH:"<path to folder>/*"

Will find stuff in the folder (//* ending would find all below)

For this specific case you can also use

+PARENT:"<node ref of parent>"


Andy