Lines Matching defs:search
275 """Used to indicate that the token(s) provided to search were undefined
280 return _("No token was provided to search.").format(
283 return _("The specified search token '{0}' is invalid.").format(
288 """Used to indicate that search is not currently available."""
711 """Private helper function to dump repository search data."""
745 # Discard in-memory search data.
823 # Only discard search data if this isn't an incremental
850 # and declare search available. This is only logged
873 # Prepare search for use (ensuring most current data is loaded).
884 # before the search checks below.
1151 search indexes should be updated.
1283 """Discards currenty loaded search data so that it will be
1284 reloaded the next a search is performed.
1430 """This function refreshes the search indexes if there any new
1450 " and rebuilding search "
1521 # First, dump all search data as it will be invalidated
1704 """Rebuilds the repository catalog and search indexes using the
1708 package catalogs should be rebuilt. If True, existing search
1712 search indexes should be built.
1748 self.__index_log("Updating search indexes")
1760 def search(self, queries):
1787 return query.search(self.catalog.fmris)
2789 # Ensure obsolete search data is removed.
2791 searchdb_file = os.path.join(self.root, "search")
3466 """ This function refreshes the search indexes if there any new
3536 the catalog, adds them, and then updates search data by default.
3562 """Rebuilds the repository catalog and search indexes using the
3566 package catalogs should be rebuilt. If True, existing search
3570 search indexes should be built.
3596 """Discards currenty loaded search data so that it will be
3597 reloaded for the next search operation.
3604 def search(self, queries, pub=None):
3611 return rstore.search(queries)
3618 if op == "search" and self.root: