At the moment searches are pretty simple - enter a keyword and you'll get results back containing that substring.
I'd like to add support for operators though, allowing something like
concrete content-type:text/html
with the effect that only results with that content-type get returned.
Activity
29-Dec-23 11:44
assigned to @btasker
29-Dec-23 11:47
Other possible operators might be
matchtype(currently one ofurlortitle)domainhastitle(one of true/false)I'd also like to add
-support (for exampleconcrete -postswould search for concrete and then strip anything withpostsin the match).29-Dec-23 11:49
The catch with this is that we haven't yet defined how to handle search terms with multiple words in - currently they're taken as one term, so searching
concrete postswill matchhow to install concrete postsbut notposts about concrete.That probably needs defining before giving the appearance of there being advanced search term processing.
29-Dec-23 12:17
mentioned in commit e81fec93b6c588732596bc21561201d8bdc6e0fe
Commit: e81fec93b6c588732596bc21561201d8bdc6e0fe Author: B Tasker Date: 2023-12-29T12:16:38.000+00:00Message
feat: implement support for NOT matching via
-prefix (utilities/file_location_listing#11)29-Dec-23 12:17
It's now possible to exclude terms by prefixing them with
-29-Dec-23 12:27
mentioned in commit 2a297e5c6f04fcac1c638458922e89b304c30526
Commit: 2a297e5c6f04fcac1c638458922e89b304c30526 Author: B Tasker Date: 2023-12-29T12:24:51.000+00:00Message
feat: add support for
content-typeoperator (utilities/file_location_listing#11)29-Dec-23 12:27
mentioned in commit c2bb803211b875b97f08242bfc3e455edb0dac52
Commit: c2bb803211b875b97f08242bfc3e455edb0dac52 Author: B Tasker Date: 2023-12-29T12:27:13.000+00:00Message
feat: add support for
matchtypeoperator (utilities/file_location_listing#11)29-Dec-23 13:28
mentioned in commit fc3b106ec9e0829b11583cf337971667551494f4
Commit: fc3b106ec9e0829b11583cf337971667551494f4 Author: B Tasker Date: 2023-12-29T13:28:15.000+00:00Message
Add support for
domainoperator (utilities/file_location_listing#11)29-Dec-23 13:41
mentioned in commit 6f2d155d5baae271edb435cd45a475374e624b6c
Commit: 6f2d155d5baae271edb435cd45a475374e624b6c Author: B Tasker Date: 2023-12-29T13:40:36.000+00:00Message
feat: Add
hastitleoperator (utilities/file_location_listing#11)Supports
true,false,1,0,y,nas values29-Dec-23 13:47
mentioned in commit 4761756efafd461d301bb14b9e3a2e7d7b415edf
Commit: 4761756efafd461d301bb14b9e3a2e7d7b415edf Author: B Tasker Date: 2023-12-29T13:47:14.000+00:00Message
feat: add
extoperator to allow filtering by filename extension (utilities/file_location_listing#11)29-Dec-23 13:47
To summarise, the operators added are:
content-type:<content type>domain:<domain>ext:<filename extension>hastitle:<y|n|true|false|0|1>matchtype:<title|url>Negation is also supported:
concrete -posts