Skip to content
代码片段 群组 项目
该项目从 https://gitlab.com/gitlab-org/gitlab.git 镜像。 拉取镜像更新于
  1. 3月 13, 2025
  2. 3月 12, 2025
  3. 3月 11, 2025
  4. 3月 04, 2025
  5. 3月 03, 2025
  6. 2月 28, 2025
  7. 2月 27, 2025
  8. 2月 26, 2025
  9. 2月 25, 2025
  10. 2月 24, 2025
  11. 2月 21, 2025
  12. 2月 20, 2025
  13. 2月 19, 2025
  14. 2月 17, 2025
  15. 2月 14, 2025
  16. 2月 12, 2025
  17. 2月 11, 2025
    • Dmitry Gruzd's avatar
      Add ActiveContext migration framework · e004730b
      Dmitry Gruzd 创作于
      This introduces a comprehensive migration framework for Active Context
      and adds collection management capabilities through database-specific executors.
      These changes enable systematic database schema management and provide a unified
      way to create and manage collections across different database backends.
      
      Key changes:
      - Introduce migration framework with version tracking and batch operation support
      - Add database-specific executors for managing collections (PostgreSQL, Elasticsearch, OpenSearch)
      - Implement partition strategy for handling sharded collections
      - Move prefix configuration from Client to Adapter level
      - Add migrations path configuration support
      
      Technical details:
      - Add Migration base class with versioning support (V1_0)
      - Implement BatchOperationResult for tracking long-running operations
      - Add collection creation with field type support (bigint, prefix, vector)
      - Add partition management with naming strategy
      - Add support for creating indices on fields based on database capabilities
      - Implement database-specific collection creation logic:
        * PostgreSQL: Partitioned tables with vector support
        * Elasticsearch: Index templates and aliases
        * OpenSearch: Base executor structure (implementation pending)
      
      The migration framework follows a similar pattern to ActiveRecord migrations,
      with timestamped migration files and version tracking. Collections can be
      created with specific field types and indexing options, which are translated
      to the appropriate database-specific implementations.
      
      Migration files should be placed in ee/db/active_context/migrate/ by default,
      but this path can be configured through ActiveContext::Config.
      未验证
      e004730b
  18. 2月 06, 2025
  19. 2月 04, 2025
  20. 2月 03, 2025
  21. 1月 31, 2025
  22. 1月 29, 2025
  23. 1月 27, 2025
  24. 1月 24, 2025
    • Dmitry Gruzd's avatar
      Add production-ready Elasticsearch query processor · 10c91bc9
      Dmitry Gruzd 创作于
      Implement a comprehensive Elasticsearch query processor that transforms
      ActiveContext::Query AST nodes into Elasticsearch DSL queries. This
      implementation provides proper handling of all query types and follows
      best practices for query composition.
      
      Key changes:
      - Add Processor class with support for filter, prefix, knn, and boolean queries
      - Implement helper methods for consistent query building
      - Add comprehensive test coverage
      - Add YARD documentation for all methods
      
      Details:
      * Processor changes:
        - Implement transform method following concern contract
        - Add build_bool_query helper for consistent query construction
        - Add proper handling of KNN queries with other conditions
        - Implement proper query composition for nested structures
      
      * Test improvements:
        - Add comprehensive test suite with all query types
        - Add test cases for complex nested queries
        - Add edge case coverage
        - Use shared examples for common query patterns
      
      * Documentation:
        - Add YARD documentation for all public methods
        - Add usage examples
        - Document query composition patterns
        - Add type specifications for parameters
      
      This implementation provides a production-ready solution for transforming
      query AST nodes into Elasticsearch queries, with proper handling of all
      supported query types and edge cases.
      未验证
      10c91bc9
  25. 1月 17, 2025
  26. 1月 16, 2025
加载中