All Versions
- DSpace 7.x (Current Release)
- DSpace 8.x (Unreleased)
- DSpace 6.x (EOL)
- DSpace 5.x (EOL)
- More Versions...
...
Property: | solr.log.server | |||||||||||||||
Example Value: | solr.log.server = http://127.0.0.1/solr/statistics | |||||||||||||||
Informational Note: | 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).
Assuming you get an HTTP 200 OK response, then you should set | |||||||||||||||
Property: | solr.spiderips.urls | |||||||||||||||
Example Value: | solr.spiderips.urls =
| |||||||||||||||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="62c842aefbe940d2-6ffa6c03-49204aaa-833b98fd-1fca66877a27acccdb20f13b"><ac:plain-text-body><![CDATA[ | Informational Note: | 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:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="6e0e5f62f43def4a-c71a4891-4f7f48b4-86edba93-9d9ba6be747784ff02d85c5e"><ac:plain-text-body><![CDATA[from your [dspace]/bin directory | ]]></ac:plain-text-body></ac:structured-macro> | |||||||||||||
Property: | solr.dbfile | |||||||||||||||
Example Value: | solr.dbfile = ${dspace.dir}/config/GeoLiteCity.dat | |||||||||||||||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="12488cf2b631fcc3-db0fa025-448b481f-9aa493c3-fade3115c932f8a4b031687c"><ac:plain-text-body><![CDATA[ | Informational Note: | 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> | |||||||||||||
Property: | solr.resolver.timeout | |||||||||||||||
Example Value: | solr.resolver.timeout = 200 | |||||||||||||||
Informational Note: | Timeout in milliseconds for DNS resolution of origin hosts/IPs. Setting this value too high may result in solr exhausting your connection pool. | |||||||||||||||
Property: | useProxies | |||||||||||||||
Example Value: | useProxies = true | |||||||||||||||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4f4292c9312b2f1b-738a3f48-473d4fba-b86193ac-41678d83ff670e84b3a35542"><ac:plain-text-body><![CDATA[ | Informational Note: | Will cause Statistics lohging 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> | |||||||||||||
Property: | statistics.item.authorization.admin | |||||||||||||||
Example Value: | statistics.item.authorization.admin = true | |||||||||||||||
Informational Note: | When set to true, only general administrators, collection and community administrators are able to access the statistics from the web user interface. As a result, the links to access statistics are hidden for non logged-in admin users. Setting this property to "false" will display the links to access statistics to anyone, making them publicly available. | |||||||||||||||
Property: | solr.statistics.logBots | |||||||||||||||
Example Value: | solr.statistics.logBots = true | |||||||||||||||
Informational Note: | When this property is set to false, and IP is detected as a spider, the event is not logged. | |||||||||||||||
Property: | solr.statistics.query.filter.spiderIp | |||||||||||||||
Example Value: | solr.statistics.query.filter.spiderIp = false | |||||||||||||||
Informational Note: | If true, statistics queries will filter out spider IPs -- use with caution, as this often results in extremely long query strings. | |||||||||||||||
Property: | solr.statistics.query.filter.isBot | |||||||||||||||
Example Value: | solr.statistics.query.filter.isBot = true | |||||||||||||||
Informational Note: | If true, statistics queries will filter out events flagged with the "isBot" field. This is the recommended method of filtering spiders from statistics. | |||||||||||||||
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).
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/statistics' (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="81398e8e-9253-4c81-ad7d-bec503ff1e46"><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
solr.statistics.query.filter.isBot
true
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="eee7391e-954b-4548-8fcf-2b3fc9e8a91a"><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="83d3679f-be87-48df-a1f9-71c5ec639f3a"><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="773ab625-8318-4478-8d78-5dc3bc496615"><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.
boolean
If true, statistics queries will filter out events flagged with the "isBot" field. This is the recommended method of filtering spiders from statistics.
...