sharepoint search using rest api -


i doing search in sharepoint 2013 using rest api. working fine. when enter search term in search text box, crawls through whole content of site , shows pages in result contain search term. possible crawl through part of pages(e.g body content, leaving header , footer) , through page names only?

i got answer. put class "noindex" on element don't want appear in search result. in case, put class "noindex" on divs containing header, footer , menuholder.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -