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

Query view never shows more than 20 documents #193

Closed
al-serebrov opened this issue Apr 2, 2018 · 3 comments
Closed

Query view never shows more than 20 documents #193

al-serebrov opened this issue Apr 2, 2018 · 3 comments
Labels
Milestone

Comments

@al-serebrov
Copy link

al-serebrov commented Apr 2, 2018

Tell us where you are using Dejavu (Hosted web app, Chrome extension, Docker Image, Within appbase.io)

Docker image, Chrome extension (tried both)

What is the version of Dejavu that you are using?

1.5.0

Describe the issue that you are seeing, or the feature request :-), include any screenshots as necessary.

If I create a very simple query, for example:

{
    "query": {
        "match_all": {}
    }
}

And scroll down, DejaVu doesn't show more than 20 documents, at the same time an error in JS appears:

Uncaught TypeError: typeName.join is not a function
    at paginationSearch (feed.js:295)
    at Object.paginateData (feed.js:395)
    at Object.paginateData (homePageHelper.js:326)
    at Object.handleScroll (live.js:1)
    at r (live.js:1)
    at c (live.js:1)
    at HTMLTableSectionElement.y (live.js:1)

Please help me to identify whether the issues is on my side.

If your issue deals with accessing Elasticsearch cluster, share the necessary steps to replicate the behavior (the configuration.yml settings, where your ES cluster is hosted, any relevant logs).

Issue replicates for me both on application running in the Docker container and in the one running as a chrome extension, again both on remote and on local ES with different elasticsearch.yml, e.g. locally I have these settings for CORS:

http.port: 9200
http.cors.allow-origin: "*"
http.cors.enabled: true
http.cors.allow-headers : X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization
http.cors.allow-credentials: true
If your issue deals with a UI issue, share with us a screenshot of the failing network request or the browser console log showing the error.

peek 2018-04-02 17-17

@divyanshu013
Copy link
Contributor

Hi @al-serebrov what is your elasticsearch version?

@al-serebrov
Copy link
Author

Hi @divyanshu013 2.3.4.

version": {
"number": "2.3.4",
"build_hash": "e455fd0c13dceca8dbbdbb1665d068ae55dabe3f",
"build_timestamp": "2016-06-30T11:24:31Z",
"build_snapshot": false,
"lucene_version": "5.5.0"
},

@divyanshu013
Copy link
Contributor

Got it, I'm able to replicate the issue. Will keep you posted here. Thanks for reporting!

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

No branches or pull requests

3 participants