Changes between Version 7 and Version 8 of NarrowYourSearchWidget


Ignore:
Timestamp:
Sep 10, 2012, 1:43:30 AM (12 years ago)
Author:
fxp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NarrowYourSearchWidget

    v7 v8  
    2020Those 2 components are created and interact with search form and search results widgets.
    2121
    22 A first implementation has been made on geocat.ch using the internal summary module. This proposal use Lucene faceting module to compute summary.
     22A 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.
    2323
    2424=== Proposal Type ===
     
    2929=== Links ===
    3030 * '''Documents''':
    31   * example http://www.geocatalogue.fr/ 
     31  * example http://www.geocatalogue.fr/, http://www.geocat.ch
    3232 * '''Email discussions''':
    3333 * '''Other wiki discussions''':
     
    4646
    4747== Proposal ==
     48
     49
     50
     51=== Facet configuration ===
     52
     53The facet configuration define which field in the index to use to compute the summary.
     54The 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
     62Configuration 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
    4871
    4972=== Facet response ===
     
    79102
    80103
    81 === Facet configuration ===
    82 
    83 Configuration : list of search criteria which could be agregate
    84 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 
    90104=== Performance analysis ===
    91105