Documentation ¶
Index ¶
- Constants
- func PrintErrorToUser(errorType int)
- func PrintUsage()
- type Command
- type DocumentFrequency
- type FileData
- type FileInfo
- type FilesInfo
- type FilesRank
- type FilesTermsFrequency
- type InMemoryData
- type PaginationInfo
- type Pair
- type Pairs
- type ResponseType
- type ResultType
- type SearchQuery
- type TermsFrequency
Constants ¶
View Source
const ( NO_SUBCOMMAND = iota NO_PATH_TO_INDEX UNKOWN_SUBCOMMAND TOTAL_ERRORS )
Variables ¶
This section is empty.
Functions ¶
func PrintErrorToUser ¶
func PrintErrorToUser(errorType int)
func PrintUsage ¶
func PrintUsage()
Types ¶
type Command ¶
func (Command) HandleCommand ¶
func (c Command) HandleCommand()
type DocumentFrequency ¶
type FileData ¶
type FileData struct { // terms ferq in doc Terms TermsFrequency // doc title Title string // number of terms in the doc DocSize int // last update time LastUpdateTime time.Time }
type FilesTermsFrequency ¶
type InMemoryData ¶
type InMemoryData struct { Ftf FilesTermsFrequency Df DocumentFrequency }
type PaginationInfo ¶
type PaginationInfo struct {
// contains filtered or unexported fields
}
type ResponseType ¶
type ResponseType struct { Result []ResultType IsCompleteData bool }
type ResultType ¶
type SearchQuery ¶
type SearchQuery struct {
// contains filtered or unexported fields
}
type TermsFrequency ¶
Click to show internal directories.
Click to hide internal directories.