mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +00:00
Alexandre Dulaunoy
7bdd4a41a5
The indexer module indexes all the pastes using Whoosh. The module can be extended to support additional full-text indexers in the future.
66 lines
965 B
Text
66 lines
965 B
Text
[Directories]
|
|
bloomfilters = /home/user/Blooms/
|
|
pastes = /home/user/PASTES/
|
|
|
|
##### Redis #####
|
|
[Redis_Cache]
|
|
host = localhost
|
|
port = 6379
|
|
db = 0
|
|
|
|
[Redis_Log]
|
|
host = localhost
|
|
port = 6380
|
|
db = 0
|
|
|
|
[Redis_Queues]
|
|
host = localhost
|
|
port = 6381
|
|
db = 0
|
|
|
|
[Redis_Data_Merging]
|
|
host = localhost
|
|
port = 6379
|
|
db = 1
|
|
|
|
##### LevelDB #####
|
|
[Redis_Level_DB]
|
|
host = localhost
|
|
port = 2013
|
|
db = 0
|
|
|
|
[Redis_Level_DB_Hashs]
|
|
host = localhost
|
|
port = 2013
|
|
db = 1
|
|
|
|
# PUB / SUB : ZMQ
|
|
[Feed]
|
|
adress = tcp://crf.circl.lu:5556
|
|
topicfilter = 102
|
|
|
|
[PubSub_Global]
|
|
adress = tcp://127.0.0.1:5000
|
|
channel = filelist
|
|
|
|
[PubSub_Longlines]
|
|
adress = tcp://127.0.0.1:5001
|
|
channel_0 = Longlines
|
|
channel_1 = Shortlines
|
|
|
|
[PubSub_Words]
|
|
adress = tcp://127.0.0.1:5002
|
|
channel_0 = words
|
|
|
|
[PubSub_Categ]
|
|
adress = tcp://127.0.0.1:5003
|
|
#Channels are dynamic (1 channel per categ)
|
|
|
|
[PubSub_Url]
|
|
adress = tcp://127.0.0.1:5004
|
|
channel = urls
|
|
|
|
# Indexer configuration
|
|
[Indexer]
|
|
type = whoosh
|
|
path = /home/user/indexdir
|