diff var/dml/config-enabled/isearch.pl @ 23:dd7f423292ee

Added adjusted config to handle main menu differently.
author samer
date Fri, 13 Feb 2015 20:23:14 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/var/dml/config-enabled/isearch.pl	Fri Feb 13 20:23:14 2015 +0000
@@ -0,0 +1,25 @@
+:- module(conf_isearch, []).
+:- use_module(library(http/http_dispatch)).
+:- use_module(isearch(applications/isearch)).
+
+/** <module> Interactive search
+
+Provide interactive search based on   property-chains and multi-facetted
+browsing.
+
+@author Michiel Hildebrand
+*/
+
+% Hijack the search-field, redirecting the queries to the interactive
+% search page.
+
+% SA- disabled
+% :- http_handler(cliopatria(isearch_literal),
+% 		isearch_page([ header(false),
+% 			       query_type(literal)
+% 			     ]),
+% 		[id(list_triples_with_literal), priority(10)]).
+% :- http_handler(cliopatria(isearch),
+% 		isearch_page([ header(false)
+% 			     ]),
+% 		[id(search), priority(10)]).