<p>Like stated in the <a href="https://craftcms.com/docs/searching" rel="nofollow noreferrer">docs</a> you have to place <code>*</code> around your search term</p>

<pre><code>{% set results = craft.entries({
    search: {
        query: '*sect*',
        subLeft: true,
        subRight: true                
    }
}) %}
</code></pre>

<p>Note: it would be easier to help you if you show us your <code>query</code> variable</p>

CC BY-SA 3.0
2018-03-26T13:36:10.190Z
2018-03-26T13:36:10.190Z
Robin Schambach
<p>Suppose there are three Entries:</p>

<ul>
<li>Entry One</li>
<li>Section One</li>
<li>Channel One</li>
</ul>

<p>I need to get <code>Section One</code> in result when I search <strong>Sect</strong>. Is this possible ? I am using </p>

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

<p>to get the results. But keyword <code>sect</code> doesn't return any result.</p>

<entries><search>
How to get a result from search even if the search query contains a part of title?
# How to get a result from search even if the search query contains a part of title?

(Asked by: username_0 on 2018-03-26)

Suppose there are three Entries:

Entry One
Section One
Channel One

I need to get Section One in result when I search Sect. Is this possible ? I am using 
{% set entries = craft.entries.search(query) %}

to get the results. But keyword sect doesn't return any result.

**Tags:** entries, search


---

## 1 answers

### Answer by username_1 on 2018-03-26. Score: 2

Like stated in the docs you have to place * around your search term
{% set results = craft.entries({
    search: {
        query: '*sect*',
        subLeft: true,
        subRight: true                
    }
}) %}

Note: it would be easier to help you if you show us your query variable


---

