Menu

Trac Commit Log


Commit Date  
[r5533] by cboos

Search API: matches in wiki page names also count for 5 normal hits, as for matches in ticket summaries, plus a bug fix in `get_matching_lines` when the given text might occasionally be `None`.

2007-05-28 18:08:52 Tree
[r5532] by cboos

Search API: initial adaptation of the existing search sources to the new API

2007-05-28 17:58:11 Tree
[r5531] by cboos

Search API: forgot to add style specification for the number of hits

2007-05-28 17:57:04 Tree
[r5530] by cboos

TracSearch: refactor the Search API in a similar way than the recent Timeline API refactoring (see r5523).

Quite similar to the `TimelineEvent` object used to collect timeline entries, there's now a `SearchResult` object for collecting the matches provided by the search sources, instead of the tuple used before.

The advantage of such an approach over the use of a tuple is an increased clarity and greater extensibility of the API.

In addition to the fields and methods which are similar to the ones of the `TimelineEvent` object, there's also a '''weight''' property which will be used to sort the matches by order of relevance.

Each occurrence of the terms in the matched resource would normally count for 1. A search source can increase the weight of some hits if the search terms appear in some more sensitive place (in the title of the resource, in a ''keywords'' field, etc.). As this weight is not an exact measure of the hit count, it can also be referred to as the ''bogohits'' count.

The legacy ISearchSource providers are still supported.

2007-05-28 17:54:57 Tree
[r5529] by cboos

Setup merge tracking on that branch.

2007-05-28 17:39:19 Tree
[r5528] by cboos

Creating a sandbox for some improvements to the search subsystem.

2007-05-28 17:36:09 Tree
[r5527] by cboos

We don't need to render the template when debugging the template data using ''hdfdump=1''

2007-05-28 17:34:02 Tree
[r5526] by cboos

Improve rendering of page listing for search results. In particular, this makes more obvious what is the currently selected page.

2007-05-28 15:10:54 Tree
[r5525] by cboos

Disposing of timeline-api-tmp branch merged in r5523

2007-05-28 14:23:48 Tree
[r5524] by cboos

FieldRefactoring: merging changes from [5470:5523/trunk]

2007-05-28 14:22:47 Tree
Older >
Auth0 Logo