I’m building my first EE site (v2.1) and am having trouble getting my search results to display correctly. Simple Search fetches the correct results, but on the results page some of the entries show content in the excerpt and others don’t. This site has hundreds of pages, most of which are identical except for the channel and entry, and I can’t figure out what is different between the ones that work and the ones that don’t. Here are things I’ve checked and eliminated from consideration:
-status open/closed is not an issue, since all are open
-future/expired dates are not an issue, since no date fields are in use
-channel administration prefs are set to show the correct field for {excerpt}
-if I display {customfieldname} instead of {excerpt}, the results show up correctly, but I can’t use this method because a) there’s a lot of content in the pages, so the results would be too bulky and b) I need to use {excerpt} to control other functionality, like context, length, highlighting terms, etc.
Here’s a live example:
1. Go to http://cco.vrafoundation.org/ and search on “art”
2. This should return 147 results. Scroll down the first results page until you see a series of Examples 140-152 that include excerpts with highlighted search terms.
3. Scroll down farther until you see Examples 153-159, which display only an ellipsis, no excerpt.
4. If you scroll to the bottom of this page, or continue on to the other two pages of results, you’ll see about a hundred other examples of results with no excerpts.
The content for all these Example pages was entered at the same time, using the same methods as far as I’m aware, so I can’t see why they aren’t behaving in exactly the same way.
Note that I am using both Structure and Search v1.3 (key_search) module. I contacted support for the Search module and they think it’s an EE core config issue. I wouldn’t be surprised if they’re right, but I just can’t think of anywhere else to check. The answer is right on the tip of my brain but I can’t quite reach it, so any ideas or approaches would be greatly appreciated!