Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

EpiServer Find indexing Nav bar and full HTML markup of page

$
0
0

Hi,

It appears that our FIND is Indexing the full HTML content of the page, for example:

ul class=\"main-nav-l2 main-nav-l2--dropdown-menu\">\r\n<li class=\"main-nav-l2__item main-nav-l2__item--dropdown\"><a class=\"dropdown-toggle\" data-toggle=\"dropdown\" role=\"button\" aria-haspopup=\"true\" href=\"https://XXXXX/inspire/information-for-employers/\">

So, if I search for Dropdown then it returns all the pages on the site.

In my code I can filter by PageType but this has no effect.

In the CMS if I go to the FIND > Overiew section and filter by PageType and search for "DropDown" it brings back the same number of results as does my code so I know my code is working ok.

How can I stop FIND from indexing the full page mark up - or do I still need to add more filters to my code?

Im currently using ITypeSearch - I need to seach by different query filters.

Jon


Viewing all articles
Browse latest Browse all 6894

Trending Articles