With this last release of the Full text search - Elasticsearch app, we implemented more precise search options. You can now include and exclude words and sentences. Also the search options are spread to all the field containing content (path of file, content of file, description of bookmarks, …)
Some example of search requests:
[files] test nextcloud help
will return all your files containing test OR nextcloud OR help in their path or content.
[files] +“test” nextcloud help
will return all your files containing the exact word “test” and that might contains nextcloud OR help in their path or content. (like the file in the folder help/ that contains the string ‘test the opensource project nextcloud’ or 'test anything ’ or ‘testing nextcloud’ but not ‘testing anything’)
[files] +“testing” nextcloud -"testing nextcloud"
will return all your files containing the exact word “testing” and that might contains nextcloud but does not contains the exact string “testing nextcloud”
[bookmarks] nextcloud -test
will return all your bookmarks that the webpage (title or content) or description containing nextcloud but does not contains words starting with test in the title/content of the webpage of the description of the bookmark.
Custom Tokenizer
This is an advanced setting that can be edited to help index some language
Changelog
searching all “block of text”
searching options: MUST/MUST_NOT using the +/-
search multi fields
tokenizer is now configurable (so chinese is indexeable)