Ektron Reference


>>Helping Users Navigate Your Web Site > Using Search > Understanding Search Server Controls > ProductSearch Model

ProductSearch Model

The Product Search Model contains the following properties. This information is provided for each product returned with search results.

Property Description Use with these controls

AdvancedQueryText

See Using the Advanced Query Text Parameter. ProductSearchController
ExactPhrase Sets an EXACT ORDER relationship among search terms. ProductSearchInputView
PageInfo

Display information about search result numbers, such as Displaying results 11 through 20 of 35.

    CurrentPageIndex - current page

    EndCount - number of results found

    NumberOfPages - number of results divided by results per page

    PageCount - The number of the page being viewed currently

    ResultCount - The number of the results returned for the search terms

IMPORTANT: The result count is only an estimate. The count becomes more accurate you get closer to the final page.

    ResultsPerPage - number of results displayed per page

    StartCount- one

ProductSearchResultsView
QueryText String used for searching

ProductSearchInputView,

ProductSearchResultsView

Results

Fields returned of ProductSearchResultsData. Display these inside a ListView or Repeater.

  • Catalog Number
  • ImageUrl
  • ListPrice
  • ProductID
  • SalePrice
  • SKU
  • Summary
  • Title
  • URL

ProductSearchResultsView

SearchType
  • Advanced
  • Basic
  • None
  • XmlSearch

ProductSearchInputView,

ProductSearchResultsView

State
  • initialized - search has not been run yet
  • no results - no search results were returned
  • search results - search results were returned
ProductSearchResultsView
WithAllWords Sets an AND relationship among search terms. ProductSearchInputView
WithAnyWord Sets an OR relationship among search terms. ProductSearchInputView
WithoutWords Sets a NOT relationship among search terms. ProductSearchInputView

Ektron Version 8.5, Doc. Rev. 2.0 (Dec. 2011)
Visit the
Ektron Dev Center at http://dev.ektron.com 1–866–4–EKTRON
Ektron Documentation, © 2011 Ektron, Inc.