package
0.0.0-20240225030228-86cb477b012a
Repository: https://github.com/khulnasoft-lab/godep.git
Documentation: pkg.go.dev

# Functions

ParseInputType parses the search query input and returns the InputType.
SymbolQuery returns a symbol search query to be used in internal/postgres.

# Constants

InputTypeMultiWord indicates that the query has multiple words.
InputTypeNoDot indicates that the query type is <symbol>.
InputTypeNoMatch indicates that there is no situation where we will get results for this search input.
InputTypeOneDot indicates that the query type is <package>.<symbol> or <type>.<fieldOrMethod>.
InputTypeTwoDots indicates that the query type is <package>.<type>.<fieldOrMethod>.
SearchTypeMultiExact is used for InputTypeMultiWord when the search query can be used to construct a reasonable number of symbol and path token combinations.
SearchTypeMultiWordOr is used for InputTypeMultiWord when the search query cannot be used to generate a reasonable number of symbol and path token combinations.
SearchTypePackageDotSymbol is used for InputTypeNoDot (input is <package>.<symbol>) or InputTypeTwoDots (input is <package>.<type>.<fieldOrMethod>).
SearchTypeSymbol is used for InputTypeNoDot (input is <symbol>) or InputTypeOneDot (input is <type>.<fieldOrMethod>).
SymbolTextSearchConfiguration is a custom postgres text search configuration used for symbol search.

# Variables

No description provided by the author

# Type aliases

InputType is the type determined for the search query input.
SearchType is the type of search that will be performed, based on the input type.