tew-axiom opened a new issue, #1389:
URL: https://github.com/apache/dubbo-admin/issues/1389

   <!-- Please only use this template for submitting feature requests -->
   
   **What would you like to be added**:
   
   Support for prefix matching and index persistence in dubbo-admin's indexing 
system. Specifically:
   
   1. **Prefix Matching Support**:
      - Extend index query logical operators beyond simple equality matches to 
support prefix-based searches
      - For memory storage: Implement Trie data structure to enable efficient 
prefix matching
      - For database storage: Design and implement database queries that 
support prefix matching along with other composite conditions
   
   2. **Index Persistence for Database Storage**:
      - Create a new database table to persist indexes when using DB-backed 
storage
      - Ensure index consistency across multiple replicas in Master-Slave 
deployment architecture
      - Enable all replicas to access persisted indexes for frontend query 
operations
   
   3. **Indexer Refactoring**:
      - Expand logical operators in the `Indexer` definition beyond the current 
"Equals" operator
      - Refactor the `Indexer` interface to support extended query capabilities
      - Update dependent components including `Manager` and `Console` to work 
with the new indexing system
   
   **Why is this needed**:
   
   Related to #1381 proposal.
   
   Currently, dubbo-admin's indexing system has the following limitations:
   - Only supports simple equality matching, lacking prefix-based search 
capabilities
   - In multi-replica deployments with database storage, indexes are only 
maintained in memory on the leader replica, causing query inconsistencies
   - The current index structure (map[idx_value][resource_key]) is too simple 
to support advanced query requirements
   
   This enhancement will:
   - Enable more flexible and powerful search capabilities for users querying 
resources
   - Ensure data consistency and availability in distributed deployments
   - Improve the overall scalability and reliability of dubbo-admin in 
production environments


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to