Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source selection strategy #29

Open
schloett opened this issue Nov 10, 2015 · 1 comment
Open

Source selection strategy #29

schloett opened this issue Nov 10, 2015 · 1 comment

Comments

@schloett
Copy link

I am a bit confused by the source selection strategy. When the language is set to "english" in the profile, I get results from Mendeley, Deutsche Digitale Bibliothek and ZBW. All results from ZBW are in German. Language of other results is "unknown".
Query:

{
  "contextKeywords":[
    {"weight":1,"text":"Loom"},
    {"weight":1,"text":"Weft"},
    {"weight":1,"text":"Tapestry"}
  ],
  "numResults":50,
  "origin":{
    "module":"FacetScape",
    "clientType":"chrome-extension",
    "clientVersion":"1.2.0",
    "userID":"323F3845-F3C3-42F5-8A72-306493406FFA"
  },
  "languages":[
    {"iso2":"en","languageCompetenceLevel":1}
  ],
  "loggingLevel":0
}

Results:
fs

When I do not send the language in the profile, I get results from more providers and in particular results from Europeana, which are indicated to be English.
Query:

{
  "contextKeywords":[
    {"weight":1,"text":"Loom"},
    {"weight":1,"text":"Weft"},
    {"weight":1,"text":"Tapestry"}
  ],
  "numResults":50,
  "origin":{
    "module":"FacetScape",
    "clientType":"chrome-extension",
    "clientVersion":"1.2.0",
    "userID":"323F3845-F3C3-42F5-8A72-306493406FFA"
  },
  "loggingLevel":0
}

Results:
fs1

Is this intended behavior?

@hziak
Copy link
Contributor

hziak commented Nov 17, 2015

yes, the problem is that we do not filter here on the result level, only on what the partner potentially covers.
For example ZBW has German and English content.
So either for German or for English they are selected

Europeana is an exception right now because it was not totally clear which languages Europeana covers.

So in general if a partner covers several languages than he will be selected if one appears in the secure user profile. If the partner has no languages set, he will not be selected at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants