diff --git a/docs/facets.png b/docs/facets.png new file mode 100644 index 00000000..72d38043 Binary files /dev/null and b/docs/facets.png differ diff --git a/docs/facets.rst b/docs/facets.rst index 236e16c5..47da6e9d 100644 --- a/docs/facets.rst +++ b/docs/facets.rst @@ -5,6 +5,8 @@ Facets Datasette facets can be used to add a faceted browse interface to any Datasette table. With facets, tables are displayed along with a summary showing the most common values in specified columns. These values can be selected to further filter the table. +.. image:: facets.png + Facets can be specified in two ways: using queryset parameters, or in ``metadata.json`` configuration for the table. Facets in querystrings diff --git a/docs/full_text_search.png b/docs/full_text_search.png new file mode 100644 index 00000000..31f1e6a5 Binary files /dev/null and b/docs/full_text_search.png differ diff --git a/docs/full_text_search.rst b/docs/full_text_search.rst index e80a60c8..9ba8af24 100644 --- a/docs/full_text_search.rst +++ b/docs/full_text_search.rst @@ -5,6 +5,8 @@ Full-text search SQLite includes `a powerful mechanism for enabling full-text search `_ against SQLite records. Datasette can detect if a table has had full-text search configured for it in the underlying database and display a search interface for filtering that table. +.. image:: full_text_search.png + Datasette detects which tables have been configured for full-text search when it first inspects the database on startup (or via the ``datasette inspect`` command). You can visit the ``/-/inspect`` page on your Datasette instance to see the results of this inspection. Tables that have been configured for full-text search will have their ``fts_table`` property set to the name of another table (tables without full-text search will have this property set to ``null``). FTS versions