Module: SearchDataController

SearchData Controller Layer This controller handles HTTP requests and responses for search operations. It serves as the interface between the HTTP layer and the search service, managing request validation, response formatting, and error handling. Key responsibilities: - HTTP request/response handling - Input validation and sanitization - Error response formatting - Service layer coordination - Status code management Authentication requirements: - All endpoints require authenticated session - Visibility is enforced at service layer
Source:

Members

(static, constant) searchAll

Search all entity types with fulltext search This endpoint performs a comprehensive search across multiple entity types using MySQL fulltext search. It supports filtering by type, gender, stage, and hierarchy, as well as visibility restrictions based on user permissions.
Source:

(static, constant) searchByType

Search specific entity type with fulltext search This endpoint performs type-specific searches with optimized queries for different entity types (member, person, extern, group, list, etc.).
Source:

(static, constant) searchEmbedding

Search entities using semantic vector similarity (AI embeddings) This endpoint performs semantic search using vector similarity, which finds entities that are semantically similar to the search query even if they don't contain the exact keywords. This uses AI embeddings stored in the database.
Source: