summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2014-06-10 11:25:38 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2014-06-10 11:25:56 (GMT)
commit95674a16b316458c98f8181724e96579d76a0913 (patch)
tree500e7c5c416c564b392de3ead8e4129f64b26fde
parentc81459df504b8ca7dcb286e388256f1ac7977f4f (diff)
downloadcollective.solr-95674a16b316458c98f8181724e96579d76a0913.zip
collective.solr-95674a16b316458c98f8181724e96579d76a0913.tar.gz
collective.solr-95674a16b316458c98f8181724e96579d76a0913.tar.bz2
mangle searches for all _as_text indexes (#4668)HEADmaster
-rw-r--r--src/collective/solr/mangler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/collective/solr/mangler.py b/src/collective/solr/mangler.py
index 1fa9bd1..c682e71 100644
--- a/src/collective/solr/mangler.py
+++ b/src/collective/solr/mangler.py
@@ -149,7 +149,7 @@ def mangleQuery(keywords, config, schema):
if key == 'SearchableText':
keywords[key] = mangleSearchableText(value, config)
continue
- if key == 'Title':
+ if key == 'Title' or key.endswith('_as_text'):
keywords[key] = mangleTitle(value, config)
continue
if key in epi_indexes: