Metamap.cfg mapping not appearing in JSON metadata objects

We have the following configuration in metamap.cfg

...
L,1,strath.level
S,1,strath.subject
D,1,strath.distancelearning
J,1,strath.parttime
N,1,strath.degreepreparation
M,1,strath.overview
C,1,strath.content

Here is how our indexed pages look:

...
<meta name="strath.level" value="Undergraduate"/>
<meta name="strath.subject" value="Accounting and finance,Business"/>
<meta name="strath.distancelearning" value=""/>
<meta name="strath.degreepreparation" value="Y"/>
<meta name="strath.distancelearning" value=""/>
<meta name="strath.overview" value="..."/>
<meta name="strath.content" value="..."/>
...

We have provided the following collection.cfg setting:

query_processor_options=-stem=2 -SM=both -SF=[L,S,D,J,N,M,C]

We have also set -SM=meta

The pages are indexed successfully, and we can search by query. But the results metadata objects are empty:

"results": [
    {
        ...
        "metaData": {},
...

Any thing we’ve not configured correctly here?

Also, according to this page metamap.cfg is deprecated. Use the metadata configuration interface instead - Configuring metadata - Funnelback Documentation - Version 15.24.0 - but we don’t have the option available. How do we add this to our admin UI? We are on version 15.12.0

Hi Bitz,

Just on the surface, it seems like the prefix of your metadata mappings is different to that of the metadata fields.

i.e. Try changing

L,1,ns.level
S,1,ns.subject
D,1,ns.distancelearning
J,1,ns.parttime
N,1,ns.degreepreparation
M,1,ns.overview
C,1,ns.content

To

L,1,strath.level
S,1,strath.subject
D,1,strath.distancelearning
J,1,strath.parttime
N,1,strath.degreepreparation
M,1,strath.overview
C,1,strath.content

In regards to the new metadata mappings UI, this was introduced in version 15.14. If you would like access to this new feature, you will need to request your instance be upgraded to version 15.14 or greater. Please note that there are overheads required in achieving this.

Hope this helps.

Thanks,

~Gioan

Hi,

We’re doing something similar (with course pages too!) and needed to add the metadata info (i.e. -SF=[L,S,D,J,N,M,C]) into the padre_opts.cfg file for the site. If they’re set there I think they override the collection.cfg settings.

Let me know how you get on - I think I might have some questions about faceted search that I’ll need to ask soon!

Chris

Hi. Sorry! I posted the wrong stuff, my bad. Our config metamap.cfg was consistent with the names. I’ve updated my original post to correct that. Well spotted anyway :slight_smile:

I did notice that contextual_navigation.cfg field contains

summary_fields=[c,s]

So I change this to:

summary_fields=[c,s,L,S,D,J,N,M,C]

But that didn’t make any difference either so I’ve changed it back.

Chris mentioned padre_opts.cfg file but we don’t seem to have that one. Our Admin > Edit Collection Settings > Interface query processor options is consistent with our collection.cfg file anyway.

Anything else I can check?

Thanks

Hi Chris, you mentioned you’d have more questions to ask regarding this?

We’re not sure if we’ll be pursuing it further - we’ve done a proof of concept and the default faceting works for the time being, but we’ll see whether the powers that be like it or not!

Thanks,

Chris

Hi Bitz, Did you manage to get it working?

Sorry for the delay as I completely missed your replies.