smw/schema:Profile:Facetedsearch default profile: Difference between revisions
From Jcastle.info
(Semantic MediaWiki search import) |
No edit summary |
||
(12 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
"type": "FACETEDSEARCH_PROFILE_SCHEMA", | "type": "FACETEDSEARCH_PROFILE_SCHEMA", | ||
"profiles": { | "profiles": { | ||
"castle_profile": { | |||
"filters": { | |||
"property_filter": { | |||
"hierarchy_tree": true | |||
} | |||
}, | |||
"exploration": { | |||
"query_list": { | |||
"npa_query": { | |||
"query": "[[Category:Castles]]", | |||
"label": "Castles", | |||
"description": "Example query showing information about Castles" | |||
} | |||
} | |||
} | |||
}, | |||
"default_profile": { | "default_profile": { | ||
"message_key": "smw-facetedsearch-profile-label-default", | "message_key": "smw-facetedsearch-profile-label-default", | ||
Line 7: | Line 23: | ||
"theme": "default-theme", | "theme": "default-theme", | ||
"result": { | "result": { | ||
"default_limit": | "default_limit": 3000, | ||
"paging_limit": [ | "paging_limit": [ | ||
10, | 10, | ||
Line 20: | Line 36: | ||
"hierarchy_tree": false, | "hierarchy_tree": false, | ||
"filter_input": { | "filter_input": { | ||
"min_item": | "min_item": 3 | ||
} | } | ||
}, | }, | ||
Line 26: | Line 42: | ||
"hierarchy_tree": false, | "hierarchy_tree": false, | ||
"filter_input": { | "filter_input": { | ||
"min_item": | "min_item": 3 | ||
} | } | ||
}, | }, | ||
Line 33: | Line 49: | ||
"condition_field": false, | "condition_field": false, | ||
"filter_input": { | "filter_input": { | ||
"min_item": | "min_item": 3 | ||
} | } | ||
} | } |
Latest revision as of 21:42, 15 November 2024
FACETEDSEARCH_PROFILE_SCHEMA
This schema type supports the definition of profiles used as part of the Faceted search environment.
{ "type": "FACETEDSEARCH_PROFILE_SCHEMA", "profiles": { "castle_profile": { "filters": { "property_filter": { "hierarchy_tree": true } }, "exploration": { "query_list": { "npa_query": { "query": "[[Category:Castles]]", "label": "Castles", "description": "Example query showing information about Castles" } } } }, "default_profile": { "message_key": "smw-facetedsearch-profile-label-default", "debug_output": false, "theme": "default-theme", "result": { "default_limit": 3000, "paging_limit": [ 10, 20, 50, 250, 500 ] }, "filters": { "property_filter": { "hierarchy_tree": false, "filter_input": { "min_item": 3 } }, "category_filter": { "hierarchy_tree": false, "filter_input": { "min_item": 3 } }, "value_filter": { "default_filter": "list_filter", "condition_field": false, "filter_input": { "min_item": 3 } } } } }, "tags": [ "faceted search" ] }