Skip to content

PR-2275 alternate fix #2280

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,14 @@ storing the path in the field ``path``; the path string uses the comma

This index may improve performance depending on the query:

- For queries of the ``Books`` sub-tree (e.g. ``/^,Books,/``) an
index on the ``path`` field improves the query performance
significantly.

- For queries of the ``Programming`` sub-tree
(e.g. ``/,Programming,/``), or similar queries of sub-trees, where
the node might be in the middle of the indexed string, the query
must inspect the entire index.
- For queries from the root ``Books`` sub-tree (e.g. ``/^,Books,/``
or ``/^,Books,Programming,/``), an index on the ``path`` field
improves the query performance significantly.

- For queries of sub-trees where the path from the root is not
provided in the query (e.g. ``/,Databases,/``), or similar queries
of sub-trees, where the node might be in the middle of the indexed
string, the query must inspect the entire index.

For these queries an index *may* provide some performance
improvement *if* the index is significantly smaller than the
Expand Down