Versions in this module Expand all Collapse all v0 v0.0.1 Nov 7, 2025 Changes in this version + var ErrCursorIsExpired = errors.New("Query cursor has expired") + func NewOpenSearchSpelunker(ctx context.Context, uri string) (spelunker.Spelunker, error) + func NewSpelunkerRecordSPR(props []byte) (wof_spr.StandardPlacesResult, error) + func NewSpelunkerStandardPlacesResults(results []wof_spr.StandardPlacesResult) wof_spr.StandardPlacesResults + type OpenSearchSpelunker struct + func (s *OpenSearchSpelunker) CountDescendants(ctx context.Context, id int64) (int64, error) + func (s *OpenSearchSpelunker) GetAlternatePlacetypes(ctx context.Context) (*spelunker.Faceting, error) + func (s *OpenSearchSpelunker) GetConcordances(ctx context.Context) (*spelunker.Faceting, error) + func (s *OpenSearchSpelunker) GetDescendants(ctx context.Context, pg_opts pagination.Options, id int64, ...) (wof_spr.StandardPlacesResults, pagination.Results, error) + func (s *OpenSearchSpelunker) GetDescendantsFaceted(ctx context.Context, id int64, filters []spelunker.Filter, ...) ([]*spelunker.Faceting, error) + func (s *OpenSearchSpelunker) GetFeatureForId(ctx context.Context, id int64, uri_args *uri.URIArgs) ([]byte, error) + func (s *OpenSearchSpelunker) GetPlacetypes(ctx context.Context) (*spelunker.Faceting, error) + func (s *OpenSearchSpelunker) GetRecent(ctx context.Context, pg_opts pagination.Options, d time.Duration, ...) (wof_spr.StandardPlacesResults, pagination.Results, error) + func (s *OpenSearchSpelunker) GetRecentFaceted(ctx context.Context, d time.Duration, filters []spelunker.Filter, ...) ([]*spelunker.Faceting, error) + func (s *OpenSearchSpelunker) GetRecordForId(ctx context.Context, id int64, uri_args *uri.URIArgs) ([]byte, error) + func (s *OpenSearchSpelunker) GetSPRForId(ctx context.Context, id int64, uri_args *uri.URIArgs) (wof_spr.StandardPlacesResult, error) + func (s *OpenSearchSpelunker) GetTags(ctx context.Context) (*spelunker.Faceting, error) + func (s *OpenSearchSpelunker) HasAlternatePlacetype(ctx context.Context, pg_opts pagination.Options, pt string, ...) (wof_spr.StandardPlacesResults, pagination.Results, error) + func (s *OpenSearchSpelunker) HasAlternatePlacetypeFaceted(ctx context.Context, pt string, filters []spelunker.Filter, ...) ([]*spelunker.Faceting, error) + func (s *OpenSearchSpelunker) HasConcordance(ctx context.Context, pg_opts pagination.Options, namespace string, ...) (wof_spr.StandardPlacesResults, pagination.Results, error) + func (s *OpenSearchSpelunker) HasConcordanceFaceted(ctx context.Context, namespace string, predicate string, value any, ...) ([]*spelunker.Faceting, error) + func (s *OpenSearchSpelunker) HasPlacetype(ctx context.Context, pg_opts pagination.Options, pt *placetypes.WOFPlacetype, ...) (wof_spr.StandardPlacesResults, pagination.Results, error) + func (s *OpenSearchSpelunker) HasPlacetypeFaceted(ctx context.Context, pt *placetypes.WOFPlacetype, filters []spelunker.Filter, ...) ([]*spelunker.Faceting, error) + func (s *OpenSearchSpelunker) HasTag(ctx context.Context, pg_opts pagination.Options, tag string, ...) (wof_spr.StandardPlacesResults, pagination.Results, error) + func (s *OpenSearchSpelunker) HasTagFaceted(ctx context.Context, tag string, filters []spelunker.Filter, ...) ([]*spelunker.Faceting, error) + func (s *OpenSearchSpelunker) Search(ctx context.Context, pg_opts pagination.Options, ...) (wof_spr.StandardPlacesResults, pagination.Results, error) + func (s *OpenSearchSpelunker) SearchFaceted(ctx context.Context, search_opts *spelunker.SearchOptions, ...) ([]*spelunker.Faceting, error) + func (s *OpenSearchSpelunker) VisitingNullIsland(ctx context.Context, pg_opts pagination.Options, filters []spelunker.Filter) (wof_spr.StandardPlacesResults, pagination.Results, error) + func (s *OpenSearchSpelunker) VisitingNullIslandFaceted(ctx context.Context, filters []spelunker.Filter, facets []*spelunker.Facet) ([]*spelunker.Faceting, error) + type SpelunkerRecordSPR struct + func (s *SpelunkerRecordSPR) BelongsTo() []int64 + func (s *SpelunkerRecordSPR) Cessation() *edtf.EDTFDate + func (s *SpelunkerRecordSPR) Country() string + func (s *SpelunkerRecordSPR) Id() string + func (s *SpelunkerRecordSPR) Inception() *edtf.EDTFDate + func (s *SpelunkerRecordSPR) IsCeased() flags.ExistentialFlag + func (s *SpelunkerRecordSPR) IsCurrent() flags.ExistentialFlag + func (s *SpelunkerRecordSPR) IsDeprecated() flags.ExistentialFlag + func (s *SpelunkerRecordSPR) IsSuperseded() flags.ExistentialFlag + func (s *SpelunkerRecordSPR) IsSuperseding() flags.ExistentialFlag + func (s *SpelunkerRecordSPR) LastModified() int64 + func (s *SpelunkerRecordSPR) Latitude() float64 + func (s *SpelunkerRecordSPR) Longitude() float64 + func (s *SpelunkerRecordSPR) MaxLatitude() float64 + func (s *SpelunkerRecordSPR) MaxLongitude() float64 + func (s *SpelunkerRecordSPR) MinLatitude() float64 + func (s *SpelunkerRecordSPR) MinLongitude() float64 + func (s *SpelunkerRecordSPR) Name() string + func (s *SpelunkerRecordSPR) ParentId() string + func (s *SpelunkerRecordSPR) Path() string + func (s *SpelunkerRecordSPR) Placetype() string + func (s *SpelunkerRecordSPR) Repo() string + func (s *SpelunkerRecordSPR) SupersededBy() []int64 + func (s *SpelunkerRecordSPR) Supersedes() []int64 + func (s *SpelunkerRecordSPR) URI() string + type SpelunkerStandardPlacesResults struct + func (r *SpelunkerStandardPlacesResults) Results() []wof_spr.StandardPlacesResult