Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAnswerQuestionCommand ¶
func NewAnswerQuestionCommand() (*pinocchio_cmds.PinocchioCommand, error)
Types ¶
type AnswerQuestionCommand ¶
type AnswerQuestionCommand struct {
}
type IndexDocumentCommand ¶
type IndexDocumentCommand struct {
*cmds.CommandDescription
// contains filtered or unexported fields
}
func NewIndexDocumentCommand ¶
func NewIndexDocumentCommand(embedder *pkg.Embedder) (*IndexDocumentCommand, error)
func (*IndexDocumentCommand) RunIntoGlazeProcessor ¶
func (c *IndexDocumentCommand) RunIntoGlazeProcessor( ctx context.Context, parsedLayers *layers.ParsedLayers, gp middlewares.Processor, ) error
type IndexDocumentSettings ¶
type IndexDocumentSettings struct {
File parameters.FileData `glazed.parameter:"file"`
Title string `glazed.parameter:"title"`
Body string `glazed.parameter:"body"`
}
type SearchCommand ¶
type SearchCommand struct {
*cmds.CommandDescription
AnswerQuestionCommand *pinocchio_cmds.PinocchioCommand
// contains filtered or unexported fields
}
func NewSearchCommand ¶
func NewSearchCommand(embedder *pkg.Embedder) (*SearchCommand, error)
func (*SearchCommand) RunIntoGlazeProcessor ¶
func (c *SearchCommand) RunIntoGlazeProcessor( ctx context.Context, parsedLayers *layers.ParsedLayers, gp middlewares.Processor, ) error
type SearchSettings ¶
Click to show internal directories.
Click to hide internal directories.