Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm using ezSearch straight out of the box install and everything is working absolutely fine apart from one issue.
The results page is showing old versions of a page
So I had a page called 'About The Company' Which i later renamed to 'About Us'
Searching for 'About' returns both pages.
About Us (the current version) has a href About The Company is wrapped in an empty tag
I've tried wrapping the result in ezSearh Macro Partial as so...
@helper RenderContentResult(SearchViewModel model, IPublishedContent result) { <div class="ezsearch-result"> @if (result.Url != "") { <h2><a href="@result.Url">@result.Name</a></h2> <p class="result-url">@result.UrlWithDomain()</p> foreach (var field in model.PreviewFields.Where(field => result.HasValue(field))) { <p>@Highlight(Truncate(Umbraco.StripHtml(result.GetPropertyValue(field).ToString()), model.PreviewLength), model.SearchTerms)</p> break; } } </div> }
But this is not the answer.
Any thoughts?
Hi Ajay
My advise would be to
1) Rebuild the Examine Index. You can search for the Examine Dashboard package under Projects, which is easy to do within Developer dashbaord UI.
2) Delete /backup your umbraco.config file in \App_Data and relaunch the website. This will re-create the XML file from scratch.
post your end result here so others can benefit, if it solves the issue.
Hi Ajay,
Perhaps it´s the examine index that is not up to date, what you could try is to re-build the index.
If you go the developer section in the Umbraco backoffice when you should see a examine management tab, on the right side.
Hope it helps, by updating the index.
/Dennis
Tried your approach.
Moved the umbraco.config file out of my project (to the desktop) Rebuild the Internal and External Indexes.
Search is showing the same results, however in reverse order now (so the broken link is now first which is even worse!)
How about the App_Data/TEMP directory?
How did you resolve this as I have the same issue.
Thanks,
-Kyle
Hi Kyle,
Can you try to delete the umbraco.config from the App_Data directory and the republish the whole site, then the umbraco.config file will be generated again, with the published content.
All the best,
Sorry should have mentioned that in my above post that I deleting and republishing did not resolve the issue.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Results page showing Old versions of a page
I'm using ezSearch straight out of the box install and everything is working absolutely fine apart from one issue.
The results page is showing old versions of a page
So I had a page called 'About The Company' Which i later renamed to 'About Us'
Searching for 'About' returns both pages.
About Us (the current version) has a href About The Company is wrapped in an empty tag
I've tried wrapping the result in ezSearh Macro Partial as so...
But this is not the answer.
Any thoughts?
Hi Ajay
My advise would be to
1) Rebuild the Examine Index. You can search for the Examine Dashboard package under Projects, which is easy to do within Developer dashbaord UI.
2) Delete /backup your umbraco.config file in \App_Data and relaunch the website. This will re-create the XML file from scratch.
post your end result here so others can benefit, if it solves the issue.
Hi Ajay,
Perhaps it´s the examine index that is not up to date, what you could try is to re-build the index.
If you go the developer section in the Umbraco backoffice when you should see a examine management tab, on the right side.
Hope it helps, by updating the index.
/Dennis
Tried your approach.
Moved the umbraco.config file out of my project (to the desktop) Rebuild the Internal and External Indexes.
Search is showing the same results, however in reverse order now (so the broken link is now first which is even worse!)
How about the App_Data/TEMP directory?
How did you resolve this as I have the same issue.
Thanks,
-Kyle
Hi Kyle,
Can you try to delete the umbraco.config from the App_Data directory and the republish the whole site, then the umbraco.config file will be generated again, with the published content.
All the best,
/Dennis
Sorry should have mentioned that in my above post that I deleting and republishing did not resolve the issue.
is working on a reply...