-
Notifications
You must be signed in to change notification settings - Fork 445
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
[OJS] Implementing search in OJS 3 #1667
Comments
Agree with your recommended approach, @NateWr. I'll also be considering whether we should simplify the search code in favour of making it very simple, with external tools e.g. Lucene/SOLR as our recommendations for anything beyond that. |
Does running |
Yes, I'm having trouble getting it to return more than one result. "review" is in the title of two articles but only one is returned. Just noting this for later investigation. |
The index should be self-maintaining (indexing required content upon publication events), and strictly speaking, it shouldn't be necessary to run the |
This is the last critical issue on my docket. I'm going to turn to working on some theming stuff in time for release. But I thought I'd make sure we're on the same page here. My sense is that you'll get search working to your satisfaction, then I'll come in and style it and clear out some of the unused filters. But if you want me to take a more involved role here let me know. I haven't really worked with the search at all. |
My sense is that it's currently working, except that there may be a missing line of code to trigger re-indexing when it's needed. For now you can work around that (e.g. if search results are missing that should be there) by running the re-index script and clearing the data cache ( |
(What I mean is: re-styling shouldn't have to wait, and I'll fix the indexing issue when I get a sec to look at it.) |
PRs (waiting on tests): These PRs remove most of the old filters and tidy up the remaining ones (published before/after and authors). I only removed the old filters from the template files. I wasn't sure if there would be desire to add them back in or what, but if not then there's some extra code in there that could be scrapped. Here's what searching looks like in OJS. OMP has a simpler search mechanism, but I pushed some small updates to OMP to comply with some minor template changes. |
Ok, tests are re-running. I'll update you when they're passing for final code-check and merge. |
@asmecher Would you be willing to look at the tests on this one when you get a chance? OJS is still running because there was a merge conflict, but the previous tests had odd results that I couldn't figure out. |
@NateWr, I'll watch the OJS test. Travis seems to be especially prone to race condition problems the last few days -- I suspect it's some side-effect of server load or something -- and I've had to restart tests sometimes a couple of times to get through. I've restarted your OMP tests, as I'm pretty sure they fall into that category. |
A little button-pressing got this one to pass tests, @NateWr. I'll go ahead and merge. |
Merged! |
what happened with Keywords? |
@josuevalrob, this issue was closed in 2016 and I'm not sure it's specifically relevant to your question -- could you post your question on the support forum, and include some more context, e.g. what version of OJS are you using, and what about keywords are you interested in? |
The search page in OJS 3 needs two things done in time for release.
First, the search doesn't seem to work consistently. For instance, I have published articles by two authors, June T Forcht and Karen Bauman. A search for "Forcht" returns the correct article. A search for "Bauman" returns nothing. Also, although I have an article titled "Data Modelling ...", a search for "Modelling" doesn't return anything.
Second, I need to update the actual display of results as well as the list of filters. To do this, I need a sense of what filters we're planning on keeping around and implementing. Or do I remove them all? Here's a list:
As might be expected, my preferred approach would be to have a single search field which does partial matching in any of these fields. Then only offer the most high-value filters. Off-hand, I'd say it's Authors and From/Until.
The text was updated successfully, but these errors were encountered: