Hi,

We are using Apache atlas with Elastic Search as a search engine.
Our users create entities with underscore (_) in its name or description (ex. 
ABC_XYZ).
As the janusgraph_fulutext_index created by janusgraph uses a the standard 
analyser which will not tokenize the words with underscore.

We tried, creating janusgraph_fulutext_index  with custom analyser and 
mappings. But when launching the atals, janusgraph also trying to add the 
mappings to the index. Because there is a custom analyser on the mappings that 
we created, janusgraph will fail to update the mappings.

Janusgraph will not create the index if already exists, but it doens’t have a 
mechanism to avoid mappings if already exists.

use-external-mappings<https://docs.janusgraph.org/latest/config-ref.html#_index_x_elasticsearch_create>
 – if we use this flag, we need to create all the three indexes 
(janusgraph_fulltext_index, janusgraph_edge_index, janusgraph_vertex_index)  
upfront and we don’t want to do this because janusgraph_vertex_index indexes 
are created based on the model that we post. The model may change over the time 
it will be a dependency on the model changes.

Is there any way that we can use the custom analyser   with a simple 
configurable way.




---
Regards,
Sreeni

Reply via email to