[TYPO3-Solr] changed facetting behavior after update

Alexander Wende a_wende at web.de
Mon Apr 27 11:07:40 CEST 2015


Hi,

after updating from solr 3.0.0-dev to 3.1.0-dev I noticed that the facetting behaviour has changed.
I have two queryGroups facets (category and type). 
Behavior before update:
When the user selects an facet option, the other facet options will be reduced. It is impossible to to select a non existing combination of options.

After updating, the selection of an facet option hasn't any effect on an other facet option. The count doesn't change and you could select impossible combination of facet options.

Here is my faceting configuration ( that worked before updating):
faceting{
		    singleFacetMode = 0
		    keepAllFacetsOnSelection = 1
		    showEmptyFacets = 1
		    removeFacetLinkText = @facetLabel: @facetText
		    facets{
		        category{
		            minimumCount = 0
		            keepAllOptionsOnSelection = 0
		            selectingSelectedFacetOptionRemovesFilter = 1
                    singleOptionMode = 0
                    operator = OR
                    showEvenWhenEmpty = 1
		            label = Kategorie
		            field = label_stringM
		            type = queryGroup
		            queryGroup{
		                10{
		                    query = Gruppe1
		                }
		                20{
		                    query = Gruppe2
		                }
		                30{
		                    query = Gruppe3
		                }
		            }
                        renderingInstruction = CASE
                        renderingInstruction {
                            key.field = optionValue

                            default = TEXT
                            default.field = optionValue

                            10 = TEXT
                            10.value = Gruppe 1

                            20 = TEXT
                            20.value = Gruppe2

                            30 = TEXT
                            30.value = Gruppe3
                        }
		        }

                type {
                    keepAllOptionsOnSelection = 0
                    selectingSelectedFacetOptionRemovesFilter = 1
                    showEvenWhenEmpty = 1
                    singleOptionMode = 0
                    operator = OR
                    label = Inhaltsart
                    field = type
                    type = queryGroup
                    queryGroup{
                        10{
                            query = tx_solr_file
                        }
                        20{
                            query = tx_some_movie_table
                        }
                        30{
                            query = tx_news_domain_model_news
                        }
                        40{
                            query = pages
                        }
                        50{
                            query = tx_some_event_table
                        }



                    }
                renderingInstruction = CASE
                renderingInstruction {
                    key.field = optionValue

                    default = TEXT
                    default.field = optionValue

                    10 = TEXT
                    10.value = Dokument

                    20 = TEXT
                    20.value = Film

                    30 = TEXT
                    30.value = Nachricht

                    40 = TEXT
                    40.value = Seite

                    50 = TEXT
                    50.value = Termin
                    }
                }

	}
}


More information about the TYPO3-project-solr mailing list