User Tools

Site Tools


scratchpad:brush_up_search

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
scratchpad:brush_up_search [2016/05/13 15:53] – Adding synonym dictionary instructions provided by Martha Driscoll at NOBLE klussierscratchpad:brush_up_search [2022/02/10 13:34] (current) – external edit 127.0.0.1
Line 3: Line 3:
 =====Apostrophe Searching===== =====Apostrophe Searching=====
  
-**The problem:** Evergreen uses a modified NACO normalization scheme to better handle apostrophe searching for French records. The problem is that this normalization scheme doesn't work as well for English records as pure NACO normalization does. It also sometimes relies on stemming to find the correct search term, which causes problems for sites that disabled stemming+**The problem:** Evergreen uses a modified NACO normalization scheme to better handle apostrophe searching for French records. The problem is that this normalization scheme doesn't work as well for English records as pure NACO normalization does. It also sometimes relies on stemming to find the correct search term, which causes problems for sites that disable stemming
  
 **Who should consider this adjustment:** Evergreen sites with a database the mostly contain English-language records and that are okay with search behavior where a search for a French word like 'histoire' will not retrieve records with l'histoire. There may be other multi-lingual implications for making this tweak. Sites with mostly English records that have also disabled stemming should strongly consider this tweak. **Who should consider this adjustment:** Evergreen sites with a database the mostly contain English-language records and that are okay with search behavior where a search for a French word like 'histoire' will not retrieve records with l'histoire. There may be other multi-lingual implications for making this tweak. Sites with mostly English records that have also disabled stemming should strongly consider this tweak.
Line 14: Line 14:
 UPDATE config.metabib_field_index_norm_map a UPDATE config.metabib_field_index_norm_map a
 SET norm = 1 SET norm = 1
-FROM (SELECT norm FROM config.metabib_field_index_norm_map) AS subquery+FROM (SELECT id,norm FROM config.metabib_field_index_norm_map) AS subquery
 WHERE subquery.norm = 17 and a.id = subquery.id; WHERE subquery.norm = 17 and a.id = subquery.id;
 </code> </code>
scratchpad/brush_up_search.1463169192.txt.gz · Last modified: 2022/02/10 13:33 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.