<p>Sure, just remove the <code>section</code> parameter altogether.</p>

<pre><code>{% set entries = craft.entries.search(query).order('score') %}
</code></pre>

CC BY-SA 3.0
2016-11-30T10:48:32.413Z
2016-11-30T10:48:32.413Z
carlcs
<p>Right know for my search engine i am using:</p>

<pre><code>{% set entries = craft.entries.section('pages, references, trainingsList, maps, trendsAndInnovation, currentTopics).search(query).order('score') %}
</code></pre>

<p>So now if i would add another section i have to add it to the code as well of course.
Is there a way to directly search for everything on the page?</p>

<p>Thanks for the support :)</p>

<search>
Search everywhere
# Search everywhere

(Asked by: username_0 on 2016-11-30)

Right know for my search engine i am using:
{% set entries = craft.entries.section('pages, references, trainingsList, maps, trendsAndInnovation, currentTopics).search(query).order('score') %}

So now if i would add another section i have to add it to the code as well of course.
Is there a way to directly search for everything on the page?
Thanks for the support :)

**Tags:** search


---

## 1 answers

### Answer by username_1 on 2016-11-30. Score: 4 | Accepted answer

Sure, just remove the section parameter altogether.
{% set entries = craft.entries.search(query).order('score') %}


---

