GitHub user mkj-git edited a discussion: Secondary index and full tet query in 
Hugegraph

In Janusgraph secondary index used to be e.g elastic search, same way in 
hugegraph also has that concept? 

 ```
  graph.schema().indexLabel("personByAge")
                .onV("person") // Apply to vertices of type "person"
                .by("age") // Index the "age" property
                .secondary() // Use a secondary index
                .ifNotExist()
                .create();
```
What is the role of `secondary()` here and how it works?

Also, full text search isnt supported yet, so what is the future plan for this?

```
    // For full-text query (not supported now)
    SEARCH(3, "search"),
```


GitHub link: https://github.com/apache/incubator-hugegraph/discussions/2739

----
This is an automatically sent email for dev@hugegraph.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@hugegraph.apache.org

Reply via email to