I have set up a staging site alongside production just like the docs describe (Craft Solo 3.4.24). I have copied the "Site Settings" for all sections and set the "Propagation Method" to "Save entries to all sites enabled for this section".

Because Craft had trouble replicating all entries in one queue job I did this manually via CLI using ./craft resave/entries --type=<type> and ./craft resave/entries --section=<section>. This worked beautifully.

But I have an issue with the site search. Locally, when I search e.g. for 'citizen', I get the expected results (count is 60). Same on production. But on stage I get only 2 results back.

When I add .site('*') to the query in Twig I get 120 results back, so the staging site does have all entries.

It appears as if the search index on stage is not complete? Is there anything I can do to refresh it?

Thank you!

1 Answer 1


The resave/entries command has an optional parameter to rebuild the search indices - may be worth a shot:

./craft resave/entries --update-search-index


  • Thank you, that did the trick!
    – Crafty Cat
    Commented Aug 28, 2020 at 5:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.