Changes between Initial Version and Version 1 of proposals/LuceneOnlySearch


Ignore:
Timestamp:
Oct 31, 2011, 8:01:09 AM (12 years ago)
Author:
Fxp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • proposals/LuceneOnlySearch

    v1 v1  
     1= Lucene-Only search mode =
     2
     3|| '''Date''' || 2011-10-31 ||
     4|| '''Contact(s)''' || François Prunayre ||
     5|| '''Last edited''' || 2011-10-31T18:25:00 ||
     6|| '''Status''' || Being discussed, in progress, initial implementation in progress ||
     7|| '''Assigned to release''' || 2.7.x ||
     8|| '''Resources''' || Available ||
     9|| '''Ticket #''' || #XYZ ||
     10
     11== Overview ==
     12
     13Current search rely on the following steps:
     14 * Lucene Search
     15 * Retrieve Metadata from Database (according to search criteria and paging)
     16 * XSL presentation.
     17
     18The aim of this proposal is to add a new search mode relying only on Lucene. This mode requires to structure and/or add all information required for results presentation in the index.
     19
     20
     21=== Proposal Type ===
     22 * '''Type''': Lucene, Core Change
     23 * '''App''': !GeoNetwork
     24 * '''Module''': LuceneSearcher
     25
     26=== Links ===
     27 * '''Documents''':
     28  * http://trac.osgeo.org/geonetwork/ticket/485
     29 
     30=== Voting History ===
     31 * Vote not yet proposed.
     32
     33== Motivations ==
     34
     35 * Performance improvements.
     36
     37
     38== Proposal ==
     39
     40The main requirement is to store all information available in the "brief" format in the index in order to retrieve those information at search time. Brief format is the pivot format used by GeoNetwork to display search results via xml.search or main.search.embeded services. Brief format fields are the following:
     41 * id
     42 * uuid
     43 * title
     44 * abstract
     45 * keyword
     46 * parentId
     47 * datasetcreationdate
     48 * geoBox
     49  * westBL
     50  * eastBL
     51  * southBL
     52  * northBL
     53 * Constraints (not supported/used in widget GUI, complex XML or as CData ?)
     54 * !SecurityConstraints (not supported/used in widget GUI, complex XML or as CData ?)
     55 * !LegalConstraints (not supported/used in widget GUI, complex XML or as CData ?)
     56 * temporalExtent (not supported/used in widget GUI)
     57  * begin
     58  * end
     59 * image type="unknown|thumbnail|overview"
     60 * responsibleParty role="{$role}" appliesTo="resource" logo=""
     61 * link title="" href="" name="" protocol="" type=""
     62 * category
     63 * + geonet:info/*
     64
     65
     66The q service (#485) requires to retrieve those information from the index directly instead of dumping all index fields. Some of them are already available:
     67 * id=_id
     68 * schema=_schema
     69 * createDate=_createDate
     70 * changeDate=_changeDate
     71 * isTemplate=_isTemplate
     72 * isHarvested=_isHarvested
     73 * popularity=_popularity
     74 * rating=_rating
     75 * displayOrder=_displayOrder
     76 * view=_view
     77 * notify=_notify
     78 * download=_download
     79 * dynamic=_dynamic
     80 * featured=_featured
     81 * owner=_owner
     82 * isPublishedToAll=_isPublishedToAll
     83 * ownername=_ownername
     84 * category=_category
     85 * valid=_valid
     86 * baseUrl=?
     87 * locService=?
     88 * selected=selected
     89 * source=_source
     90 * edit=_edit
     91 * uuid=_uuid
     92 * title=title
     93 * abstract=abstract
     94 * keyword=keyword
     95 * parentId=parentUuid
     96 * datasetcreationdate=createDate
     97 * changeDate=changeDate
     98
     99Re-worked field:
     100 * image=image (| separated)
     101 * link=link (| separated)
     102 * geoBox (| separated)
     103 * responsibleParty (| separated)
     104 * Constraints=accessConstr (Codelist value only)
     105 * Constraints=otherConstr
     106 * !SecurityConstraints=classif (Codelist value only)
     107 * Constraints=conditionApplyingToAccessAndUse
     108
     109New field added:
     110 * datasetLang=datasetLang
     111 * language=language
     112 * spatialRepresentationType=spatialRepresentationType
     113 * serviceType=serviceType
     114
     115=== Backwards Compatibility Issues ===
     116
     117None.
     118
     119=== New libraries added ===
     120
     121None.
     122
     123== Risks ==
     124
     125
     126== Participants ==
     127 
     128 * François Prunayre
     129 * Others?
     130