On Thu, Mar 27, 2014 at 8:56 AM, Andreas Owen ao...@swissonline.ch wrote:
when i select a facet in thema_f all the others in the group disapear
OK, I see you're excluding filters tagged with thema_f when faceting
on the thema_f field.
str name=facet.field{!ex=thema_f}thema_f/str
Now all you should need to do is tag the right filter with that when
you select the facet.
fq={!tag=thema_f}thema_f:1_Beratung
http://wiki.apache.org/solr/SimpleFacetParameters#Multi-Select_Faceting_and_LocalParams
-Yonik
http://heliosearch.org - solve Solr GC pauses with off-heap filters
and fieldcache
but
the other facets keep the original findings. it seems like it should work.
maybe the underscore is the wrong char for the seperator?
example documents in index
doc
arr name=thema_f
str1_Produkte/str
/arr
str name=iddms:381/str
/doc
doc
arr name=thema_f
str1_Beratung/str
str1_Beratung_Beratungsportal PK/str
/arr
str name=iddms:2679/str
/doc
doc
arr name=thema_f
str1_Beratung/str
str1_Beratung_Beratungsportal PK/str
/arr
str name=iddms:190/str
/doc
solrconfig.xml
requestHandler name=/select2 class=solr.SearchHandler
lst name=defaults
str name=echoParamsexplicit/str
int name=rows10/int
str name=defTypesynonym_edismax/str
str name=synonymstrue/str
str name=qfplain_text^10 editorschoice^200
title^20 h_*^14
tags^10 thema^15 inhaltstyp^6 breadcrumb^6 doctype^10
productsegment^5 productgroup^5 contentmanager^5 links^5
last_modified^5 url^5
/str
str name=bq(expiration:[NOW TO *] OR (*:*
-expiration:*))^6/str
str name=bfdiv(clicks,max(displays,1))^8/str !-- tested
--
str name=dftext/str
str name=fl*,path,score/str
str name=wtjson/str
str name=q.opAND/str
!-- Highlighting defaults --
str name=hlon/str
str name=hl.flplain_text,title/str
str name=hl.fragSize200/str
str name=hl.simple.prelt;bgt;/str
str name=hl.simple.postlt;/bgt;/str
!-- lst name=invariants --
str name=faceton/str
str name=facet.mincount1/str
str name=facet.missingfalse/str
str name=facet.field{!ex=inhaltstyp_s}inhaltstyp_s/str
str name=f.inhaltstyp_s.facet.sortindex/str
str name=facet.field{!ex=doctype}doctype/str
str name=f.doctype.facet.sortindex/str
str name=facet.field{!ex=thema_f}thema_f/str
str name=f.thema_f.facet.sortindex/str
str
name=facet.field{!ex=productsegment_f}productsegment_f/str
str name=f.productsegment_f.facet.sortindex/str
str
name=facet.field{!ex=productgroup_f}productgroup_f/str
str name=f.productgroup_f.facet.sortindex/str
str name=facet.field{!ex=author_s}author_s/str
str name=f.author_s.facet.sortindex/str
str
name=facet.field{!ex=sachverstaendiger_s}sachverstaendiger_s/str
str name=f.sachverstaendiger_s.facet.sortindex/str
str
name=facet.field{!ex=veranstaltung_s}veranstaltung_s/str
str name=f.veranstaltung_s.facet.sortindex/str
str
name=facet.field{!ex=kundensegment_aktive_beratung}kundensegment_aktive_beratung/str
str
name=f.kundensegment_aktive_beratung.facet.sortindex/str
str
name=facet.date{!ex=last_modified}last_modified/str
str name=facet.date.gap+1MONTH/str
str name=facet.date.endNOW/MONTH+1MONTH/str
str
name=facet.date.startNOW/MONTH-36MONTHS/str
str name=facet.date.otherafter/str
/lst
/requestHandler
schema.xml
fieldType name=text_thema class=solr.TextField
positionIncrementGap=100
!-- analyzer
tokenizer class=solr.PatternTokenizerFactory
pattern=_/
/analyzer--
analyzer type=index
tokenizer class=solr.KeywordTokenizerFactory/
/analyzer
analyzer type=query
tokenizer class=solr.KeywordTokenizerFactory/
/analyzer
/fieldType