#2759: Search query is too simplistic
----------------------------------------------------+-----------------------
Reporter: Andres Salomon <[EMAIL PROTECTED]> | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone: 0.10
Component: search system | Version: none
Severity: major | Resolution:
Keywords: |
----------------------------------------------------+-----------------------
Comment (by mgood):
The Javascript is used to highlight search terms on any page, either from
Trac's own search results or if you were referred from a search on another
search engine. The `shorten_result` method is meant to take an excerpt of
a string that contains some of the words from the query. Javascript is
appropriate for the search term highlighting since this makes it easy to
post-process every page and highlight any search terms found in the body.
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2759>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets