Searching
Reranking
Reranking adjusts the order of search results using additional signals beyond initial relevance scores, such as user feedback and popularity metrics.
Understanding Reranking
Key Concepts
-
Ranking Signals
- Initial relevance score
- User feedback
- Popularity metrics
- Custom weights
-
Weight Configuration
- Signal importance
- Score normalization
- Dynamic adjustment
- Feedback incorporation
Search Interactions
Interaction Types
-
Positive Signals
-
Negative Signals
Recording Interactions
-
Required Fields
feature_id
: Unique identifier for the resultinteraction_type
: Type of interaction (click, skip, etc.)position
: Position in search resultsmetadata
: Additional context (optional)
-
Session Tracking
Reranking Configuration
Basic Structure
Advanced Options
-
Interaction Windows
-
Signal Thresholds
Implementation Guide
Recording Interactions
-
Client-Side Integration
-
Batch Processing
Enabling Reranking
Best Practices
Optimization Tips
-
Weight Tuning
- Start with balanced weights (0.5/0.5)
- Adjust based on interaction volume
- Monitor impact on key metrics
- A/B test different configurations
-
Data Quality
- Filter bot/spam interactions
- Validate interaction data
- Handle edge cases
- Maintain consistent tracking
Error Handling
Common Issues
-
Invalid Configuration
-
Resolution Steps
- Validate weight configurations
- Check interaction data format
- Monitor reranking performance
- Handle missing signals gracefully
For implementation details and examples, see the Interactions API Reference.
Was this page helpful?