-
Notifications
You must be signed in to change notification settings - Fork 19
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
Running test #128
Comments
Are you running the tests on a new index? The error you got usually means that you are trying to write to a doc type whose
As for the suggesters, I had planned on using them and configuring them through bungiesearch a few months, but never go around to it. So I sadly can't be of much help right now. However, I might end up using them in a few weeks on a project I'm currently working on. If you have any insight on it, please share it as I'll also use it. |
Thank you @ChristopherRabotin for these informations. Log is :
Do you think I have some conflicts with my settings? It is very weird. I think I'm going to test it on another machine. Thank you, |
That is strange indeed. I don't recall seeing any such error in the build logs on TravisCI. What version of ES are you running, just in case. @NullSoldier , any thoughts on this? |
I'm using elasticsearch 2.1.
If it can help. Last aside question, Why bungiesearch do not use fields described in elasticsearch_dsl.field? |
Django 1.7 should be supported. Bungiesearch used to run on version 1.5.5 ages ago, and I don't recall making any breaking changes with Django. As for using Elasticsearch's fields, the main reason is that the ES-dsl fields did not exist when bungiesearch was first written. They were added three or four months after bungiesearch was being used in production at Sparrho. I don't see any main blocker right now to not use them, so that should probably be done to be honest. |
Ok thank you for all these informations. I think I've found why it is not working thanks to: Firstly, I've tried to create my mappings the elasticsearch way, using data generated by bungiesearch:
It doesn't work with elasticsearch 2.x :
We cannot have _id typed as an integer in a DocType and _id typed as a string in another DocType. I suggest to update the test suite for dealing with elasticsearch 2.x What do you think? |
Yes, I agree that elasticsearch version 2 should be supported as well. Maybe could the travis file be updated to include different versions of elasticsearch in the matrix, cf. https://github.com/ChristopherRabotin/bungiesearch/pull/135/files . |
One more thing, I have tried to modify the code for elasticsearch 2.0 compliance, but I still cannot run the tests. Thank you, |
I'm on vacation until the end of the week but I'll be sure to read over this and respond by the end of the week. |
Areas I'm seeing the tests break using elasticsearch 2.x:
|
Item number 3 sounds like an issue with the ES library, not bungiesearch. On Fri, Mar 11, 2016, 18:43 notfol notifications@github.com wrote:
|
Hello, thank you for providing this tool.
Sorry if my question is totally irrelevant, but I cannot manage to run the tests.
Error is:
I really don't understand why this error occurs. Maybe I have conflicts in my elasticsearch instance.
Please some help is needed.
By the way, I was wondering how to configure suggest mapping with bungiesearch:
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters-completion.html
Thank you,
The text was updated successfully, but these errors were encountered: