How to Exclude Folder Names from the indexing process or from the Results Panel in a CDS Search?
Posted over 1 year ago by Paulo Castro Oliveira
Post a topicPeople who like this
Delete Comment
This post will be deleted permanently. Are you sure?
Code Snippet
Html
Html
Css
JavaScript
Sass
Xml
Ruby
PHP
Java
C#
C++
ObjectiveC
Perl
Python
VB
SQL
Generic Language
Hi
When we do a search, as a standard, our main objective is to find a certain string in the names of files or included in their content and not in the Name of a Folder (with rare exceptions)!
I verify that in the CDS, doing a simple search, with a certain string, in the main search field, the CDS returns results for both Files and Folders.
QUESTION
==========
Is there any simple way to:
i) do not index the Folder Name
or, ideally
ii) do a search where the results only return the File Name/Content?
(folder names are excluded!)
Thank you
0 Votes
Amy Renaud posted about 1 year ago Admin Best Answer
I see Tony from Technical Support responded via our ticketing system. I have copy/pasted his advice below:
@filename =
@content =
0 Votes
5 Comments
Nigel Pendrigh posted about 2 months ago
Thank you very much for your helpful answer Phillippe :)
I did not realise that @FileFolder could be used like this
I have read and read again since your post - the document at the end of your link = Refine a search with advanced categories operators
I missed this because the example refer only to using this in the context of restricting document search to a specific folder
Can this article be updated please to demonstrate this useful extra functionality that is probably hidden from most of your cutomers!
0 Votes
Philippe Franco posted about 2 months ago Admin
For those who are looking for a folder and know part of the folder name, you can use @filefolder
For example @filefolder = logo will return all results where there is a folder containing that word.
You can find more of these in this article.
1 Votes
Nigel Pendrigh posted about 2 months ago
This is helpful - and sometimes, I just want to find out where is the folder
So how to search by Only the Folder Name?
0 Votes
Amy Renaud posted about 1 year ago Admin Answer
I see Tony from Technical Support responded via our ticketing system. I have copy/pasted his advice below:
@filename =
@content =
0 Votes
Paulo Castro Oliveira posted over 1 year ago
For anyone interested in the answer to this question (click on the link)! ;)
0 Votes
Login or Sign up to post a comment