Search & Filters
The search and filtering system enables users to discover guides, tours, and experiences that match their specific interests and requirements. Combined with the intelligent matching algorithm, these tools help tourists find their ideal local guide quickly and efficiently.The search system works alongside the matching algorithm: while matching recommends compatible profiles, search allows users to actively explore based on their criteria.
System Overview
Kin Conecta provides multiple discovery methods to help users find what they’re looking for:Location-Based Search
Find guides and tours in specific cities, states, or regions across Mexico.
Category Filtering
Filter by interest categories like culture, gastronomy, nature, adventure, and more.
Tour Search
Browse available tour packages by destination, price, duration, and group size.
Guide Discovery
Search for guides by expertise, language, rating, experience level, and availability.
Search Types
The platform supports different search approaches depending on what users need:1. Guide Search
Find local guides based on multiple criteria:Location
Primary filter: Select city or state where you need a guide (CDMX, Guadalajara, Oaxaca, etc.).
Expertise & Interests
Filter by guide expertise areas that match your interests:
- Culture: Museums, historical sites, architecture
- Gastronomy: Food tours, cooking classes, market visits
- Nature: Parks, beaches, eco-tourism
- Adventure: Hiking, diving, extreme sports
- Art: Galleries, street art, artisan workshops
2. Tour Search
Browse pre-packaged tour offerings:Destination
Filter tours by city, neighborhood, or specific landmarks.
Category
Browse by tour type: culture, food, nature, adventure, art, nightlife.
Price Range
Set minimum and maximum price to fit your budget.
Duration
Filter by tour length: half-day, full-day, multi-day experiences.
Group Size
Find tours that accommodate your party size (max group size).
Rating
Show only highly-rated tours (4+ stars, 4.5+ stars).
Availability
Filter by available dates and times.
Special Features
Tours with food included, transportation, photography, etc.
3. Combined Search
The most powerful approach combines both guide and tour filtering:- Start with Matching: Get personalized recommendations
- Apply Location Filter: Narrow to specific destinations
- Add Interest Filters: Focus on preferred activities
- Refine Results: Use additional filters for perfect match
Filter Implementation
Filters are implemented based on profile and tour attributes:Guide Profile Filters
Based onGuideProfileEntity fields:
Tourist Profile Filters
When guides search for compatible tourists:Tour Filters
Based onTour entity:
Search UI/UX
The search interface provides an intuitive discovery experience:Sort Options
Dropdown to sort results by:
- Relevance (default)
- Rating (high to low)
- Price (low to high / high to low)
- Popularity (most bookings)
- Newest (recently added)
Implementation Architecture
Backend Query Building
Search queries are built dynamically based on applied filters:Service Layer
TheTourService handles tour searches:
getAllTours(): Retrieve all active toursgetTourById(Long id): Get specific tour details- Additional filtering methods (to be implemented)
Search Optimization
Indexing Strategy
Caching
Cache frequently accessed filter options:- List of locations (cities/states)
- Available categories
- Language options
- Popular search queries
User Experience Flow
Browse Results
User scrolls through filtered results, viewing guide/tour cards with key information.
Search + Matching Integration
The search system complements the matching algorithm:Matching First
Start with personalized recommendations from the matching algorithm, then refine with search filters.
Search First
Browse guides/tours using search, then see compatibility scores from matching algorithm in results.
Hybrid Approach
Mix matched and searched results, showing high-compatibility matches first followed by broader search results.
Learning System
Search behavior informs matching algorithm to improve future recommendations.
Best Practices
For Tourists
Start Broad
Begin with general criteria (location, category) then narrow down with additional filters.
Use Matching
Check recommended matches before searching broadly - you might find perfect matches.
Read Reviews
Don’t rely solely on filters - read reviews to understand guide quality and style.
Save Favorites
Bookmark interesting profiles to compare later before making a decision.
For Implementation
API Examples
Search Guides
Search Tours
Combined Search
Future Enhancements
Planned improvements to search and filtering:- Smart Search: Natural language queries (“Find a food tour guide in Mexico City under $50”)
- Autocomplete: Suggest locations, categories, and guides as user types
- Search History: Save recent searches for quick access
- Saved Filters: Create and save custom filter combinations
- Map View: Display results on an interactive map
- Advanced Filters: Date ranges, specific amenities, accessibility features
- Faceted Search: Show count of results for each filter option
- Similar Results: “More like this” recommendations based on viewed profiles
- AI-Powered: Machine learning to understand intent and improve relevance
- Voice Search: Speak search queries instead of typing