ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Inconsistent search results

December 29, 2010 12:19am

Subscribe [2]
  • #1 / Dec 29, 2010 12:19am

    gaweee

    9 posts

    Hi I have problem with the search module.

    It gives me unpredictable results;
    when there are results, sometimes they give me the results page with the results, or error page as the attached image,
    when there is no results, the no-result page sometimes shown with the keyword I typed, sometimes with empty keyword, sometimes the error result as the attached image.

    I’m using the following code… earlier I use simple_form but I still have the same problem.

    {exp:search:advanced_form result_page="site/search-results" no_result_page="site/no-search-results" where="any" show_future_entries="yes" channel="static-pages|1-about-us|2-courses-admissions|3-online-mobile-distance|4-certification-development|5-international-students|6-business-partners|7-resources-tools|courses|news|faqs|faq-pages|calendar_events"}
                        <fieldset>
                            <label for="keywords">Search</label>
                            <div class="text"><input type="text" id="keywords" name="keywords" value="Enter keyword(s) here"></div>
                            <input type="submit" value="Search" class="submit">
                        </fieldset>
                    {/exp:search:advanced_form}

    Second question, I have put my entries custom field as searchable but the search module only searches the title and not the fields.
    Any suggestion what I should do to make my custom fields searchable?

    Thanks a bunch!

  • #2 / Dec 29, 2010 9:16am

    Sue Crocker

    26054 posts

    Hi, gawee. You’re missing one additional setting:

    See: EEDocs:// Search_in Parameter

    search_in=“everywhere” would work for you .. Does that help?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases