C# Class CkanDotNet.Api.Helper.SuggestionHelper

Show file Open project: opencolorado/.NET-Wrapper-for-CKAN-API

Public Methods

Method Description
GetTrie ( CkanClient client, PackageSearchParameters searchParameters, CacheSettings cacheSettings ) : Trie

Gets a trie of package search suggestions a package search. If cached, the trie will be returned from the cache, otherwise it will be created and cached.

Private Methods

Method Description
GenerateTrie ( CkanClient client, PackageSearchParameters searchParameters, CacheSettings cacheSettings ) : Trie

Generates a trie of suggestions based on attributes of packages in the catalog

Method Details

GetTrie() public static method

Gets a trie of package search suggestions a package search. If cached, the trie will be returned from the cache, otherwise it will be created and cached.
public static GetTrie ( CkanClient client, PackageSearchParameters searchParameters, CacheSettings cacheSettings ) : Trie
client CkanClient
searchParameters CkanDotNet.Api.Model.PackageSearchParameters
cacheSettings CacheSettings
return CkanDotNet.Api.DataStructures.Trie