fulltextsearch icon indicating copy to clipboard operation
fulltextsearch copied to clipboard

Elasticsearch - Searchbox - Within current directory

Open aignerat opened this issue 6 years ago • 2 comments

Hey,

searching in the root directory doesn't give any result when using "within current directory". A searchquery is started but no results are shown.

I think the problem could come from this part of the code: private function searchQueryWithinDir(ISearchRequest $request) { $currentDir = $request->getOption('files_within_dir'); if ($currentDir === '') { return; }

Tested in files_fulltextsearch 1.2.5 and 1.2.8 on Nextcloud 15.0.4.

regards

chris

aignerat avatar Nov 05 '19 13:11 aignerat

@aignerat As I checked on NC 19.0.5 there is no any results if checkbox within current directory active

vovpff avatar Nov 23 '20 13:11 vovpff

i understand that it's not showstopper, but still there should be at least some warning

aignerat avatar Nov 23 '20 13:11 aignerat