Documentation ¶ Index ¶ type Postgres func NewPostgres(dbConn string, queryTimeout time.Duration, searchIndex string, ...) (*Postgres, error) func (p *Postgres) Close() func (p *Postgres) SearchFeaturesAcrossCollections(ctx context.Context, searchQuery d.SearchQuery, ...) (*d.FeatureCollection, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Postgres ¶ type Postgres struct { // contains filtered or unexported fields } func NewPostgres ¶ func NewPostgres(dbConn string, queryTimeout time.Duration, searchIndex string, rankNormalization int, exactMatchMultiplier float64, primarySuggestMultiplier float64, rankThreshold int, preRankLimitMultiplier int) (*Postgres, error) func (*Postgres) Close ¶ func (p *Postgres) Close() func (*Postgres) SearchFeaturesAcrossCollections ¶ func (p *Postgres) SearchFeaturesAcrossCollections(ctx context.Context, searchQuery d.SearchQuery, collections d.CollectionsWithParams, srid d.SRID, bbox *geom.Bounds, bboxSRID d.SRID, limit int) (*d.FeatureCollection, error) Source Files ¶ View all Source files postgres.go Click to show internal directories. Click to hide internal directories.