All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Newbie getting no results and at a loss

Jonathan Sessions 16 Jan 2013 23:53 problem, complete

I think I might be missing something, but I cannot get Low Search to return any results.

I created a collection. Indexed it. 55 entries right now. All that worked.

Created a search form:
(BTW with the site parameter I have used the number and name)

{exp:low_search:form site="1" collection ="articles" search_mode="all" result_page="articles/search"}
Search Articles


Search


{/exp:low_search:form}

and started with the basic results tag and I get NO Results.

{exp:low_search:results query="{segment_3}" limit="10"}
{if count == 1}

    {/if}
  1. {title}

  2. {if count == total_results}
{/if}
{if no_results}No search results{/if}
{/exp:low_search:results}

What am I doing wrong???
I have a feeling I'm missing something small, but I'm at a loss.

Replies

  1. Jonathan Sessions 16 Jan 2013 23:54

    Added some code tags

    I think I might be missing something, but I cannot get Low Search to return any results.

    I created a collection. Indexed it. 55 entries right now. All that worked.

    Created a search form:
    (BTW with the site parameter I have used the number and name)

    {exp:low_search:form site="1" collection ="articles" search_mode="all" result_page="articles/search"}
    <h2 class="sideheading">Search Articles</h2>
    <p class="search">
    <input type="search" name="keywords" size="42" maxlength="320" id="keywords" />
    <button type="submit">Search</button>
    </p>
    {/exp:low_search:form}


    and started with the basic results tag and I get NO Results.


    {exp:low_search:results query="{segment_3}" limit="10"}
    {if count == 1}<ol>{/if}
    <li><a href="{comment_url_title_auto_path}">{title}</a></li>
    {if count == total_results}</ol>{/if}
    {if no_results}No search results{/if}
    {/exp:low_search:results}


    What am I doing wrong???
    I have a feeling I'm missing something small, but I'm at a loss.

  2. Jonathan Sessions 17 Jan 2013 00:11

    Just created a whole new page to see if something else was conflicting.
    Still no results. I'm searching for words in titles and nothing.


    <html>
    <body>
    {exp:low_search:form site="1" collection="articles" search_mode="all" result_page="site/test"}
    <fieldset>
    <label for="keywords">Keywords</label>
    <input type="search" name="keywords" id="keywords" />
    <button type="submit">Search</button>
    </fieldset>
    {/exp:low_search:form}

    {exp:low_search:results query="{segment_3}" limit="10"}
    {if count == 1}<ol>{/if}
    <li><a href="{comment_url_title_auto_path}">{title}</a></li>
    {if count == total_results}</ol>{/if}
    {if no_results}No search results{/if}
    {/exp:low_search:results}

    </body>
    </html>

  3. Jonathan Sessions 17 Jan 2013 00:44

    Got it working. I had to uninstall and reinstall the module and it started working.

  4. Low 17 Jan 2013 08:49

    Glad you got it working in the end! :)