wiki:NarrowYourSearchWidget

Version 1 (modified by Fxp, 16 years ago) ( diff )

--

Proposal number : Proposal title

Date 2008/08/13
Contact(s) fxprunayre
Last edited Timestamp
Status draft
Assigned to release to be determined
Resources resource available

Overview

« Narrow you search » module / improve the summary search code. It could allow output as list of keywords with frequency and optionnaly tagcloud view (http://en.wikipedia.org/wiki/Tag_cloud).

Proposal Type

  • Type: GUI Change, LuceneSearcher
  • App: GeoNetwork
  • Module: Search Interface

Voting History

  • Vote proposed by X on Y, result was +/-n (m non-voting members).

Motivations

Extends the summary section of a lucene search. This use only the index in order to compute statistics over a search. Statistics are produced over the full list of result (not only the one in the current page), it could be the entire metadata catalogue. There's no access to the database for this operation.

Proposal

Current implementation produce (see xml.search service) :

<response>
−	<summary count="4797" type="local">
−	<keywords>
<keyword count="1280" name="soil types"/>
<keyword count="1003" name="geology"/>
<keyword count="958" name="soils"/>
<keyword count="894" name="soil classification"/>
<keyword count="695" name="land use"/>
<keyword count="609" name="topography"/>
<keyword count="595" name="land suitability"/>
<keyword count="550" name="land"/>
<keyword count="508" name="physiography"/>
<keyword count="507" name="crops"/>
</keywords>
−	<categories>
<category count="165" name="datasets"/>
<category count="2" name="interactiveresources"/>
<category count="150" name="maps"/>
</categories>
−	<sources>
<source count="4350" name="d5a5b43b-6e52-4ec6-94af-f95c6e4dac24"/>
<source count="447" name="34475e9d-9b9e-48d1-b75c-08701c3a8f93"/>
</sources>
</summary>
−	<metadata>

Configuration : list of search criteria which could be agregate Agregation type and criteria type:

  • text (e.g. keyword)
  • numérique (e.g scale)
  • date (niveau d'agrégation : semaine, mois, année) (e.g last update date)

Changes :

  • LuceneSearcher.makeSummary()
  • Add an option to search services to only produce the summary (like the fast option but really fast / only summary)
  • Add config file to define
    • criteria : MUST be in the index
    • criteria type : String|Number|Date
    • agregation type :
      • String : count
      • Number : count|equalInterval + classe ?| quantil + classe
      • Date : count|annualy|monthly|daily
      • sort option (count|name)

Backwards Compatibility Issues

Risks

Participants

  • List of participants and role (if necessary) in current GIP

Attachments (4)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.