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
{
"class": "org.unipop.elastic.ElasticSourceProvider",
"addresses": "http://192.168.10.121:6968",
"vertices": [
{
"index": "employee_records",
"id": "@department",
"label": "hastags",
"properties": {
"value": "@department"
}
},
{
"index": "employee_records",
"id": "@unique",
"label": "unique",
"properties": {
"value": "@unique"
}
}
],
"edges": [
{
"index": "employee_records",
"id": "@_id",
"label": "connects",
"properties": {},
"outVertex": {
"ref": true,
"id": "@unique",
"label": "unique"
},
"inVertex": {
"ref": true,
"id": "@department",
"label": "hastags"
}
}
]
}
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.
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.