Craft Pro 2.5.2761 (no plugins)
I've got a basic search form, and on my results template, the following:
{% set query = craft.request.getParam('q') %}
{% set articles = craft.entries({
section: 'article',
order: 'score',
search: {
attribute: 'keywords',
query: query,
subLeft: true,
subRight: true
}
}) %}
Which works as expected (I get results when the query term matches the keyword of an entry).
However, I want my search to encompass not just keywords, but also the title and the body field.
[edit - deleted part of my post because it was misleading as to the real problem]
{% set var = {'key1': 'value1', 'key2': 'value2'} %}
. Try this to set an array{% set var = ['value1', 'value2'] %}
, but I don't actually expect this to work. See my answer below.