I'm currently using find-item on Sitecore PowerShell

Find-Item -Index sitecore_master_index -Criteria @{Filter = "Equals"; Field = "recipe id"; Value = "Recipe_Lambada"}, @{Filter = "DescendantOf"; Field = $SiteItem}

Somehow, suddenly it stopped returning anything on the find item. I am sure this was working before as I have used it earlier.

Assuming Items do exist, am i doing something wrong here for find-item to be used?

I have tried reindexing the sitecore_master_index, published the templates of the item. I tried searching for the template and it seems to give me back results. What seems to be the problem here is that the field is not being seen.

Is there anything else that I miss? Or is there something else I can check?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.