Hi Pablo, glad I could help. I'm not sure if i understand this part:
My problem now is that I don't want to make a new facet, I want to use the location.coll in an existent facet and here seems not working, will see what's happening. Am 29.07.2015 um 11:12 schrieb Pablo Buenaposada: > Hi Christian, > The PR really helped me. The problem was that seems that dspace needs the > field ending with "_filter" to make the filter appear so, we can modify our > schema.xml to add this field and also fill with the same value of > location.coll: > > <field name="location.coll_filter" type="keywordFilter" indexed="true" > stored="true" multiValued="true" omitNorms="true" /> > <copyField source="location.coll" dest="location.coll_filter" /> > > With this the facet appears. > > The next problem is that when you click in any of the values that the facet > finds the filtering doesn't work as it returns 0 items. > I have fix that creating the field location.coll_keyword also. So: > > <field name="location.coll_keyword" type="keywordFilter" indexed="true" > stored="true" multiValued="true" omitNorms="true" /> > <copyField source="location.coll" dest="location.coll_keyword" /> > > So now all seems work good :) > > My problem now is that I don't want to make a new facet, I want to use the > location.coll in an existent facet and here seems not working, will see > what's happening. > > > > > > > > -- > View this message in context: > http://dspace.2283337.n4.nabble.com/discovery-facet-by-collection-tp4678162p4678984.html > Sent from the DSpace - Tech mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > _______________________________________________ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech > List Etiquette: > https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette > > -- Christian Scheible Softwareentwickler / Abt. Content-basierte Dienste Kommunikations-, Informations- und Medienzentrum (KIM) Universität Konstanz 78457 Konstanz +49 (0)7531 / 88-2857 Raum B 703 ------------------------------------------------------------------------------ _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette