Enforce a (configurable) max-line-length limit.

Lines over a certain length are almost certainly machine-generated or
otherwise uninteresting, and we shouldn't clutter the index or search
results with them.