summaryrefslogtreecommitdiff
path: root/bin/searchall.sh
blob: 78eca6b4f3975d7c61ad73ac4b5df3925f8ce3f0 (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env sh
# Perform a search on the Solr index of each active principal and senior peers known by the local peer
# $1 search term

cd "`dirname $0`"
. ./checkDataFolder.sh
. ./checkConfFile.sh

port=$(grep ^port= "$YACY_DATA_PATH/SETTINGS/yacy.conf" |cut -d= -f2)
./searchall1.sh "localhost:$port" "$1"