We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Pro Searching returning no results.

How Do I?

From EE Slack's avatar
From EE Slack
185 posts
one year ago
From EE Slack's avatar From EE Slack

Get pro search to work. I must me missing something simple

{exp:pro_search:form required="keywords" result_page="customerportal/search-results"}
    <div>
        <input type="search" name="keywords" id="keywords" placeholder="Search messages"><button type="submit">Submit</button>
    </div>

    {if pro_search_keywords_missing}Please enter a keyword{/if}

    {/exp:pro_search:form}

Search results page

{exp:pro_search:results
                query="{segment_3}"
                channel="message"
                limit="5"
              }
<a href="http://{auto_path}">{title}</a>
{if pro_search_no_results}
    
     No results for <strong>{pro_search_keywords}</strong>.
    
   {/if}
   {/exp:pro_search:results}

I just keep getting the No results… message.

Any thoughts where to look on this?

       
From EE Slack's avatar
From EE Slack
185 posts
one year ago
From EE Slack's avatar From EE Slack

A bit of a group effort, but the issue turned out to be that while a collection had been created and the fields in the field settings were marked as searchable, in the Pro Search settings for the collection, the fields didn’t have a search value above zero, so they weren’t being included.

It was also noted that sometimes the query parameter isn’t as useful on search results as it is for when you want to output more like the channel entry tag.

Interested in learning more solutions or want to get to know other EE users? Read more about joining the slack here! Join Our Slack!

       
Winifred's avatar
Winifred
10 posts
one year ago
Winifred's avatar Winifred

Maybe it was an error of searching

       
Ablight's avatar
Ablight
1 posts
one year ago
Ablight's avatar Ablight

Thanks for sharing! water sort

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.