Enable search_elastic app via CLI using occ app:enable search_elastic
The apps is enabled
✔️
Disable Guest app via CLI using occ app:disable search_elastic
The apps is disabled
✔️
Create initial Search Index for one user via CLI using occ search:index:create
The initial Search Index is created
✔️
Rebuild Search Index for one user via CLI using occ search:index:rebuild
The initial Search Index is created
✔️
Reset Index via CLI using occ search:index:reset
Reset the index
✔️
Update search Index via CLI using occ search:index:update
Update the search index
✔️
WebUI Full Search menu
Set a valid ElasticSearch server address in the textbox and click Reset index button
The green gauge is shown
✔️
Run a couple of searchs and check that statistics related to nodes marked as indexed appears
✔️
Search for content
Skeleton Files. A user searches for content included in the Skeleton files using the searchbox
The skeleton file that contains the word is shown in the files view
✔️
File located in root. A user searches for content included in a file located in root using the searchbox
The file that contains the word is shown in the files view
✔️
File located 5 folders depth. A user searches for content included in a file located in 5 folders depth using the searchbox
The file that contains the word is shown in the files view
✔️
Special Characters फन्नि. File located 5 folders depth. A user searches for content included in a file located in 5 folders depth using the searchbox
The file that contains the फन्नि is shown in the files view
✔️
File shared with me. A user searches for content included in a file shared with the user using the searchbox
The file that contains the word is shown in the files view
✔️
File fed. shared with me. A user searches for content included in a file fed. shared with the user using the searchbox
The file that contains the word is shown in the files view
✔️
File hosted in a personal mount. A user searches for content pattern that matches filename and content included in a file hosted in a personal mount using the searchbox
The file that contains the word is shown in the files view and also the the one that matches the filename
❌
Tested using ownCloud as external Storage
File hosted in a global mount. A user searches for content included in a file hosted in a global mount using the searchbox
The file that contains the word is shown in the files view
❌
Tested using ownCloud as external Storage
Search for filename
Skeleton Files. A user searches for a filename in the Skeleton files using the searchbox
The skeleton file that matches with the filename is shown in the files view
✔️
File located in root. A user searches for a filename in a file located in root using the searchbox
The file that matches with the filename is shown in the files view
✔️
File located in root renamed. A user searches for a filename in a file renamed located in root using the searchbox
The file should not be shown in the files view
✔️
File located in root renamed (part of the name that was in the original file, but not in the new file). A user searches for a filename in a file renamed (part of the name that was in the original file, but not in the new file) located in root using the searchbox
The file should not be shown in the files view
✔️
File located 5 folders depth. A user for a filename (not full word - only middle part of filename given) in a file located in 5 folders depth using the searchbox
The file that matches with the filename is shown in the files view
✔️
File fed. shared with me. A user searches for a filename of a file fed. shared with the user using the searchbox
The file that matches with the filename is shown in the files view
✔️
Special Characters फन्नि. File located 5 folders depth. A user searches for a filename in a file located in 5 folders depth using the searchbox
The file that matches with the filename फन्नि is shown in the files view
✔️
File hosted in a global mount. A user searches for a filename hosted in a global mount using the searchbox
The file that matches the filename is shown in the files view
❌
Tested using ownCloud as external Storage
Search for deleted files
Search for filename of a deleted file
The search does not return results
✔️
Search for content of a deleted file
The search does not return results
✔️
Unshared files
Search for filename of an unshared file
The search does not return results
✔️
Search for content of an unshared file
The search does not return results
✔️
Limit search_elastic access to a group
Limit the users that will have access to full text search by setting a group config:app:set search_elastic group --value groupname
This will cause only members of the admin group to do a full text search
✔️
Limit the users that will have access to full textsearch by setting a guest_app group config:app:set search_elastic group --value guest_app
This will cause only members of the guest_app group to do a full text search
✔️
Only index metadata
If you only want to use search_elastic as a more scalable search on filenames you can disable content indexing by setting nocontent to true (default is false): config:app:set search_elastic nocontent --value true
✔️
WebUI and browsers
Check that Full Search menu in admin section works fine using FireFox as browser
✔️
Check that Full Search menu in admin section works fine using Chrome as browser
✔️
Check that Full Search menu in admin section works fine using IE11 as browser
✔️
Check that Full Search menu in admin section works fine using Edge as browser
✔️
Check that Full Search menu in admin section works fine using Safari as browser
[x] UX: Add Security Questions on destructive commands: #89 @davitol Test steps Run CLI commands and check question is shown e.g. "This will delete the whole search index! Do you want to proceed?"
'Full Search' Test Plan
Testing functionality
occ app:enable search_elastic
occ app:disable search_elastic
occ search:index:create
occ search:index:rebuild
occ search:index:reset
occ search:index:update
config:app:set search_elastic group --value groupname
config:app:set search_elastic group --value guest_app
nocontent
totrue
(default isfalse
):config:app:set search_elastic nocontent --value true