Skip to content

[Feature Request]: FINAL search engine features for 9.5 #600

Closed
@python357-1

Description

@python357-1

Checklist

  • I am using an up-to-date version.
  • I have read the documentation.
  • I have searched existing issues.

Description

this issue describes the current consensus on what features the search engine will have for the 9.5 release.

REQUIRED for 9.5:

new queries - a definition and implementation of a "query language" which can be converted to SQL queries to be made against the database

  • Boolean operators: AND, OR, and NOT operators for said queries
  • tag, tag_id, mediatype, filetype, path, and special queries: types of queries to be run against entries/tags in the database
query description allowed values example
tag searches by tag name, with an optional "disambiguation" syntax that specifies which tag you are looking for, if there are multiple matches string tag: Mario
tag: Mario[parent=nintendo]
tag_id searches by the internal ID of a tag int tag_id: 1001
mediatype searches by name property of MediaCategories (will eventually use the translated name) string mediatype: video
filetype searches by the file extension string filetype: jpg
path searches by complete path of files. allows globs string path: folder/*
special searches by special metadata of entries "untagged"
"unlinked"
special: untagged
  • field content search: TODO
  • sortable results (possibly in a different issue/PR)

STRETCH GOALS for 9.5

  • new search UI (will be in a separate issue/PR)
  • HAS query (waiting on composition tags to be implemented)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    ✅ Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions