Searching for files¶
If you like to Search for filenames you can use the filename field which contains the filename.
By using the filename field within the search query you now define the pattern you would like search for.
The pattern can contain wildcard as you might expect they to work e.g. known by the command line.
The following query will find all filenames which contain the given pattern in all revisions and all paths within the repository.
+filename:*.txtA common search pattern to search for all existing word files (.doc)
+filename:*.doc
or if you are a little bit more up-to-date you might use 2007 office files (.docx)
+filename:*.docx
If you know only parts of your filename you are searching for just simply define those parts in the query. The following query will search for file which contains the scm inside. This will find filenames which contain uppercase or lowercase written characters or in other words the search is
non-case-sensitive.
+filename:*scm*.doc