ezsystems/ezfind — pull request #53 by lafka (2012-06-08 14:33:53+00:00)
Title: Add support for localparams for queries

Add support for local params as described in http://wiki.apache.org/solr/LocalParams

This allows for tagging queries for faceting ( http://wiki.apache.org/solr/SimpleFacetParameters#Multi-Select_Faceting_and_LocalParams )

```smarty
{def $search_data = fetch(
'ezfind', 'search', hash(
'query', '*:*',
'class_id', 'artwork',
'limit', $searchCountData.SearchCount,
'facet', array(
hash(
'field', '{!ex=am\}artwork/medium',
),
),
'filter', $searchFilter,
'group', hash(
'field', '{!tag=am\}artwork/medium',
'truncate', 'true',
'main', 'true',
),
)
)
}
```