Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
added example vocabularies and explanation how to use them
Michael Peter Christen329e3eebcf08
diff --git "a/vocabularies/de/Freizeitaktivita\314\210ten.vocabulary" "b/vocabularies/de/Freizeitaktivita\314\210ten.vocabulary"new file mode 100644index 000000000..d26af3e8a--- /dev/null+++ "b/vocabularies/de/Freizeitaktivita\314\210ten.vocabulary"@@ -0,0 +1,27 @@+Eislaufen+Drachensteigen+Saunabaden=Sauna+Spazieren und Wandern=Spazieren,Wandern,Park,Ufer+Skaten=Inline,Inliner+Skateboarden=Skateboard+Museumsbesuch=Museum+Altstadtbesuch=Altstadt+Parkbesuch=Park,Zoo,Freilichtmuseum,Burg+Ausflug=Schifstouren,Schifffahrt,Aussicht,Aussichtspunkt,Geocaching+Schwimmen=Schwimmbad,Freibad,Hallenbad,Schwimmb�der,Freib�der,Hallenb�der,Therme+Fastnacht+Eislaufen+Saunabaden=Sauna+Theater=B�hnen+Oper=Operette,Opernhaus+Spielpl�tze=Spielplatz+Museum+Camping+Picknick=Picknicken+Essen und Trinken=Essen,Trinken,Bar,Restaurant,Kneipe+Kochen+Singen=Gesang,Chor+Kegeln+Bowling+Kartbahn=Kart+Kino=Kinoprogramm,Cine\ No newline at end of filediff --git "a/vocabularies/de/Freizeitaktivit\303\244ten.vocabulary" "b/vocabularies/de/Freizeitaktivit\303\244ten.vocabulary"new file mode 100644index 000000000..d26af3e8a--- /dev/null+++ "b/vocabularies/de/Freizeitaktivit\303\244ten.vocabulary"@@ -0,0 +1,27 @@+Eislaufen+Drachensteigen+Saunabaden=Sauna+Spazieren und Wandern=Spazieren,Wandern,Park,Ufer+Skaten=Inline,Inliner+Skateboarden=Skateboard+Museumsbesuch=Museum+Altstadtbesuch=Altstadt+Parkbesuch=Park,Zoo,Freilichtmuseum,Burg+Ausflug=Schifstouren,Schifffahrt,Aussicht,Aussichtspunkt,Geocaching+Schwimmen=Schwimmbad,Freibad,Hallenbad,Schwimmb�der,Freib�der,Hallenb�der,Therme+Fastnacht+Eislaufen+Saunabaden=Sauna+Theater=B�hnen+Oper=Operette,Opernhaus+Spielpl�tze=Spielplatz+Museum+Camping+Picknick=Picknicken+Essen und Trinken=Essen,Trinken,Bar,Restaurant,Kneipe+Kochen+Singen=Gesang,Chor+Kegeln+Bowling+Kartbahn=Kart+Kino=Kinoprogramm,Cine\ No newline at end of filediff --git a/vocabularies/de/Stadtthemen.vocabulary b/vocabularies/de/Stadtthemen.vocabularynew file mode 100644index 000000000..9b8a6e3ce--- /dev/null+++ b/vocabularies/de/Stadtthemen.vocabulary@@ -0,0 +1,19 @@+Veranstaltungen=Veranstaltung,Fest,Party+Stadtteile=Stadtteil,Altstadt,Bahnhofsviertel+Stellenmarkt=Arbeit,Arbeitsamt,Stellengesuche,Stellenangebote,Stellengesuch,Stellenangebot,Job,Jobs+Immobilien=Wohnen,Immobilie,Miete,Mieten,Mietwohnung,Eigentumswohnung+Umwelt=Umweltzone+Verkehr+Gastro=Kulinarisches,Kulinarische,Restaurant,Kneipe,�pplewoi+B�rgerberatung=B�rgerdialog,Amt+Notdienste=Notdienst+Kinder und Jugendliche=Kinder,Jugendliche+Studierende=Studium,Uni,Universit�t,Fachhochschule,Student,Studenten,Studentin,Campus+Familie=Familien,Eltern+Neub�rger=Neub�rgerinnen+Umzug+Notfall+Sozialiales=Soziale+Gewerbe und Existenzgr�ndung=Gewerbe,Existenzgr�ndung,gmbh,Gr�nder,Gr�ndung,B�rse+Kultur=Museum,Museen+Freizeitdiff --git a/vocabularies/readme.txt b/vocabularies/readme.txtnew file mode 100644index 000000000..b338257cf--- /dev/null+++ b/vocabularies/readme.txt@@ -0,0 +1,32 @@+A vocabulary is used to produce search navigation entities.+A search navigation is what you see at the right column+at the side of a search results where it is possible to reduce the+set of result entries with given restrictions.++A vocabulary is a restriction where the search results are restricted to+entries which have a specific tag in the subject metadata that corresponds+to the vocabulary restriction. The restriction is expressed with a set of+synonyms for the tag in a property-like file. Such files are activated if+they are present in the folder DATA/DICTIONARIES/autotagging/ at start-up time+and the vocabulary files must be named with a '.vocabulary' extension.++Vocabulary files are similar to property-files with these rules rules:+- the key represents the vocabulary term (this is what you see in the navigation)+- a value is a list of synonyms for the vocabulary term+- a term is always self-referencing (the term is also a synonym for the term)+- a value may be omitted (a self-referencing-only vocabulary)++The format of a vocabulary file is:+each line has the format+<print-name>[=<synonym>{','<synonym>}*]+or the line starts with a '#' for comment lines++The subdirectories of this directory contains example-vocabularies for+specific languages. Vocabularies work best if the vocabulary is expressed in+the same language as the documents are that are indexed.++A vocabulary can be activated by doing:+- copy the vocabulary from the <lang>/ subdirectory to DATA/DICTIONARIES/autotagging/+- restart+- do an indexing of the web-pages. Vocabularies cannot be applied to already indexed+ web pages because tags are only generated during the parsing process