Skip to content
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

sunspot_test only commits to solr before steps begin #32

Open
x6iae opened this issue Sep 30, 2017 · 0 comments
Open

sunspot_test only commits to solr before steps begin #32

x6iae opened this issue Sep 30, 2017 · 0 comments

Comments

@x6iae
Copy link

x6iae commented Sep 30, 2017

From #13:

Any records created between the running of the Before hooks and the running of the sunspot search will not be added to the Solr index.

I'm not sure what the best way to handle this would be, but it would be nice if the README was clearer about at what stage Sunspot.commit is run, and how that changes the use of the library in testing.

I'm re-creating this now because I just discovered this after hours of debugging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant