Page Crawler file size not same.

pankaj saxena asked on November 30, 2022 07:05

Hi Team,

I'm working on the page crawler based search and checked that the file size of the .CFS file is different in MVC and CMS.

So need to know why the file size is different, based on the difference the search result not same.

Attaching the Screenshot: https://ibb.co/9ZxZ3hv

Recent Answers


Dmitry Bastron answered on November 30, 2022 08:17

Hi Pankaj,

When Kentico admin rebuilds the search index these files then are synchronized via web farms. Can you see any web farm tasks stuck in Web Farms application? Does rebuilding the index manually resolve your issue?

0 votesVote for this answer Mark as a Correct answer

pankaj saxena answered on November 30, 2022 08:21

Hi Dmitry,

As per the Kentico Documentation related page crawler I'm customized the page content, so after the customization the file size of the _*.cfs file in CMS is garneted around 147KB but the same file generated in 177KB.

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on November 30, 2022 08:41

This has been already discussed here. The web farm sync just creates a task for each web farm server and then, each app builds its own index files. So, the file size and file count can be different and it is by design.
Then, when it comes to different search results - I doubt that the live site app search code has 100% the same search setup - mode, condition, search options, etc. as the search preview. There are dozens of variables affecting this. Moreover, at the top of the search preview is a banner saying that it is really a basic search just to test whether there are any data indexed or not and if yes, what data are approximately in the index. You cannot put equal sign between the search preview and your live site app search.

0 votesVote for this answer Mark as a Correct answer

Dmitry Bastron answered on November 30, 2022 08:44

Have you done your customization only for CMS solution, or for both CMS and MVC? Try implementing your customization for both solutions.

0 votesVote for this answer Mark as a Correct answer

pankaj saxena answered on November 30, 2022 11:54

Hi Juraj & Dmitry,

Now I have resolve my search issue using the page crawler based search. These step I have followed.

  1. Creating the page crawler based search and assign the search key on the page.
  2. Customized the search content on the CMS writing Customizing how crawlers process page content.
  3. Same done on MVC updating the Global.asax.cs file so cms and mvc both file size is be same now.
0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.