apache / apache/skywalking

[Feature] Implement DocumentIndex Model

Open
#13,466 1 comment 0 reactions 0 assignees View on GitHub
backend bydb file compatible change CLI database feature UI
Dominant language
Java
Stars
25k
Forks
6.6k
Avg merge
10h 5m
Merged PRs (30d)
16

Description

### Search before asking

- [x] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar feature requirement.

### Description

### Problem Statement
Currently, the index mode is tightly coupled with the measure model, which complicates the overall architecture and maintenance. To improve efficiency and scalability, we need to separate these concerns.

### Proposed Solution
I propose the creation of a new independent data model called `DocumentIndex`. This model will support the indexing of documents using an efficient indexing approach. The separation will allow for more flexible indexing and retrieval processes, making it easier to manage and adapt as our requirements evolve.

### Implementation Steps
1. Define the structure and API of the `DocumentIndex`.
2. Write integration tests to validate the indexing and document retrieval processes.
3. Update documentation to reflect the new model and its use cases.

### Use case

_No response_

### Related issues

_No response_

### Are you willing to submit a pull request to implement this on your own?

- [ ] Yes I am willing to submit a pull request on my own!

### Code of Conduct

- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

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.