You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there an existing issue for the same feature request?
I have checked the existing issues.
Is your feature request related to a problem?
No response
Describe the feature you'd like
Rank Feature Query in ES is used in many enterprise scenarios. Infinity will provide similar feature accordingly.
A scenario is to provide hierarchical knowledge base in RAGFlow, the result is a combination of knowledge base with higher quality or higher priority with other general knowledge bases.
In order to support this feature, the column should have type of rank_feature or rank_features. rank_feature can only support positive numeric values while rank_features can only support Map where the key must be string type and value must be positive numeric types that can be represented using 16bit.
The text was updated successfully, but these errors were encountered:
### What problem does this PR solve?
Columns for rank features(#2309) with Map types will have weight for
each term, which is better to be represented with doc payload within
inverted index.
Issue link:#2309
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
### What problem does this PR solve?
Insert:
```
`json` string is required for rank features column:
[{"Tag1":0.1},{"Tag2":0.2}]
```
Query:
```
SELECT * FROM table SEARCH MATCH TEXT ('doc', 'second text multiple', 'rank_features= field^tag1^1.0,field^tag2^1.0;topn=10');
```
Issue link:#2309
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
Is there an existing issue for the same feature request?
Is your feature request related to a problem?
No response
Describe the feature you'd like
Rank Feature Query in ES is used in many enterprise scenarios. Infinity will provide similar feature accordingly.
A scenario is to provide hierarchical knowledge base in RAGFlow, the result is a combination of knowledge base with higher quality or higher priority with other general knowledge bases.
In order to support this feature, the column should have type of
rank_feature
orrank_features
.rank_feature
can only support positive numeric values whilerank_features
can only support Map where the key must be string type and value must be positive numeric types that can be represented using 16bit.The text was updated successfully, but these errors were encountered: