-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add structured search methods to the Search service #27
Conversation
A lot of details on the PVOutput side for the query text still hazy. Some queries do not return anything.
Codecov Report
@@ Coverage Diff @@
## develop #27 +/- ##
===========================================
+ Coverage 89.83% 90.61% +0.77%
===========================================
Files 109 109
Lines 1800 1928 +128
===========================================
+ Hits 1617 1747 +130
+ Misses 183 181 -2 |
… proved impossible. - Added new separate Search methods for each parameter.
Because only specific terms can be combined in the query parameter, a builder solution does not fit here. I've rewritten the PR to make specific search methods per type of query. |
Updated maintenance (in preparation of #27)
Implementation seems correct, however the PVOutput api has a couple of queries that do not work or work different as expected. https://forum.pvoutput.org/t/search-jsp-returning-blank-data-when-searching-for-size/2954 This PR is on hold until those issues are resolved. |
Also added html encoding to the * and + characters in some queries All structured search methods now have their own logging scope
Removed the util method for structured searches in the SearchService, wasn't that useful anymore
It's broken in the PVOutput api at the moment. And it has fairly limited use, considering this search can also be done by either postcode or size; and those queries do actually work. It might come back when it's fixed.
Closes #10 .