Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func CreateIndex ¶
func CreateIndex(target string) *index
func MapIndex ¶
MapIndex creates the mapping for a type and tracks the index to be used within the system for adding/deleting/checking data
func Setup ¶
Setup initializes Search Index for search to be functional This was moved out of db.Init and put to main(), because addon checker was initializing db together with search indexing initialisation in time when there were no item.Types defined so search index was always empty when using addons. We still have no guarentee whatsoever that item.Types is defined Should be called from a goroutine after SetContent is successful (SortContent requirement)
func UpdateIndex ¶
UpdateIndex sets data into a content type's search index at the given identifier
Types ¶
Click to show internal directories.
Click to hide internal directories.