feat(search): implement Search module with Typesense full-text & geo search
- TypesenseClient service with configurable connection - Collection schema for listings with facets, geo-point, and Vietnamese text - ListingIndexer service with PostGIS coordinate extraction for geo search - CQRS commands: SyncListing, ReindexAll (batch with pagination) - CQRS queries: SearchProperties (filters, sorting), GeoSearch (radius) - Event handlers for listing.approved/updated/deactivated auto-sync - REST endpoints: GET /search, GET /search/geo, POST /search/reindex (admin) - DTOs with class-validator validation and pagination Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
2
apps/api/src/modules/search/presentation/index.ts
Normal file
2
apps/api/src/modules/search/presentation/index.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
export * from './controllers';
|
||||
export * from './dto';
|
||||
Reference in New Issue
Block a user