apache / apache/hugegraph

Indexed properties. throwing exception while queirying.

Open
#1,693 27 comments 0 reactions 1 assignee Claimed by @javeme View on GitHub
Dominant language
Java
Stars
3.2k
Forks
636
Avg merge
3d 11h
Merged PRs (30d)
14

Description

### Problem Type (问题类型)

gremlin (结果不合预期)

### Before submit

- [X] 我已经确认现有的 [Issues](https://github.com/hugegraph/hugegraph/issues) 与 [FAQ](https://hugegraph.github.io/hugegraph-doc/guides/faq.html) 中没有相同 / 重复问题

### Environment (环境信息)

- Server Version: v0.11.x
- Backend: RocksDB x nodes, HDD or SSD
- OS: xx CPUs, xx G RAM, Centos 7.x
- Data Size: xx vertices, xx edges

### Your Question (问题描述)

I've indexed my vertex properties (search index and secondary index).But while querying it throws error .

Exception : Exception ::Don't accept query based on properties [NAME, ADDRESS] that are not indexed in label 'DETAILS', may not match secondary condition

But the above mentioned properties in vertex DETAILS have been indexed.

"NAME" ----> Search Index
"ADDRESS" ----> Secondary Index

NOTE : I've previously used the same configurations and worked perfectly .I've recently used new hugegraph build ,So I am wondering is that creating any problem with the configurations in hugegraph.properties.

Configurations :

```properties
Hugegraph version : 0.11.2
backend=rocksdb
serializer=binary
store=hugegraph

search.text_analyzer=jieba
search.text_analyzer_mode=INDEX (tried changing these two properties with ikanalyzer )
```

### Vertex/Edge example (问题点 / 边数据举例)

_No response_

### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.