:- module(cluster_search_settings, []). :- use_module(library(settings)). /*************************************************** * Cluster search settings ***************************************************/ :- setting(cluster_search:basic_search_target, uri, 'http://www.europeana.eu/schemas/edm/ProvidedCHO', 'Default Target for search'). :- setting(cluster_search:threshold, float, 0.05, 'Graph-search threshold'). :- setting(cluster_search:literal_threshold, float, 0.05, 'Literal-search threshold'). :- setting(cluster_search:literal_score, boolean, true, 'Use score of string match in threshold of graph search'). :- setting(cluster_search:steps, nonneg, 1000, 'Maximum number of steps in the graph search (0 is unbound)'). :- setting(cluster_search:edge_limit, nonneg, 30, 'Limit extension of Node with a maximum number of edges \c (0 is unbound)'). :- setting(cluster_search:max, nonneg, 100, 'Maximum number of results shown in the output'). :- setting(cluster_search:cluster, oneof([concept, path, spath, role]), spath, 'Create clusters by graph path or schema path'). :- setting(cluster_search:search_path, oneof([best, breadth]), best, 'Create clusters on best or shortest path'). :- setting(cluster_search:sort, oneof([score, path_length, false]), score, 'Sort the results by'). :- setting(cluster_search:prune, boolean, true, 'Prune the search Graph'). :- setting(cluster_search:search_type, oneof([literal,concept,backward]), backward, 'Method to traverse the graph'). :- setting(cluster_search:graphSearchCache, boolean, false, 'Cache graph search results'). :- setting(cluster_search:graphSearchCacheSize, nonneg, 50, 'Maximum searches kept in cache (0 is unbound)').