Changes between Version 7 and Version 8 of NarrowYourSearchWidget
- Timestamp:
- Sep 10, 2012, 1:43:30 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NarrowYourSearchWidget
v7 v8 20 20 Those 2 components are created and interact with search form and search results widgets. 21 21 22 A first implementation has been made on geocat.ch using the internal summary module . This proposal use Lucene faceting module to compute summary.22 A first implementation has been made on geocat.ch using the internal summary module in 2008. This proposal is using Lucene faceting module to compute the summary. 23 23 24 24 === Proposal Type === … … 29 29 === Links === 30 30 * '''Documents''': 31 * example http://www.geocatalogue.fr/ 31 * example http://www.geocatalogue.fr/, http://www.geocat.ch 32 32 * '''Email discussions''': 33 33 * '''Other wiki discussions''': … … 46 46 47 47 == Proposal == 48 49 50 51 === Facet configuration === 52 53 The facet configuration define which field in the index to use to compute the summary. 54 The configuration is stored in WEB-INF/config-summary.xml. For each facet configure the following properties: 55 * name: the name of the facet (ie. the tag name in the XML response) 56 * plural: the plural for the name (ie. the parent tag of each facet values) 57 * indexKey: the name of the field in the index 58 * sortBy: the ordering for the facet. Defaults is by count. 59 * sortOrder: asc or desc. Defaults is descendant. 60 * max: the number of values to be returned for the facet. Defaults is 10. 61 62 Configuration example: 63 {{{ 64 <item name="keyword" plural="keywords" indexKey="keyword"/> 65 66 <item name="createDateYear" plural="createDateYears" indexKey="createDateYear" 67 sortBy="value" sortOrder="asc" max="40"/> 68 }}} 69 70 48 71 49 72 === Facet response === … … 79 102 80 103 81 === Facet configuration ===82 83 Configuration : list of search criteria which could be agregate84 Agregation type and criteria type:85 * text (e.g. keyword)86 * numérique (e.g scale)87 * date (niveau d'agrégation : semaine, mois, année) (e.g last update date)88 89 90 104 === Performance analysis === 91 105