package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Apr 30, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Search is the method to do search.
type Document struct {
Title string `json:"title"`
URL string `json:"url"`
ContentText string `json:"content_text"`
}
Document is the document that scored.
type Response struct {
Tokens []string `json:"tokens"`
Docs []Document `json:"docs"`
Total int `json:"total"`
}
Response is the response for search.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.