Part of lp.registry.browser.distribution View In Hierarchy
Method | initialize | Save the search type if provided. |
Method | contextSpecificSearch | See AbstractPackageSearchView . |
Method | page_title | Undocumented |
Method | search_by_binary_name | Return whether the search is on binary names. |
Method | source_search_url | Return the equivalent search on source packages. |
Method | exact_matches | Undocumented |
Method | has_exact_matches | Undocumented |
Method | has_matches | Undocumented |
Method | matching_binary_names | Define the matching binary names for each result in the batch. |
Method | distroseries_names | Define the distroseries for each package name in exact matches. |
Method | display_exact_matches | Return whether exact match results should be displayed. |
Method | _listFirstFiveMatchingNames | Returns a comma-separated list of the first five matching items |
Inherited from PackageSearchViewBase:
Method | search_requested | Return whether the current view included a search request. |
Method | matches | Return the number of matched search results. |
Method | detailed | Return whether detailed results should be provided. |
Method | batchnav | Return the batch navigator for the search results. |
Method | search_results | Search for packages matching the request text. |
By default, we search by binary names, as this produces much better results. But the user may decide to search by sources, or in the case of other distributions, it will be the only option.
By default, we search by binary names, but also provide a link to the equivalent source package search in some circumstances.