smw/schema:Profile:Facetedsearch default profile: Difference between revisions
From Jcastle.info
No edit summary Tag: Reverted |
No edit summary |
||
(9 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", |
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" ] }