summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authororbiter <mc@yacy.net>2012-12-10 20:55:11 +0100
committerorbiter <mc@yacy.net>2012-12-10 20:55:11 +0100
commit1228a5798d81a0f38e02705b59ef754423c45f61 (patch)
tree56c289464412101ed822bf9d918b621109566970 /bin
parent1f33c30d7baaeb7ad8ed0aa676cc7d1c80427dd5 (diff)
you can now search for '*' to get just ALL entries in the search index
as result list. This makes sense if you intend to search just by using the navigation tools to cut the data set into navigation 'slices'.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/localsearch.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/bin/localsearch.sh b/bin/localsearch.sh
deleted file mode 100755
index 8acf586ba..000000000
--- a/bin/localsearch.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/bash
-cd "`dirname $0`"
-port=$(grep ^port= ../DATA/SETTINGS/yacy.conf |cut -d= -f2)
-if which curl &>/dev/null; then
- curl -s "http://localhost:$port/yacysearch.rss?resource=local&verify=false&query=$1" | awk '/^<link>/{ gsub("<link>","" );gsub("<\/link>","" ); print $0 }'
-elif which wget &>/dev/null; then
- wget -q -O - "http://localhost:$port/yacysearch.rss?resource=local&verify=false&query=$1" | awk '/^<link>/{ gsub("<link>","" );gsub("<\/link>","" ); print $0 }'
-else
- echo "Neither curl nor wget installed!"
- exit 1
-fi
-