-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Solr search implementation #781
Conversation
This PR is created to represent #663 with latest rebase |
Oh, cool - so is this ready to be merged? I'm about to merge a bunch of On Fri, Sep 2, 2016 at 11:33 AM, Ujitha Perera notifications@github.com
|
Yes Jeff ! we can merge this PR. All the tests are passed in my local. have to run solr server in test environment to avoid solr connection errors. Instructions are in the README.md |
We have to add |
Ujitha - do you know which file to add that line to, or do you need to ask @icarito for guidance? It's either a Travis or Docker configuration, i think. |
we can add As far as I know this should start solr in test env. Since solr is separate server running in different port in the server, perhaps docker may need additional configurations inside the server. |
Ujitha - try adding that and pushing here, to see if it passes TravisCI On Fri, Sep 2, 2016 at 12:01 PM, Ujitha Perera notifications@github.com
|
That worked, but new error:
|
Hi, Ujitha - it looks like you have some viable next steps:
I think we can get the tests to pass if we work through this checklist. And since all of your commits are your own, with none mixed in from master, rebasing should be pretty clean and straightforward, so I'm going to go ahead and merge other PRs while you work on this. Just ensure your commits (and only yours) are cleanly rebased and you can work on this a bit without holding things up. Thanks! |
Yes. we can follow this plan. I'll take care of these issues. |
Hi @jywarren, I tried by putting command ( Can you or @icarito check my last commits and guide me to solve this matter. Thank you. |
I'm not sure myself, but it makes most sense to me to put it after Thanks! On Sep 5, 2016 11:45 AM, "Ujitha Perera" notifications@github.com wrote:
|
I'll have a look today at the dockerfile / travis conf. Regards, Sebastian El 05/09/16 a las 10:45, Ujitha Perera escribió:
|
Hi, Ujitha - did you try pushing a version which puts the |
yes Jeff, you can find this change in b10dfd5 |
Hi, I'll try it. |
Hi,
I'm guessing Solr requires some configuration to work? Note Docker runs everything within a container. You can install Docker and docker-compose if you like and manually follow the steps detailed in the .travis.yml file. @jywarren It might be worthwhile to add a section to the README for building and using a container for development/testing, or comments to the Dockerfile / travis.yml file. |
@ujithaperera I've issued a pull request to your pull request (I didn't know you could do that!). Here's the changes I made for reference: The app still seems to not find Solr, but at least Solr finds Java now. ;-) |
Add dependencies properly to testing container.
I'm poking through this now... going to try to see where/why the solr server doesn't start. This line looks fine: https://github.com/publiclab/plots2/pull/781/files#diff-3254677a7917c6c01f55212f86c57fbfR14 but isn't it missing |
OK -- I've rebased this entire PR on top of the latest master, in #810, adding the icedtea line. We'll see how this goes. |
All merged in #810! |
rake test:all
schema.rb.example
has been updated if any database migrations were added