You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enable search_elastic app via CLI using occ app:enable search_elastic
The apps is enabled
✔️
Disable search_elastic 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
✔️
Destroys the sql table in the elastic server
Update search Index via CLI using occ search:index:update
Update the search index
✔️
Only works after changing a text file via web UI.
WebUI Full Search menu
Set a valid ElasticSearch server address in the textbox and click Reset index button
The green gauge is shown
✔️
Destroys the sql table in the elastic server
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 (e.g. "Welcome") 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. User edits the file and change the content. Then user searches for the new content
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. User edits the file and change the content. Then user searches for the old content
The file is not shown in the files view when we search for the old content
✔️
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
✔️
Works only with "Scan external storages" activated?? -> #317
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
✔️
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
✔️
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
✔️
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 shared with me. A user searches for a filename (not full word - end of filename missing) in a file shared with the user using the searchbox
The file that matches with the filename is shown in the files view
✔️
File shared with me. A user searches for a filename in a file shared with the user using the searchbox
The file that matches with the filename is shown in the files view
✔️
File shared with me via group. A user searches for a filename in a file shared with the uservia group 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 (not full word - start of filename missing) in a file fed. shared with the user using the searchbox
The file that matches with the filename is shown in the files view
✔️
infix search with * is unreliable work when the file was renamed. Prefix search for a renamed file immediately works.But infix search seems to take a while??? When other things were edited and a second or thrid index update was done, then it suddenly works.
File hosted in a personal mount. A user searches for a filename (just file extension) in a file hosted in a personal mount using the searchbox
The file that matches with the filename is shown in the files view
✔️
must use *.TXT
File hosted in a global mount. A user searches for a filename (not exact case) in a file hosted in a global mount using the searchbox
The file that matches with the filename is shown in the files view
✔️
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
✔️
Operations with clients
File located inside a folder. A user searches for content included in the file using the searchbox. User edits the file and change the content using a Desktop client. Then user searches for the new content
The file that contains the word is shown in the files view
✔️
File located inside a folder. A user searches for content included in the file using the searchbox. User edits the file and change the content using a Desktop client. Then user searches for the old content
The file is not shown in the files view
✔️
File located inside a folder. A user searches for content included in the file using the searchbox. User edits the file and change the content using a Desktop client. Then user searches for the new content
The file that contains the word is shown in the files view
✔️
File located inside a folder. A user searches for content included in the file using the searchbox. User edits the file and change the content using a Mobile client. Then user searches for the old content
The file is not shown in the files view
✔️
Text files cannot be overwritten inplace from the android app
Operations with different file formats
Text file located inside a folder. A user searches for content included in the file using the searchbox. User edits the file using files_texteditor app and change the content. Then user searches for the new content
The file that contains the word is shown in the files view
✔️
Text file located inside a folder. A user searches for content included in the file using the searchbox. User edits the file using files_texteditor app and change the content. Then user searches for the old content
The file is not shown in the files view
✔️
Docx file located inside a folder. A user searches for content included in the file using the searchbox. User edits the file and changes the content. Then user searches for the new content
The file that contains the word is shown in the files view
✔️
Docx file located inside a folder. A user searches for content included in the file using the searchbox. User edits the file and changes the content. Then user searches for the old content
The file is not shown in the files view
✔️
XLS file located inside a folder. A user searches for content included in the file using the searchbox. User edits the file and changes the content. Then user searches for the new content
The file that contains the word is shown in the files view
✔️
XLS file located inside a folder. A user searches for content included in the file using the searchbox. User edits the file and changes the content. Then user searches for the old content
The file is not shown in the files view
✔️
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 Edge as browser
✔️
Check that Full Search menu in admin section works fine using Safari as browser
✔️
New test items since 2.1.0
admin UI elements have choice "No Authentication" and "Username+ and Password"
admin UI checkbox for external storage does not change after page refresh/reload by itself
admin UI checkbox for external storage remains in sync with database
'Elastic Search' Test Plan
Template: https://github.com/owncloud/QA/blob/master/Server/Test_Plan_search_elastic.md
setup
hetzner_deploy/oc10.sh search_elastic
-> https://oc10120rc2-search-elastic-230rc1-20230302.jw-qa.owncloud.works (with encryption!) and elastic server 7.17.1
-> https://oc10120rc2-search-elastic-230rc1-20230303.jw-qa.owncloud.works with elastic server 8.6.2
Testing functionality
occ search:index:update
before testing the result.occ search:index:update
only updates the index for users, who have edited something.TODO:
occ search:index:reset; occ search:index:rebuild;
- edit a text file in web ui -occ search:index:update
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
New test items since 2.1.0
occ config:app:set search_elastic scanExternalStorages --value 0
disables indexing of external storages. (1 enables)The text was updated successfully, but these errors were encountered: