search

package
v2.0.4+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2019 License: AGPL-3.0 Imports: 0 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueryOptions added in v1.52.0

type QueryOptions struct {
	Keywords   string `json:"keywords"`
	Doc        bool   `json:"doc"`
	Tag        bool   `json:"tag"`
	Attachment bool   `json:"attachment"`
	Content    bool   `json:"content"`
	SkipLog    bool   `json:"slog"`
}

QueryOptions defines how we search.

type QueryResult added in v1.52.0

type QueryResult struct {
	ID           string `json:"id"`
	OrgID        string `json:"orgId"`
	ItemID       string `json:"itemId"`
	ItemType     string `json:"itemType"`
	DocumentID   string `json:"documentId"`
	DocumentSlug string `json:"documentSlug"`
	Document     string `json:"document"`
	Excerpt      string `json:"excerpt"`
	Tags         string `json:"tags"`
	SpaceID      string `json:"spaceId"`
	Space        string `json:"space"`
	SpaceSlug    string `json:"spaceSlug"`
	Template     bool   `json:"template"`
	VersionID    string `json:"versionId"`
}

QueryResult represents 'presentable' search results.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL