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

Compatibility with ElasticSearch 1.3.4 #45

Open
hemed opened this issue Nov 4, 2014 · 4 comments
Open

Compatibility with ElasticSearch 1.3.4 #45

hemed opened this issue Nov 4, 2014 · 4 comments

Comments

@hemed
Copy link

hemed commented Nov 4, 2014

I tried FacetView with ElaticSearch 1.3.4 but it doesn't work. I can't even get the list of documents displayed from the index. Is there any guideline to make it compatible with latest ElasticSearch?

@tabletennisguru
Copy link

I'm actually having problems with ES 1.2.1.

@hemed
Copy link
Author

hemed commented Apr 23, 2015

Can you please describe what problems are you facing?

@tabletennisguru
Copy link

When I get the data back from the initial request to get all the records, there seems to be a parsing error. I get this in the JS console:

Uncaught SyntaxError: Unexpected token :'

When I click the response, the JSON data shows up fine in the browser and looks correct but there seems to be something wrong with the way FacetView is parsing the data that comes back. That's at least my guess...

@tabletennisguru
Copy link

I figured out the issue. I wasn't setting the datatype so it was defaulting to "jsonp" but I needed it to be "json".

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

2 participants