Allow users to limit their searches to a particular directory (Feature Request)
I reviewed from 3.2.8. Complex/advanced search until 3.2.10. Multiple indexes, but I did not see the following feature.
I like Recoll very much. I use it throughout my workday. However, I am often overwhelmed with search results. To decrease the number of search results I receive, I propose the following method.
First, I imagine I would create an abbreviation for each directory which I had added to "Index Configuration -> Global Parameters." For example, I might create an abbreviation "docs" for a directory of mine with the path /home/documents.
Also, for example, I might create an abbreviation "pscripts" for a directory of mine with the path /home/python_scripts.
Second, when I search on Recoll I would have the option to type docs:
or pscripts:
to limit my search to /home/documents
or /home/python_scripts.
Therefore, to limit my search for the term "tkinter" to only /home/documents
I would type the following into the search box: docs:tkinter
; whereas to limit my search for the term "tkinter" to only /home/python_scripts
I would type the following into the search box: pscripts:tkinter
. Of course, to limit a search to both docs:
and pscripts:
I imagine that I would enter something like, docs,pscripts:tkinter
What I indicated above is essentially what I want. The following adds some clarification and a refinement.
In other words, my current problem is this: when I search for a term such as tkinter
I often see too many search results. As a result, I often think to myself something like, "I know which directory I want to search, but I don't know an easy way to command Recoll to only search that specific directory."
I think that it would be nice, but not necessary, for users to be able to limit searches to a particular sub-directory within each directory which a user had added to "Index Configuration -> Global Parameters." For example, if /home/python_scripts/
were listed under "Index Configuration -> Global Parameters" then it would be nice to be able to limit searches to /home/python_scripts/parsing_scripts
instead of only being able to limit searches to /home/python_scripts/
.
Finally, imagine you had misplaced your wallet. You almost certainly wouldn't look through all of the pockets in all of your pants and jackets. Instead, you would very probably limit your search to pants and jackets you had worn within the last, say, approximately 12 to 24 hours. Of course, I imagine that you wouldn't bother searching in pants and jackets you had not worn for, say, two months. Similarly, if you had a closet which you had not opened for over a week (more than a week), you probably wouldn't bother opening that closet to search for your lost wallet.