[TYPO3-Solr] Setting a boolean value if a category is present

Søren Malling soren.malling at gmail.com
Wed Oct 23 16:00:02 CEST 2013


Hi,

I'm indexing a bunch of pages records with a lot of sys_category attached.

In the search result, I will need to attach a class to the search results
if a certain sys_category is used.

The categories are indexed with the configuration from here

gist.github.com/Mabahe/6038018

ATM I can't use any IF: condition to see if the category is present, so
instead I tried configuration like this to index a boolean if the category
is present

https://gist.github.com/sorenmalling/7119271

No matter what, I get indexed the value FALSE - can someone try and tell me
what is wrong, I can't seem to (std)wrap my head around this issue

Cheers

Søren


More information about the TYPO3-project-solr mailing list