<p>Craft 3.1.2 added an index-assets console command that you can use instead of the web-based utility. (#3595)</p>

<p>Sounds like that will work better for you :)</p>

<p>Run this to learn more about it:</p>

<pre><code>./craft index-assets --help
</code></pre>

CC BY-SA 4.0
2019-04-29T07:41:59.867Z
Alas I'm still running Craft 2 and at this time can't do anything about an upgrade. But thank you very much for taking the time to answer.
Emma Swann
CC BY-SA 4.0
2019-04-29T02:02:06.597Z
2019-04-29T19:34:47.240Z
2019-04-29T19:34:47.240Z
Priti Rathod
<p>After some issues with our host, our site has returned - but the search function hasn't. </p>

<p>Any search on either back or front end brings zero results - when the entries which fit the criteria do exist.</p>

<p>Each time I try and rebuild search indexes, I get a timeout, and my browser gives me an error - meaning I'd have to try again.</p>

<p>Any ideas of what I can try would be much appreciated.</p>

<search>
Rebuild Search Indexes timing out
# Rebuild Search Indexes timing out

(Asked by: username_0 on 2019-04-27)

After some issues with our host, our site has returned - but the search function hasn't.

Any search on either back or front end brings zero results - when the entries which fit the criteria do exist.

Each time I try and rebuild search indexes, I get a timeout, and my browser gives me an error - meaning I'd have to try again.

Any ideas of what I can try would be much appreciated.

**Tags:** search


---

## 1 answers

### Answer by username_1 on 2019-04-29. Score: 1

Craft 3.1.2 added an index-assets console command that you can use instead of the web-based utility. (#3595)
Sounds like that will work better for you :)
Run this to learn more about it:
./craft index-assets --help

> **Comments:**
> **username_0**: Alas I'm still running Craft 2 and at this time can't do anything about an upgrade. But thank you very much for taking the time to answer.  

---

