<p>I did a straight lift of the Craft3 <a href="https://docs.craftcms.com/v3/templating/examples/search-form.html" rel="nofollow noreferrer">Search Form example</a>.</p>

<p>It "works."  There are no errors.  But, it is not showing all results. I can type <code>F</code> and it works. I type <code>F-</code> and it works.  I type <code>F-15</code> and it does NOT work, even though the <code>F</code> and <code>F-</code> searches included <code>F-15</code> in the results. Any search with <code>F-XX</code>, <code>H-XX</code>, <code>MQ-XX</code> (where XX is a number such as 4, 9, 15,16 or 22)  fails to display the appropriate results.  It gets stranger.  <code>C-XX</code>, <code>A-XX</code>, <code>RC-XX</code>, and <code>HC-XX</code> WORK!!! And, these are the title fields. So, I can't figure out what is throwing things off.</p>

<p>My search input is ...</p>

<p><code>&lt;form action="{{ url('search/results') }}"&gt;
&lt;ul class="menu right"&gt;
    &lt;li&gt;&lt;input type="search" name="q" placeholder="Search"&gt;&lt;/li&gt;
    &lt;li&gt;&lt;button type="submit" class="button"&gt;Go&lt;/button&gt;&lt;/li&gt;
&lt;/ul&gt;</code></p>

<p>My Search Results are a straight lift from the Craft3 example.</p>

<p><a href="https://i.sstatic.net/PPjOl.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/PPjOl.png" alt="enter image description here"></a></p>

CC BY-SA 3.0
2018-04-14T23:35:54.657Z
Are you using MySQL or PostgreSQL?  Have you tried updating your search indexes and see if the results change? (under Utilities in the Control Panel)
Brad Bell
CC BY-SA 3.0
2018-04-16T15:41:53.613Z
@BradBell I am using MySQL. I just updated my search indexes.  The results did NOT change.  This one is vexing.
Hellyar
CC BY-SA 3.0
2018-04-16T17:39:54.257Z
Have you change anything of these or just going with the default? https://docs.craftcms.com/api/v3/craft-config-generalconfig.html#$defaultSearchTermOptions-detail
Brad Bell
CC BY-SA 3.0
2018-04-17T00:10:11.453Z
@BradBell  ...the only thing changed is the input, I do not have a value="Go",  I have a button class named "Go". ...everything else is exactly the same as the Craft 3 documentation .   The results were a straight copy and paste.
Hellyar
CC BY-SA 3.0
2018-04-17T17:46:13.420Z
Sorry, I meant the `defaultSearchTermOptions` config setting in your `craft/config/general.php` file.
Brad Bell
CC BY-SA 3.0
2018-04-30T21:49:06.580Z
@BradBell no, I did not change any of the defaultSearchTermOptions. ...but I did notice that this search issue is not unique to my search form, the Craft control panel search function has the same issue when I try to search entries from the list.  It behaves exactly the same.
Hellyar
<templating><search>
Search results missing items
# Search results missing items

(Asked by: username_0 on 2018-04-14)

I did a straight lift of the Craft3 [Search Form example](https://docs.craftcms.com/v3/templating/examples/search-form.html).

It "works." There are no errors. But, it is not showing all results. I can type `F` and it works. I type `F-` and it works. I type `F-15` and it does NOT work, even though the `F` and `F-` searches included `F-15` in the results. Any search with `F-XX`, `H-XX`, `MQ-XX` (where XX is a number such as 4, 9, 15,16 or 22) fails to display the appropriate results. It gets stranger. `C-XX`, `A-XX`, `RC-XX`, and `HC-XX` WORK!!! And, these are the title fields. So, I can't figure out what is throwing things off.

My search input is ...

`* Go`

My Search Results are a straight lift from the Craft3 example.

[![enter image description here](https://i.sstatic.net/PPjOl.png)](https://i.sstatic.net/PPjOl.png)

**Tags:** templating, search
> **Comments:**
> **username_1**: Are you using MySQL or PostgreSQL?  Have you tried updating your search indexes and see if the results change? (under Utilities in the Control Panel)  
> **username_0**: @BradBell I am using MySQL. I just updated my search indexes.  The results did NOT change.  This one is vexing.  
> **username_1**: Have you change anything of these or just going with the default? https://docs.craftcms.com/api/v3/craft-config-generalconfig.html#$defaultSearchTermOptions-detail  
> **username_0**: @BradBell  ...the only thing changed is the input, I do not have a value="Go",  I have a button class named "Go". ...everything else is exactly the same as the Craft 3 documentation .   The results were a straight copy and paste.  
> **username_1**: Sorry, I meant the `defaultSearchTermOptions` config setting in your `craft/config/general.php` file.  
> **username_0**: @BradBell no, I did not change any of the defaultSearchTermOptions. ...but I did notice that this search issue is not unique to my search form, the Craft control panel search function has the same issue when I try to search entries from the list.  It behaves exactly the same.  

---

## 0 answers

