lucy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From goran kent <>
Subject [lucy-user] Highlighter/create_excerpt returns null on long URL-type strings
Date Tue, 29 Nov 2011 08:18:12 GMT

I just noticed something when trying to create highlighted excerpts of
website URLs:

Highlighting itself works fine, but if the excerpt_length < length of
URL, then create_excerpt() returns null.  Perhaps create_excerpt()
needs to slice on punctuation as well as whitespace?

Glancing at Highlighter.c and it's dependence on "normal" looking
sentences and whitespace (and what constitutes a sentence boundary,
etc), I'm thinking this may not be as simple as first blush?


View raw message