How can search in a specific folder in Databricks?

Reza
New Contributor III

There is a keyword search option in Databricks that searches for a command or word in the entire workspace. How can search for a command in a specific folder or repository?

-werners-
Esteemed Contributor III

There is no such functionality at the moment.

But there are ways to achieve this:

  1. export the workspace by using the databricks cli. It will download all the notebooks etc, then you can perform a search with your IDE or ...
  2. use Repos. The workbooks are sent to git (Github, Azure Devops,...) and there you can go to your files and perform a search there.

The 2nd option is ofc a better approach.

Reza
New Contributor III

My question was regarding a simple search in specific folders in Databricks, not cli or GitHub repo.

Reza
New Contributor III

I know. However, I want to search in a specific folder entire databricks that I have access too.

Atanu
Databricks Employee
Databricks Employee

@Reza Rajabi​  it actually search entire databricks . I think best search match can show the folder destination too.

Anonymous
Not applicable

@Reza Rajabi​ - Does Atanu's response answer your question?

Reza
New Contributor III

No.

Anonymous
Not applicable

@Reza Rajabi​ - Thank you for letting us know.

Anonymous
Not applicable

@Reza Rajabi​ - We have not forgotten you. We are looking for someone to help.

Atanu
Databricks Employee
Databricks Employee

I think folder wise search wont work cause search engine works respective to the workspace.

please raise a feature request - https://docs.databricks.com/resources/ideas.html @Reza Rajabi​ 

View solution in original post

nelsoncardenas
New Contributor II

I would not consider this resolved. When I visit a forum, it's to find a solution, and I'm not completely sure if this feature has still not been created in Databricks since 2022. Regardless of that, I have submitted the feature request in Databricks.

Jensz007
New Contributor II

@AtanuI agree with nelsoncardenas, the problem is not solved, and the answer currently only provides us with saying we need to raise a feature request.
Would it be possible to at least link the feature requested by nelsoncardenas to this post/answer? That way we can see the state the request is in right now.