Documentation
¶
Index ¶
Constants ¶
View Source
const ( COLLECTION = "elastic_search_indexed" FLD_DBKEY = "_key" FLD_KEY = "key" FLD_GROUP = "group" FLD_ENTITY = "entity" FLD_TAGS = "tags" ANALYZER_LOWER = "semantic_lowercase" )
Variables ¶
This section is empty.
Functions ¶
func ToKeywords ¶
Types ¶
type SemanticEngine ¶
type SemanticEngine struct {
// contains filtered or unexported fields
}
func NewSemanticEngine ¶
func NewSemanticEngine(config *gg_dbal_commons.SemanticConfig) (*SemanticEngine, error)
func (*SemanticEngine) Get ¶
func (instance *SemanticEngine) Get(group, text string, offset, count int) ([]*SemanticEngineData, error)
func (*SemanticEngine) IsCaseSensitive ¶
func (instance *SemanticEngine) IsCaseSensitive() bool
func (*SemanticEngine) Put ¶
func (instance *SemanticEngine) Put(group, key, text string) error
Click to show internal directories.
Click to hide internal directories.