Date
1 - 4 of 4
Very Slow query with Composite and Mixed Index [Janusgraph + CQL + ES]
"mr.morpheus2020" <mr.morp...@...>
I have a test case where I have inserted 50K V() with 100 different labels. Setup uses https://github.com/JanusGraph/janusgraph-docker/blob/master/docker-compose-cql-es.yml as is when I have a few 100K vertices, the query times out. I guess for the ES query the Count becomes too large 1> What would be the best design for the data 2> Should i create Label based Index? 3> Is there are different query I should try. In my case in future i might have 100k+ labels
Idx Creation
I used "/docker-entrypoint-initdb.d" at startup to create the indices and init data. The complete snippet is here https://gitlab.com/snippets/1990137 Any help is appreciated! |
|
sparshneel chanchlani <sparshneel...@...>
What i have osbserved the mixed index is really fast with String fields. Also when u use String filed for the mixed index would suggest use textContains coz mixed index do not perform well for eq operation
toggle quoted message
Show quoted text
|
|
BO XUAN LI <libo...@...>
Note that doing an index search with multiple indices being used is often very time-consuming.
|
|
"alex...@gmail.com" <alexand...@...>
Try the next index instead of those 3 indices: mgmt.buildIndex('betterIndexForSuchQuery', Vertex.class).addKey(labelRef).addKey(createTs).addKey(updateTs).buildMixedIndex('search')
toggle quoted message
Show quoted text
On Thursday, June 25, 2020 at 7:07:01 PM UTC+3 mr.morpheus2020 wrote:
|
|