Date
1 - 4 of 4
Janusgraph with ES as index backend
Suny <sahithiy...@...>
Hi,
I am using Janusgraph with ES as index backend. I created a mixed index on some vertex attributes. This mixed index is saved in ES.
Now if i query for that vertices based on index, will janusgraph use ES internally to perform search operation ? Or do i need to use IndexQuery to perform search on ES directly ?
Kelvin Lawrence <kelvin....@...>
If you tell Janus about the indexed properties using the management API it will use them automatically when you run Gremlin queries. You only need to use indexQuery for cases where you want to read from the index directly for other reasons.
HTH
Kelvin
On Wednesday, August 2, 2017 at 12:46:37 PM UTC-5, Suny wrote:
Hi,I am using Janusgraph with ES as index backend. I created a mixed index on some vertex attributes. This mixed index is saved in ES.Now if i query for that vertices based on index, will janusgraph use ES internally to perform search operation ? Or do i need to use IndexQuery to perform search on ES directly ?
Suny <sahithiy...@...>
Thanks for you response. By ' If you tell Janus about the indexed properties using the management API' you mean, creating property keys and index using management API right ?
On Wednesday, August 2, 2017 at 6:50:25 PM UTC-4, Kelvin Lawrence wrote:
If you tell Janus about the indexed properties using the management API it will use them automatically when you run Gremlin queries. You only need to use indexQuery for cases where you want to read from the index directly for other reasons.HTHKelvin
On Wednesday, August 2, 2017 at 12:46:37 PM UTC-5, Suny wrote:Hi,I am using Janusgraph with ES as index backend. I created a mixed index on some vertex attributes. This mixed index is saved in ES.Now if i query for that vertices based on index, will janusgraph use ES internally to perform search operation ? Or do i need to use IndexQuery to perform search on ES directly ?
Kelvin Lawrence <kelvin....@...>
Yes - sorry if that was not clear.
Kelvin
On Thursday, August 3, 2017 at 10:28:11 AM UTC-5, Suny wrote:
Thanks for you response. By ' If you tell Janus about the indexed properties using the management API' you mean, creating property keys and index using management API right ?
On Wednesday, August 2, 2017 at 6:50:25 PM UTC-4, Kelvin Lawrence wrote:If you tell Janus about the indexed properties using the management API it will use them automatically when you run Gremlin queries. You only need to use indexQuery for cases where you want to read from the index directly for other reasons.HTHKelvin
On Wednesday, August 2, 2017 at 12:46:37 PM UTC-5, Suny wrote:Hi,I am using Janusgraph with ES as index backend. I created a mixed index on some vertex attributes. This mixed index is saved in ES.Now if i query for that vertices based on index, will janusgraph use ES internally to perform search operation ? Or do i need to use IndexQuery to perform search on ES directly ?