Search Result Fixes: Highlighting on Boolean Queries, and No More Jan 01 1970 Dates
Two fixes to how search results are rendered: highlighting now covers every field on complex queries, and documents with no real date no longer display one.
01 Highlighting on boolean queries
When a query contained boolean operators such as AND or OR, only the full-text body was highlighted. Titles and short descriptions were left plain, which made a matching result look like a non-matching one at a glance. Highlighting now works consistently across all result fields, however complex the query is.
On a query with AND or OR, only the body was highlighted; title and description stayed plain.
All result fields are highlighted, regardless of query complexity.
02 No date rather than a wrong date
A document with no real creation date was shown with a date of Jan 01 1970 — the epoch, rendered as if it were a fact about the document. The date badge is now hidden entirely when no valid date is available.