Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterOpts ¶
ClusterOpts denotes Lens database clustering options
type DocData ¶
type DocData struct {
Content string `json:"content"`
Metadata *models.MetaDataV2 `json:"metadata"`
Properties *DocProps `json:"properties"`
}
DocData defines the structure of indexed objects
type DocProps ¶
type DocProps struct {
Indexed string `json:"indexed"` // date indexed
}
DocProps denotes additional information about a document
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
Engine implements Lens V2's core search functionality
type Query ¶
type Query struct {
Text string
Required []string
// Query metadata
Tags []string
Categories []string
MimeTypes []string
// Hashes restricts what documents to include in query - this is only a
// filtering option, so some other query fields must be provided as well
Hashes []string
}
Query denotes options for a search
Click to show internal directories.
Click to hide internal directories.