mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Added screenshots to facets and full_text_search docs, refs #255
This commit is contained in:
parent
858d79fe93
commit
9959a9e4de
4 changed files with 4 additions and 0 deletions
BIN
docs/facets.png
Normal file
BIN
docs/facets.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 54 KiB |
|
|
@ -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.
|
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 can be specified in two ways: using queryset parameters, or in ``metadata.json`` configuration for the table.
|
||||||
|
|
||||||
Facets in querystrings
|
Facets in querystrings
|
||||||
|
|
|
||||||
BIN
docs/full_text_search.png
Normal file
BIN
docs/full_text_search.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 38 KiB |
|
|
@ -5,6 +5,8 @@ Full-text search
|
||||||
|
|
||||||
SQLite includes `a powerful mechanism for enabling full-text search <https://www.sqlite.org/fts3.html>`_ 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.
|
SQLite includes `a powerful mechanism for enabling full-text search <https://www.sqlite.org/fts3.html>`_ 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``).
|
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
|
FTS versions
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue