I have a discovery facet to show how many dc.contributor.advisor are in the
total items:
<bean id="searchFilterObjectPeople"
class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
<property name="indexFieldName" value="objectpeople" />
<property name="metadataFields">
<list>
<value>dc.contributor.advisor</value>
</list>
</property>
</bean>
the problem is that I have around 24000 items and this facet says that there
are 22000 times the dc.contributor.advisor "|||" .
Of course, I have never entered an advisor like this, and if I click in this
counting it shows me 0 items .... So there is something wrong.
||| is the default solr separator, and dc.contributor.author have the same
separator in solr because making a query I see that author records have also
this separator, and when I make a facet with dc.contributor.author it works
good, no ||| appears in the counting.
I have the default discovery.cfg:
#---------------------------------------------------------------#
#-----------------DISCOVERY CONFIGURATIONS----------------------#
#---------------------------------------------------------------#
# Configuration properties used solely by the Discovery #
# faceted-search system. #
#---------------------------------------------------------------#
##### Search Indexing #####
search.server = http://localhost:8080/solr/search
#Char used to ensure that the sidebar facets are case insensitive
#solr.facets.split.char=\n|||\n
# index.ignore-variants = false
# index.ignore-authority = false
index.projection=dc.title,dc.contributor.*,dc.date.issued
# ONLY-FOR-JSPUI:
# 1) you need to set the DiscoverySearchRequestProcessor in the dspace.cfg
# 2) to show facet on Site/Community/etc. you need to add a
Site/Community/Collection
# Processors plugin in the dspace.cfg
What's happening?
--
View this message in context:
http://dspace.2283337.n4.nabble.com/problem-with-facet-solr-seprator-n-n-tp4675680.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette