diff options
| author | orbiter <mc@yacy.net> | 2012-12-10 20:55:11 +0100 |
|---|---|---|
| committer | orbiter <mc@yacy.net> | 2012-12-10 20:55:11 +0100 |
| commit | 1228a5798d81a0f38e02705b59ef754423c45f61 (patch) | |
| tree | 56c289464412101ed822bf9d918b621109566970 /bin | |
| parent | 1f33c30d7baaeb7ad8ed0aa676cc7d1c80427dd5 (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-x | bin/localsearch.sh | 12 |
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 - |
