lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Hubold <andreas.hub...@coremedia.com>
Subject facet on two multi-valued fields
Date Wed, 02 Mar 2016 16:30:27 GMT
Hi,

my schema looks like this

<field name="id" type="string" .../>
<field name="tagIds" type="string" indexed="true" stored="true" 
multiValued="true"/>
<field name="tagDescriptions" type="text_general" indexed="true" 
stored="false" multiValued="true"/>
<field name="text" type="text_general" .../>

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 way to 
just get the IDs of the tags with a matching description?

Or would you recommend some other schema?

Thanks,
Andreas



Mime
View raw message