summaryrefslogtreecommitdiff
path: root/defaults/heuristicopensearch.conf
diff options
context:
space:
mode:
authorreger <reger18@arcor.de>2012-12-29 08:24:48 +0100
committerreger <reger18@arcor.de>2012-12-29 08:24:48 +0100
commit168b1d130d9d67b5e8855a0b50c4ba7ad4a416f8 (patch)
treed9b16e4f903cd48295e0829a72c560a1a5bd1398 /defaults/heuristicopensearch.conf
parenteb90d38cd710d4603f3782bc83b98f4471d013f0 (diff)
Adding heuristic to get search results from configured systems which support opensearch specification
- any system supporting opensearch specification can be configured - search query is only forwarded to remote system if not enough results available on local peer - discover function provided, checking the local Solr index for links to opensearchdescription files, to add to the config - sample config file with some general search engines with opensearch support
Diffstat (limited to 'defaults/heuristicopensearch.conf')
-rw-r--r--defaults/heuristicopensearch.conf23
1 files changed, 23 insertions, 0 deletions
diff --git a/defaults/heuristicopensearch.conf b/defaults/heuristicopensearch.conf
new file mode 100644
index 000000000..3a312816a
--- /dev/null
+++ b/defaults/heuristicopensearch.conf
@@ -0,0 +1,23 @@
+## List of search engines used by YaCy heuristic search option
+## Format example
+## SystemName = http://www.thesystem.org/search?q={searchTerms}
+## all opensearch parameters can be used in search url
+## {searchTerms} is replaced by search query
+## {startIndex?} is replaced by result start
+## {count} is replaced by expected number of results
+##
+## the syntax of this file:
+## - all lines beginning with '##' are comments
+## - all non-empty lines not beginning with '#' are keyword lines
+## - all lines beginning with '#' and where the second character is not '#' are commented-out keyword lines
+##
+
+#Nutch = http://www.search2.net/opensearch?query={searchTerms} # get 20 results from Nutch
+#Blekko = http://blekko.com/ws/{searchTerms}+/rss # get 20 results from blekko
+#Faroo-Web = http://www.faroo.com/instant.rss?q={searchTerms}&start={startIndex}&length={count}&l=en&src=web # get results from Faroo web-search
+#Faroo-News = http://www.faroo.com/instant.rss?q={searchTerms}&start={startIndex}&length=20&l=en&src=news # get results from Faroo news-search
+#openBDB = http://www.openbdb.com/b/{searchTerms}.xml # Open Book Database
+#Twitter = http://search.twitter.com/search.rss?rpp=20&q={searchTerms}
+#WordPress.com = http://en.search.wordpress.com/?q={searchTerms}&f=feed&page={startPage?} #Search WordPress.com Blogs
+#Sueddeutsche.de = http://suche.sueddeutsche.de/query/{searchTerms}?output=rss # Sueddeutsche Zeitung Artikel Archiv
+#Los Angeles Times = http://framework.latimes.com/?s={searchTerms}&feed=rss2