[Evergreen-admin] Adding a new facet

Kathy Lussier klussier at masslnc.org
Wed Jun 4 20:15:40 EDT 2014


Hi Aleksey,

Adding 049a to config.metabib_field just configures the index, but you 
still need to do something to populate those index entries into 
metabib.keyword_field_entry. This can be done with a reingest. There 
used to be a magic spell at 
http://wiki.evergreen-ils.org/doku.php?id=scratchpad:random_magic_spells#how_to_include_a_specific_marc_field_with_a_specific_search_class 
that showed a quicker way to populate that table without the reingest, 
but it looks like that spell has been removed.

Before doing any type of reingest, I would recommend adding or editing 
one record with the 049a field and looking at the results in 
metabib.keyword_field_entry to make sure everything looks okay.

Kathy

Kathy Lussier
Project Coordinator
Massachusetts Library Network Cooperative
(508) 343-0128
klussier at masslnc.org
Twitter: http://www.twitter.com/kmlussier

On 6/4/2014 5:28 PM, Lazar, Alexey Vladimirovich wrote:
> Hello.
>
> I am testing adding a facet. I used a slightly modified version of this code sample from the Evergreen wiki [1] and also modified config.tt2 to display in the OPAC. I get the facet to show up in the OPAC, but when clicked, the links do not produce any search results.
>
> The entry in config.metabib_field:
> 1001;"keyword";"collection";"Collection";"//marc:datafield[@tag="049"]/marc:subfield[@code="a"]";1;"marcxml";TRUE;TRUE;TRUE;"";"";FALSE;"";"";""
>
> I used the keyword class from config.metabib_class:
> "keyword";"Keyword";FALSE;FALSE;1.0;0.4;0.2;0.1;FALSE
>
> config.metabib_field_index_norm_map
> 63;1001;17;"";0
>
> So, as I understand it, everything appears to have worked, but the links from the newly added facet produce no results. So, now I’m a little stuck and not sure where to look next. Any suggestions for what I may be missing?
>
> Any help would be appreciated, thanks.
>
> [1] http://wiki.evergreen-ils.org/doku.php?id=documentation:facet_idx_def_example
>
> Aleksey Lazar
> IS Developer and Integrator - PALS
> http://www.mnpals.org/
>
> _______________________________________________
> Evergreen-admin mailing list
> Evergreen-admin at list.evergreen-ils.org
> http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-admin



More information about the Evergreen-admin mailing list