Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Adding a hint for testing your 'solr.log.server' value

...

Property Name

Default Value

Type

Description

solr.log.server

${dspace.baseUrl}/solr/statistics

String

Is used by the SolrLogger Client class to connect to the Solr server over http and perform updates and queries. In most cases, this can (and should) be set to localhost (or 127.0.0.1).
To determine the correct path, you can use a tool like wget to see where Solr is responding on your server. For example, you'd want to send a query to Solr like the following:

Code Block
wget http://127.0.0.1/solr/statistics/select?q=*:*

Assuming you get an HTTP 200 OK response, then you should set solr.log.server to the 'statistics' URL of {{

http://127.0.0.1/solr/statisticsImage Added

}} (essentially removing the "/select?q=:" query off the end of the responding URL.)

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="a15a46a30fc6ac4f-e732b824-4f1843b3-9cad9b0e-ea3380f59c8e3953805d9aee"><ac:plain-text-body><![CDATA[

solr.spiderips.urls

Code Block
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

String

List of URLs to download spiders files into [dspace]/config/spiders. These files contain lists of known spider IPs and are utilized by the SolrLogger to flag usage events with an "isBot" field, or ignore them entirely.
]]></ac:plain-text-body></ac:structured-macro>
The "stats-util" command can be used to force an update of spider files, regenerate "isBot" fields on indexed events, and delete spiders from the index. For usage, run:


Code Block
dspace stats-util -h

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="50f07bf79609da6b-5399c49a-41c94a16-b3e3ad48-7ac03de13ee5139c3bd50504"><ac:plain-text-body><![CDATA[from your [dspace]/bin directory

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="91f0abe4375edc87-473eaa00-45054793-a2e9aeba-c14fdd8f7783fe029bd22bc4"><ac:plain-text-body><![CDATA[

solr.dbfile

${dspace.dir}/config/GeoLiteCity.dat

String

The following referes to the GeoLiteCity database file utilized by the LocationUtils to calculate the location of client requests based on IP address. During the Ant build process (both fresh_install and update) this file will be downloaded from [http://www.maxmind.com/app/geolitecity] if a new version has been published or it is absent from your [dspace]/config directory.

]]></ac:plain-text-body></ac:structured-macro>

solr.resolver.timeout

200

Integer

Timeout in milliseconds for DNS resolution of origin hosts/IPs. Setting this value too high may result in solr exhausting your connection pool.

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="f6988ff7998f781e-55104455-4b8748ec-b538bbdb-b1801df173618d9d498a0cf8"><ac:plain-text-body><![CDATA[

useProxies

true

boolean

Will cause Statistics loging to look for X-Forward URI to detect clients IP that have accessed it through a Proxy service.  Allows detection of client IP when accessing DSpace. [Note: This setting is found in the DSpace Logging sesction of dspace.cfg]

]]></ac:plain-text-body></ac:structured-macro>

statistics.item.authorization.admin

true

boolean

Enables access control restriction on DSpace  Statistics pages, Restrictions are based on access rights to Community, Collection and Item Pages. This will require the user to sign on to see that statistics. Setting the statistics to "false" will make them publicly available.

solr.statistics.logBots

true

boolean

If false, and IP is detected as a spider, the event is not logged.
If true, the event will be logged with the "isBot" field set to true.
(see solr.statistics.query.filter.* for query filter options)

solr.statistics.query.filter.spiderIp

false

boolean

If true, statistics queries will filter out spider IPs -- use with caution, as this often results in extremely long query strings.

solr.statistics.query.filter.isBot

true

boolean

If true, statistics queries will filter out events flagged with the "isBot" field. This is the recommended method of filtering spiders from statistics.

...