-
Notifications
You must be signed in to change notification settings - Fork 35
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
Unipop Elasticsearch plugin working only on 10000 docuements #135
Comments
@babiy8 @eyalmar100 didn't you recently add support for the scroll API? |
The problem is still there of only 10000 documents being fetched from elasticsearch. Can anyone help? |
@HenShalom is this bug happening to you as well? |
Hi |
This is a long shot, but in the DocumentController class there is field : |
The maxLimit field is the maximum number of documents elasticsearch can
fetch and to my knowledge we haven't implemented the scroll API yet.
…On Wed, Sep 5, 2018, 5:26 PM eyalmar100 ***@***.***> wrote:
This is a long shot, but in the DocumentController class there is field :
.. private final int maxLimit = 10000;
try to change it and see what happens ..
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#135 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AK8elAx95dWAWUnERupyTdH7OvdgItmyks5uX98SgaJpZM4WPWlq>
.
|
@eyalmar100 thats not a good idea, and not a scalable solution. |
I didn't know why/what this field refers to .. now I know after @seanbarzilay answered . |
@eyalmar100 If you want we can talk, before I left I had an idea on how to implement the scroll API. |
@seanbarzilay - Yes . I will be happy to talk :) |
@eyalmar100 @babiy8 thats very unfortunate. I believe we wrote most of the code when I sat with you. You guys said you'll finish it and push it. What happened? |
Hi All |
Hן |
Great Thanks. |
Hi @gaurav6041 , private <E extends Element, S extends DocumentSchema> Iterator search(SearchQuery query, Map<S, QueryBuilder> schemas) {
Its in current version . |
Hey @eyalmar100 - Is it fixed - picking all the documents matching the query from elasticsearch. |
Hi |
@eyalmar100 - The problem is still there. Its still only fetching 10000 documents. |
Hi |
Hey @eyalmar100 - The last release was 0.2.1 . Can you tell me how to install unipop-elastic plugin not from a release but from a branch master and also add a new release , it becomes easy for everyone else who uses this. |
Hi @gaurav6041 , . |
Hey @eyalmar100 Thanks.
Can you help me with this? |
@eyalmar100 you can publish a new version to maven, so users won't have to build it themselves. |
ok, I will do it soon, thanks |
@randanman @eyalmar100 - Thanks. Please let me know when you guys publish a new version |
Hi |
@randanman @eyalmar100 - Can you please deploy the new version which we talked about earlier. |
Hi @gaurav6041 |
@randanman @eyalmar100 - Can you please tell me till when will it be deployed. I have tried building it on my own. But i am still getting some error. |
Hi @gaurav6041 |
I have an index where one field has has a value of department in which the employee is present in.
Below is present Unipop elasticsearch configurations
And below are results
{v[Tech]=3159, v[Analysis]=3726, v[Admin]=2111, v[Support]=1003}
And Here is my gremlin query => g.V().outE('connects').inV().groupCount()
There are total of 65000 employee records. But the above result totals to 9999
In my above configurations i have mapped department of employees with employee id.
So count of all the departments should total out to 9999 whereas it should be 65000.
This means that unipop is picking only 10000 documents from elasticsearch.
This might me due to limit of elasticsearch of fetching 10000 documents in one request and scroll api is not been used.
The text was updated successfully, but these errors were encountered: