Marvin Humphrey wrote on 8/30/11 4:59 PM: > > To support highlighting, at index-time we create an inverted representation > for each field that has been marked as "highlightable", then serialize all the > inverted fields together in one blob (called, for no particularly good reason, > a "DocVector"). Effectively this is a miniature inverted-index containing a > single document. The class which does the work is > Lucy::Index::HighlightWriter, and the relevant segment files are named > seg_NNN/highlight.ix and seg_NNN/highlight.dat. >
my brief tests show that setting highlightable => 1 for all fields increases the size of the index by about 65%. Is that about right, in your experience? -- Peter Karman . http://peknet.com/ . [email protected]
