diff options
author | Alexandru Pandelea <alexandru.pandelea@gmail.com> | 2017-05-26 23:22:12 +0300 |
---|---|---|
committer | Alexandru Pandelea <alexandru.pandelea@gmail.com> | 2017-06-22 16:49:41 +0300 |
commit | 11cbe223a554549dc1b42d0c91a3d5b569bc3971 (patch) | |
tree | 6e4d3794d80611b4c0469da5f9455da2bb5b8948 /src/nautilus-search-popover.h | |
parent | ba5ed9b169ec99d03cc355137bce16573b892478 (diff) | |
download | nautilus-11cbe223a554549dc1b42d0c91a3d5b569bc3971.tar.gz |
implement fts
The search text can now also match the contents of a file, besides
the file name.
This is done with the help of a Tracker query, using fts:match, which
matces both the contents of a file and the filename.
The user also has the option to choose whether to use or not the
Full Text Search. This can be done with a preference, which represents
the default option when opening a new tab/window or from the search
popover.
https://bugzilla.gnome.org/show_bug.cgi?id=775961
Diffstat (limited to 'src/nautilus-search-popover.h')
-rw-r--r-- | src/nautilus-search-popover.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nautilus-search-popover.h b/src/nautilus-search-popover.h index 1d872f1ac..91845cd4c 100644 --- a/src/nautilus-search-popover.h +++ b/src/nautilus-search-popover.h @@ -46,6 +46,10 @@ void nautilus_search_popover_set_query (NautilusSearch void nautilus_search_popover_reset_date_range (NautilusSearchPopover *popover); void nautilus_search_popover_reset_mime_types (NautilusSearchPopover *popover); +gboolean nautilus_search_popover_get_fts_enabled (NautilusSearchPopover *popover); +void nautilus_search_popover_set_fts_sensitive (NautilusSearchPopover *popover, + gboolean sensitive); + G_END_DECLS #endif /* NAUTILUS_SEARCH_POPOVER_H */ |