Class SY_SearchData_ALE

Dynamic full-text search for ALE lookup

Constructor

Initialize a Sage.Data.Search object as alternate for autocomplete

ParameterDescription
coSession [input, object, required] Reference to the SY_Session object
lookup$ [input, string, required] Lookup code to be associated with the search index
Info

The constructor will fail if the DLL cannot be located.

Inherits

SY_SearchData

Properties

LOCAL cAleSearchResultLimit=1500  

Methods

FUNCTION BuildIndex(keyValue$, data$)  

Add data to the search index for the lookup

ParameterDescription
keyValue$ [input, string, required] Key value associated with the data
data$ [input, string, required] Data to write into the search index; if value is NULL, end update
Returns [boolean] 1 - Success
FUNCTION CheckLookupData()  

Check to see if there is any data for the entity

ParameterDescription
entityName$ [input, string, required] Name for the entity to search
Returns [int] Number of hits for the search

Properties inherited from: SY_SearchData

cIndexFieldEntityKey$, cIndexFieldEntityName$, cIndexFieldDocKey$, cIndexFieldDocData$, cIndexFieldDocStored$, cDefaultFieldSep$, cIndexName$, cIndexAlternateSep$, EntityName$, LastSearchValue$, RebuildMsg$, ResultCount, SearchResultLimit

Methods inherited from: SY_SearchData

AdvancedSearch(), BuildIndex(), CheckBuildLockFile(), CheckIndexData(), CreateIndex(), DeleteDocument(), GetDataIOL$(), GetIndexName$(), GetIndexPassword$(), GetMlacExpressions(), GetResultsFormat$(), GetResultsIOL$(), GetStoredIOL$(), GetStoredValue$(), IsIndexEncrypted(), IsIndexUpdateInProgress(), MarkIndexRebuildRequired(), OpenIndex(), ResetIndex(), ReturnSearch(), SearchIndex(), SetEntityKeyValue(), SetEntityName(), SetSkipProgessBar(), UpdateDocument(), FreeIndexDocumentObjects(), GetEntityKeyValue$(), InitSearchObject(), IsRebBuildRequired(), ShowProgressBar(), TranslateIndexData$(), TranslateSearchData$(), UpdateIndex(), UpdateProgressBar(), WriteBuildIndexLog()