bFullTextResultsAreCached - Solution Sites Routine

This function checks whether the specified free-text search phrase is cached.

Definition

Function bFullTextResultsAreCached(
  sSearchPhrase,
  byRef htmCachedResult,
  byRef sCacheKey)

Parameters

  • sSearchPhrase
    A string containing the search phrase.
  • htmCachedResult
    A string containing the HTML cached results.
  • sCacheKey
    A string containing the cache key.

Return Value

A Boolean that indicates whether the phrase is cached. True indicates the phrase is cached. False indicates either the phrase is not cached or that free-text search is not installed.

Defined in File

search.asp

Routines Called

LookupCachedFragment

mscsUserCatalogsetID

RenderText

Called By

Main (search.asp)

Remarks

The cache key consists of the catalog ID concatenated with the search phrase.

If free-text search is not installed, the htmCachedResult parameter contains an error message and the sCacheKey parameter is an empty string.

Copyright © 2005 Microsoft Corporation.
All rights reserved.