We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11563
    • 4 Posts
    Hi all,

    how can I keep the ajaxSearch snippet from considering the page description for the search result?

    Thanks!
      • 5811
      • 1,717 Posts
      by using the whereSearch parameter. e.g: &whereSearch=`content:pagetitle,longtitle,content`

      by default: &whereSearch=`content,tv` and by default all the text fields are searchable.

      ---- &whereSearch : [comma separated list of key | content,tv] (optional)
      define in which tables the search occurs
      by default in documents and TVs
      other predefined key: jot, maxigallery
      by default all the text fields are searchable but you could specify the fields like this:
      whereSearch=`content:pagetitle,introtext,content|tv:tv_value|maxigallery:gal_title`
        • 11563
        • 4 Posts
        Thanks, that did it. I tried but I didn’t grasp the wiki page on this.