2

I have a list of files in a Matrix field. here is a screenshot of it: http://imgur.com/ylWosZ2

So we have a file_title of 'Form 1' and when I search for Form I get the EE error page that says no Results Found. Even when searching for Form 1 verbatim I get the same result.

Just to be concise here is the code for the search box:

{exp:search:simple_form search_in="everywhere" result_page="site/search-results" status="not closed" where="all" show_expired="yes" show_future_entries="yes"} 
                <input type="image" src="/img/search-input.jpg" alt="Hunt" class="button" />
                <input type="text" name="keywords" id="header_s" class="text" maxlength="100" /> 
            {/exp:search:simple_form}

Any help would be greatly appreciated.

7
  • If you switch this to a textarea, does it find it? Just some quick, basic troubleshooting. – Lisa Jan 25 '13 at 20:11
  • There is no listing of textarea under the Wygwam items - just: Date,File,Playa,P&T Checkboxes,P&T Dropdown,P&T List,P&T Multiselect,P&T Pill,P&T Radio Buttons,P&T Switch,SafeCracker File,StructureFrame,Text,Wygwam – gregwhitworth Jan 25 '13 at 20:16
  • Text is the same thing as textarea in Matrix as long as you check "multiline" – Jean St-Amand Jan 25 '13 at 21:13
  • Will checking that box have any adverse effects on the content already stored there? – gregwhitworth Jan 25 '13 at 21:44
  • 2
    For the record, this is a Matrix field, not a WYGWAM field. Can you edit your question? – Anna_MediaGirl Jan 26 '13 at 4:19
3

Matrix’s “Is col searchable?” setting doesn’t take effect until you re-save your entries. If you’ve got a lot of entries, check out this script which will loop through all of your entries and re-save them for you.

0
1

First thing is to add the channel="" parameter to your search tag with the short name of the channel or channels that needs to be searched.

Other things to check:

  1. Is the entry containing this data set to closed?
  2. Does the entry containing this data have an expiration date set that has passed?
  3. Does the entry containing this data have an entry date that is set for the future?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.