Changes between Version 7 and Version 8 of proposals/LuceneOnlySearch
- Timestamp:
- Nov 2, 2011, 7:00:50 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
proposals/LuceneOnlySearch
v7 v8 87 87 88 88 89 The q service (#485) requires to retrieve those information from the index directly instead of dumping all index fields. The configuration is stored in config-lucene.xsl 89 The q service (#485) requires to retrieve those information from the index directly instead of dumping all index fields. The configuration is stored in config-lucene.xsl. All field to dump in the response MUST be stored. The others could not be stored (Note: total index size should be similar after this proposal changes because many useless fields are currently stored). 90 90 91 91 {{{ … … 135 135 }}} 136 136 137 Complex fields like image, link, geoBox which are composed of child element are stored as "|" separated value. The client !DataStore takes care of splitting the value to extract the information. 137 Complex fields like image, link, geoBox which are composed of child element are stored as "|" separated value. 138 Those fields are structured in index-fields.xsl. Example: 139 {{{ 140 <Field name="geoBox" string="{concat(gmd:westBoundLongitude/gco:Decimal, '|', 141 gmd:southBoundLatitude/gco:Decimal, '|', 142 gmd:eastBoundLongitude/gco:Decimal, '|', 143 gmd:northBoundLatitude/gco:Decimal 144 )}" store="true" index="false"/> 145 }}} 146 147 The client !DataStore takes care of splitting the value to extract the information. 138 148 139 149 {{{