Hash
DESCRIPTION: Preparing the text for build-in search engine. |
CLASS: CFlitBase
PROTOTYPE(S):int Hash(CTag Record, LPCSTR pText, int IndexType = INDEXID_GENERAL_SEARCH); |
ARGUMENT(S):CTag Record | A tag containing record type and id. | LPCSTR pText | The text to be hashed. | int IndexType | The index id to be used to store the hashed words. |
RETURN VALUE:
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. |
|