Siliconetics Developer Center 
(609) 7607027
admin@srcsb.com
Untitled Document
SearchSearch:
ClassMethodHash


DESCRIPTION:
Preparing the text for build-in search engine.

ClassCLASS: CFBSocket

PROTOTYPE(S):
int Hash(CTag Record, LPCSTR pText, int IndexType = INDEXID_GENERAL_SEARCH);


ARGUMENT(S):
CTag RecordA tag containing record type and id.
LPCSTR pTextThe text to be hashed.
int IndexTypeThe identity for indexs to be used to store the hashed words.


RETURN VALUE:
This function always returns 0.

EXAMPLE:




COMMENT:
This function will hash every words in the given text and insert into an index list as reference to the given record type and id. Hashed words will be stored in index list with type MRT_SEARCH_INDEX.
Untitled Document
SearchSearch: