# I am the Watcher. I am your guide through this vast new twtiverse.
#
# Usage:
# https://watcher.sour.is/api/plain/users View list of users and latest twt date.
# https://watcher.sour.is/api/plain/twt View all twts.
# https://watcher.sour.is/api/plain/mentions?uri=:uri View all mentions for uri.
# https://watcher.sour.is/api/plain/conv/:hash View all twts for a conversation subject.
#
# Options:
# uri Filter to show a specific users twts.
# offset Start index for quey.
# limit Count of items to return (going back in time).
#
# twt range = 1 10
# self = https://watcher.sour.is/conv/3zlzmga
@darch Yes yes we can but it migjt need improving and I’ll need to document the fields you search on
@darch Yes yes we can but it migjt need improving and I’ll need to document the fields you search on
great. Will i make sense to change the default search to be AND-based instead of OR-based? and only if none or very few results will it expand to OR-based search?
@darch Hmmm I'm sort of at the mercy of the bleve library here, and no that doesn't make a lot of sense to me, as this is how search engines work usually. Most of the time you enter "search terms" or keywords. The only significant difference between say Google™ and Yarns is the use of double-quotes "foo"
to denote "must have" where as here it's just a +
or -
for "must" and "must not" and the default is "should". See: https://blevesearch.com/docs/Query-String-Query/ for details.
@darch Hmmm I'm sort of at the mercy of the bleve library here, and no that doesn't make a lot of sense to me, as this is how search engines work usually. Most of the time you enter "search terms" or keywords. The only significant difference between say Google™ and Yarns is the use of double-quotes "foo"
to denote "must have" where as here it's just a +
or -
for "must" and "must not" and the default is "should". See: https://blevesearch.com/docs/Query-String-Query/ for details.
@darch What I will try to do is improve the documentation of Yarns itself add some help text 🤗
@darch What I will try to do is improve the documentation of Yarns itself add some help text 🤗