Greg Langmead wrote:
Am I right in saying that the design of Token's support for highlighting
really only supports having the entire document stored as one monolithic
"contents" Field?

No, I don't think so.

Has anyone tackled indexing multiple content Fields
before that could shed some light?

Do you need highlights from all fields? If so, then you can use:

  TextFragment[] getBestTextFragments(TokenStream, ...);

with a TokenStream for each field, then select the highest scoring fragments across all fields. Would that work for you?

Doug

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to