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

104/147 - stems before synonym, number fix, bug on filtering conflict… #522

Merged
merged 3 commits into from
Feb 19, 2019

Conversation

kialj876
Copy link
Collaborator

… list fix

Signed-off-by: Kial Jinnah kialj876@gmail.com

Issue #, if available:bcgov/entity#104 bcgov/entity#147

Description of changes:

  • synonyms are found based on their stems ('trucking' will match on 'truck' synonym list)

  • missed results are added to the bottom of the list instead of being filtered out

  • less solr calls made from solr.py (speeds up conflict search)

  • when doing a wildcard search proximity search does not run (increases speed and visually more clear)

  • numbers are no longer split from letters in conflict search (5th = 5th/fifth/5, 5th != 5 th)

  • pytests added

  • 2 pytests fail locally because I don't have oracle running

  • 1 pytest fails because solr-admin-app stems needs to rerun stems script after this pr is accepted

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the namex license (Apache 2.0).

… list fix

Signed-off-by: Kial Jinnah <kialj876@gmail.com>
Signed-off-by: Kial Jinnah <kialj876@gmail.com>
Signed-off-by: Kial Jinnah <kialj876@gmail.com>
@katiemcgoff katiemcgoff merged commit 29c34b9 into bcgov:master Feb 19, 2019
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

Successfully merging this pull request may close these issues.

2 participants