search for: searcher_highlight

Displaying 1 result from an estimated 1 matches for "searcher_highlight".

2011 Feb 23
0
Custom highlighter/match vector access?
...ld. Ideally, what I''d like is to expose the contents of the C MatchRange structure as an array of Ruby hash objects so that I could then use those offsets in the actual data store to create my own highlighted extracts (or something along those lines). Short of adding a hacked version of searcher_highlight to the C API to do this and creating a corresponding wrapped Ruby version, is there any way to get to this information right now from the Ruby API? Alternatively, is there another/better way to do this besides storing the whole field values and using the built-in highlighter? Any advice or pointe...