Re: facet on two multi-valued fields

2016-03-03 Thread Jan Høydahl
Hi, BlockJoin with Parent/Child is your solution. See http://yonik.com/solr-nested-objects/ and https://cwiki.apache.org/confluence/display/solr/BlockJoin+Faceting -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 3. mar. 2016 kl. 10.35 skrev Andreas Hubold : > > Hi,

Re: facet on two multi-valued fields

2016-03-03 Thread Andreas Hubold
Hi, sorry, the subject may have been misleading. I want to get facet results for only one field (tagIds) but restrict the returned values to those with a matching tagDescription. Both multi-valued fields have the same order. Example docs id:"1" tagIds:["10","12","13"] tagDescriptions:["News

Re: facet on two multi-valued fields

2016-03-02 Thread Jan Høydahl
It makes no sense to facet on a “text_general” ananlyzed field. Can you give a concrete example with a few dummy docs and show some queries (do you query the tagDescription field?) and wanted facet output? There may be several ways to solve the task, depending on the exact use case. One solutio

facet on two multi-valued fields

2016-03-02 Thread Andreas Hubold
Hi, my schema looks like this multiValued="true"/> stored="false" multiValued="true"/> I'd like to get the tagIds of documents with a certain tagDescription (and text). However tagIds contains multiple ids in the same order as tagDescription and simple faceting would return all. Is there a