I am trapped in issues with bucketed item as below.
Details: This is Sitecore PaaS Scaled environment.
We have bucketed media items when we create any item those are getting created in CM.
We can see those items reflecting in CM role.
We are successfully able to Publish those to CD(Web database).
Now the issues come which is these item is not coming and showing up on the page.
We have a caching situation with Clear cache on Index update on this particular rendering.
Quick help will boost my confidence to work on this.
Adding more information as Micheal mentioned
We have code like below and rendering has the logic of filtering this with date time to show specific items.
public List<T> GetAllItemsFromBucket(string bucketPath)
{
var index = ContentSearchManager.GetIndex("{index name}");
using (var context = index.CreateSearchContext())
{
var results = context.GetQueryable<T>().Where(x => x.Path.StartsWith(bucketPath)).ToList(); return results;
}
}
the thing is this was working before it stopped working after Sitecore added patch for CD servers for manual indexing strategy.
adding to the above. which I believe causing the issue. So my question is how to mitigate this? given the condition, we can't change indexing strategy