- Instead of managing multiple indexes for various object types, considers adding a filter functionality to the index allowing to filter the index objects by type (and by other criteria)
- Add sort functionality
- Filter only matching objects
- Elegant and standardized way to retrieve specific matcher value from a searchable
- Document highlighter forwarding
- Instead of forwarding highlighter to value and matcher, just forward and assign to value and read highlighter in AbstractMatcher::match() from the value object and pass as argument to AbstractMatcher::matchValue() (or make it accessible there in another way)
- Consider default implementation of AbstractValue::resetHighlighted() in AbstractArrayValue and AbstractStringValue
- Implement functionality in
Index
to pass a search term only to specified matchers