-
Notifications
You must be signed in to change notification settings - Fork 16
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
ARXIVNG-372 refacted author search as part of simple and advanced search interfaces #122
Conversation
I got through the pipenv steps through "run flask run" (which is just my new favorite thing and I am always going to use the Forrest Gump voice while pasting that in). Works like a charm! |
Nevermind, flailed at my own questions, tried docker-compose up and works just fine. Suggestion to make sure that's clear in the instructions - I'm likely to forget the exact steps next time too. |
Me again. :) |
pipenv instructions: updated -- better? |
@erickpeirson Must be my index, then, somehow. Will purge and rebuild index presently. Instructions: much better, thank you!! I will follow along to the best of my ability and cry for help if I get lost. :) |
When I index the following set of papers:
and then search for Jurgen Korner in simple search with author field, the first two hits look good. Third hit is for Janos Korner; subsequent hits are for Jürgen Körner, which I expected to be higher. Similarly, If I search for Jürgen Körner, first three hits are good, fourth hit is for János Körner, and subsequent hits are for Jurgen Korner. |
You were on fire with this, @erickpeirson! Wildcards not working with capitalized terms - same as Jref bug. Possible note to provide in help text about searching for authors with name1; name2 : this works in Authors field much better than in All Fields (it still works, but with varied results). Oh - possible missing match? In the following sequence: |
@eawoods What do you think of adding some small help text under the search box describing how to search by author name? E.g.
|
@erickpeirson Sounds terrific! Are you thinking that particular help text would show underneath the box all the time, or only when Author(s) is selected as the field type? Or all the time? (it might be worth having something like that available for both all fields and authors, or a variant of it) P.S. there are a couple of author search help lines in the Tips box in my ARXIVNG-384 PR but I am all about the idea of having helper text right underneath the box for authors in particular. |
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.
Ready to go! Numerous permutations of requests are returning as expected (including arm*; ire* and many multiple name cases).
searchtype=author&query={surname}, {forename}
(implemented already for search results).;
).{surname}, {forename}
->{forename} {surname}
before executing queries.search.services.index
#112 .Also delivers ARXIVNG-338. To use (from root of repo):
Note that this doesn't impact how you would run ES on your machine. For example, if you are using
docker-compose
you would continue to do this precisely as you did before.