search for: matchrang

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

Did you mean: matchrange
2011 Feb 23
0
Custom highlighter/match vector access?
...t want to store it all in the ferret index just to have highlighting. My understanding (I''m still new at this) is that if you index and store the match offsets, you can do this without storing the full text of the field. 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 Ru...