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

Filtering shouldn't alter ranking #28

Closed
acka47 opened this issue Sep 21, 2017 · 4 comments
Closed

Filtering shouldn't alter ranking #28

acka47 opened this issue Sep 21, 2017 · 4 comments
Assignees

Comments

@acka47
Copy link
Contributor

acka47 commented Sep 21, 2017

For example:

  1. http://test.lobid.org/gnd/search?q=* -> The first 10 hits are all persons starting with "G"
  2. Filter by Person -> Not only are the other entities filtered out but the ranking is changed. Now persons with "Person" in their name are shown on top of the list.

Probably the best way to handle this would be to use elasticsearch filters instead of queries for facetting, see https://www.elastic.co/guide/en/elasticsearch/reference/current/query-filter-context.html (as we do in OER World Map).

BTW, we do it like this in all our services...

@fsteeg
Copy link
Member

fsteeg commented Oct 17, 2017

Deployed to test: http://test.lobid.org/gnd/search, filter CorporateBody

@fsteeg fsteeg assigned acka47 and ChristophEwertowski and unassigned fsteeg Oct 17, 2017
@fsteeg fsteeg added the review label Oct 17, 2017
@fsteeg
Copy link
Member

fsteeg commented Oct 17, 2017

(Difference in initial search in comparison to original sample link is due to query changes for #32).

@acka47
Copy link
Contributor Author

acka47 commented Oct 17, 2017

That was quick. +1

@acka47 acka47 removed their assignment Oct 17, 2017
@ChristophEwertowski
Copy link
Contributor

ChristophEwertowski commented Oct 17, 2017

+1 There are two organisations which are typed as Person and therefore wrongly assigned. I forwarded it to the Verbundgruppe. Assigning it to fsteeg for opening pull request.

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

3 participants