-
Notifications
You must be signed in to change notification settings - Fork 430
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
Web app and Rest API: Support for multiple indexes #2486
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2486 +/- ##
============================================
+ Coverage 66.43% 66.63% +0.19%
- Complexity 1424 1432 +8
============================================
Files 215 215
Lines 12367 12378 +11
Branches 1504 1511 +7
============================================
+ Hits 8216 8248 +32
+ Misses 3632 3610 -22
- Partials 519 520 +1 ☔ View full report in Codecov by Sentry. |
Hi @16BitNarwhal Running this: ![]() Getting following exception:
Any ideas? |
Ah, good point. I remember now. Let me mull a bit on how to best address this issue... |
@@ -0,0 +1,20 @@ | |||
package io.anserini.server; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
boilerplate
|
||
public class ControllerTest { | ||
|
||
@Test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
two space indent please
|
||
@RequestMapping(method = RequestMethod.GET, path = {"/collection/{collection}/search", "/search"}) | ||
public List<QueryResult> search( | ||
@PathVariable(value = "collection", required = false) String collection, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I use a line width of 120 characters, so can go on previous line?
I care more about "looking right" than observing strict limits.
New api route
/api/collection/{collection}/search?query={query}
Web app allows selecting different prebuilt-indexes from dropdowns