Dspace 1.6 Solr statistics

shali Kallumpuram vidyaserveradmin at gmail.com
Mon Mar 29 06:36:15 UTC 2010


Dear Sir,

I have changed and restarted tomcat but it doesn't display anything...

any other configuration required?



Hi Shali,

Try changing the dspace.cfg setting solr.log.server to
http://127.0.0.1:8080/solr/statistics

(It is expected to see a 403 forbidden error when you visit /solr in your
browser - so that part isn't a problem. You only need to visit the xmlui to
see the statistics, not solr. /solr provides that data to the xmlui for
display).

Thanks,


Stuart

______________________________
__
From: shali Kallumpuram [vidyaserveradmin at gmail.com]
Sent: Monday, 29 March 2010 4:55 p.m.
To: dspace-tech at lists.sourceforge.net
Subject: [Dspace-tech] Dspace solr statistics error

Dear all,

Solr statistics in my Dspace is not working ,


i have added a new collection an an item to my repository and checked as you
directed but nothing working for me

http://202.88.230.179:8080/xmlui is my url

any additional configuration is required to run "solr"

i have also checked http://202.88.230.179:8080/solr

an it shows,



HTTP Status 403 -

type Status report

message

description Access to the specified resource () has been forbidden.
Apache Tomcat/6.0.20
My dspace.cfg


#---------------------------------------------------------------#
#--------------SOLR STATISTICS CONFIGURATIONS-------------------#
#---------------------------------------------------------------#
# These configs are only used by the SOLR interface/webapp to #
# track usage statistics. #
#---------------------------------------------------------------#

##### Usage Logging #####
solr.log.server = ${dspace.baseUrl}/solr/statistics
solr.dbfile = ${dspace.dir}/config/GeoLiteCity.dat

# If enabled the statistics system will look for an X-Forward header
# if it finds it, it will use this for the user IP Addrress
# it is enabled by default
useProxies = true

# Control if the statistics pages should be only shown to authorized users
# If enabled, only the administrators for the DSpaceObject will be able to
# view the statistics.
# If disabled, anyone with READ permissions on the DSpaceObject will be able
# to view the statistics.

statistics.item.authorization.admin= false

# control solr statistics querying to filter out spider IPs
# false by default
solr.statistics.query.filter.spiderIp = true

# control solr statistics querying to look at "isBot" field to determine
# if record is a bot. true by default.
solr.statistics.query.filter.isBot = true

# URLs to download IP addresses of search engine spiders from
solr.spiderips.urls = http://iplists.com/google.txt, \
http://iplists.com/inktomi.txt, \
http://iplists.com/lycos.txt, \
http://iplists.com/infoseek.txt, \
http://iplists.com/altavista.txt, \
http://iplists.com/excite.txt, \
http://iplists.com/misc.txt, \
http://iplists.com/non_engines.txt

any idea???

Shali
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100329/db39adbe/attachment.html>


More information about the ubuntu-users mailing list