A chatbot, that queries various SOLR indices.
$ go get github.com/miku/halbot
Specify SOLR urls in a $HOME/.halrc
.
$ HAL_ADAPTER=irc HAL_IRC_USER=hal HAL_IRC_NICK=hal \
HAL_IRC_SERVER=x.y.com HAL_IRC_CHANNELS="#chan" halbot
General syntax is hal <command> ...
.
There is only one command now: q
for query.
Query syntax is hal q <alias> <query>
, e.g.
[16:01] < human> | hal q ai "Roboterarmee"
[16:01] < hal> 7 in ai for "Roboterarmee"
The first titles can be queries with:
[16:02] < human> | hal qq ai "Roboterarmee"
[16:02] < hal> 7 in ai for "Roboterarmee" -- (1) Amazon startet Roboter-Armee [48],
(2) Ballzauberer gegen das Böse [48], (3) TERMINATOR 3