mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-11-22 22:55:04 +01:00
Update notes for 2019-11-08
This commit is contained in:
parent
65d9c40103
commit
caed1d2911
@ -211,5 +211,28 @@ $ http --print b 'http://localhost:8081/solr/statistics-2018/select?facet=true&f
|
|||||||
- I wrote a quick bash script to check all these user agents against the CGSpace Solr statistics cores
|
- I wrote a quick bash script to check all these user agents against the CGSpace Solr statistics cores
|
||||||
- For years 2010 until 2019 there are 1.6 million hits from these spider user agents
|
- For years 2010 until 2019 there are 1.6 million hits from these spider user agents
|
||||||
- For 2019 alone there are 740,000, over half of which come from Unpaywall!
|
- For 2019 alone there are 740,000, over half of which come from Unpaywall!
|
||||||
|
- Looking at the facets I see there were about 200,000 hits from Unpaywall in 2019-10:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ curl -s 'http://localhost:8081/solr/statistics/select?facet=true&facet.field=dateYearMonth&facet.mincount=1&facet.offset=0&facet.limit=
|
||||||
|
12&q=userAgent:*Unpaywall*' | xmllint --format - | less
|
||||||
|
...
|
||||||
|
<lst name="facet_counts">
|
||||||
|
<lst name="facet_queries"/>
|
||||||
|
<lst name="facet_fields">
|
||||||
|
<lst name="dateYearMonth">
|
||||||
|
<int name="2019-10">198624</int>
|
||||||
|
<int name="2019-05">88422</int>
|
||||||
|
<int name="2019-06">79911</int>
|
||||||
|
<int name="2019-09">67065</int>
|
||||||
|
<int name="2019-07">39026</int>
|
||||||
|
<int name="2019-08">36889</int>
|
||||||
|
<int name="2019-04">36512</int>
|
||||||
|
<int name="2019-11">760</int>
|
||||||
|
</lst>
|
||||||
|
</lst>
|
||||||
|
```
|
||||||
|
|
||||||
|
- That answers Peter's question about why the stats jumped in October...
|
||||||
|
|
||||||
<!-- vim: set sw=2 ts=2: -->
|
<!-- vim: set sw=2 ts=2: -->
|
||||||
|
@ -34,7 +34,7 @@ Let’s see how many of the REST API requests were for bitstreams (because t
|
|||||||
<meta property="og:type" content="article" />
|
<meta property="og:type" content="article" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2019-11/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2019-11/" />
|
||||||
<meta property="article:published_time" content="2019-11-04T12:20:30+02:00" />
|
<meta property="article:published_time" content="2019-11-04T12:20:30+02:00" />
|
||||||
<meta property="article:modified_time" content="2019-11-07T12:40:25+02:00" />
|
<meta property="article:modified_time" content="2019-11-07T18:22:19+02:00" />
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="November, 2019"/>
|
<meta name="twitter:title" content="November, 2019"/>
|
||||||
@ -73,9 +73,9 @@ Let’s see how many of the REST API requests were for bitstreams (because t
|
|||||||
"@type": "BlogPosting",
|
"@type": "BlogPosting",
|
||||||
"headline": "November, 2019",
|
"headline": "November, 2019",
|
||||||
"url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-11\/",
|
"url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-11\/",
|
||||||
"wordCount": "1293",
|
"wordCount": "1343",
|
||||||
"datePublished": "2019-11-04T12:20:30+02:00",
|
"datePublished": "2019-11-04T12:20:30+02:00",
|
||||||
"dateModified": "2019-11-07T12:40:25+02:00",
|
"dateModified": "2019-11-07T18:22:19+02:00",
|
||||||
"author": {
|
"author": {
|
||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
@ -364,16 +364,37 @@ $ http –print b ‘<a href="http://localhost:8081/solr/statistics-2018
|
|||||||
|
|
||||||
<p>$ http –print b ‘<a href="http://localhost:8081/solr/statistics-2018/update?stream.body=">http://localhost:8081/solr/statistics-2018/update?stream.body=</a><delete><query>userAgent:<em>ltx71</em></query><query>type:0</query></delete>&commit=true’
|
<p>$ http –print b ‘<a href="http://localhost:8081/solr/statistics-2018/update?stream.body=">http://localhost:8081/solr/statistics-2018/update?stream.body=</a><delete><query>userAgent:<em>ltx71</em></query><query>type:0</query></delete>&commit=true’
|
||||||
$ http –print b ‘<a href="http://localhost:8081/solr/statistics-2018/select?facet=true&facet.field=ip&facet.mincount=1&type:0&q=userAgent:*ltx71*'">http://localhost:8081/solr/statistics-2018/select?facet=true&facet.field=ip&facet.mincount=1&type:0&q=userAgent:*ltx71*'</a> | xmllint –format - | grep numFound
|
$ http –print b ‘<a href="http://localhost:8081/solr/statistics-2018/select?facet=true&facet.field=ip&facet.mincount=1&type:0&q=userAgent:*ltx71*'">http://localhost:8081/solr/statistics-2018/select?facet=true&facet.field=ip&facet.mincount=1&type:0&q=userAgent:*ltx71*'</a> | xmllint –format - | grep numFound
|
||||||
<result name="response" numFound="0" start="0"/>
|
<result name="response" numFound="0" start="0"/></p>
|
||||||
|
|
||||||
|
<pre><code>
|
||||||
|
- I wrote a quick bash script to check all these user agents against the CGSpace Solr statistics cores
|
||||||
|
- For years 2010 until 2019 there are 1.6 million hits from these spider user agents
|
||||||
|
- For 2019 alone there are 740,000, over half of which come from Unpaywall!
|
||||||
|
- Looking at the facets I see there were about 200,000 hits from Unpaywall in 2019-10:
|
||||||
|
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<p>$ curl -s ‘<a href="http://localhost:8081/solr/statistics/select?facet=true&facet.field=dateYearMonth&facet.mincount=1&facet.offset=0&facet.limit=">http://localhost:8081/solr/statistics/select?facet=true&facet.field=dateYearMonth&facet.mincount=1&facet.offset=0&facet.limit=</a>
|
||||||
|
12&q=userAgent:<em>Unpaywall</em>’ | xmllint –format - | less
|
||||||
|
…
|
||||||
|
<lst name="facet_counts">
|
||||||
|
<lst name="facet_queries"/>
|
||||||
|
<lst name="facet_fields">
|
||||||
|
<lst name="dateYearMonth">
|
||||||
|
<int name="2019-10">198624</int>
|
||||||
|
<int name="2019-05">88422</int>
|
||||||
|
<int name="2019-06">79911</int>
|
||||||
|
<int name="2019-09">67065</int>
|
||||||
|
<int name="2019-07">39026</int>
|
||||||
|
<int name="2019-08">36889</int>
|
||||||
|
<int name="2019-04">36512</int>
|
||||||
|
<int name="2019-11">760</int>
|
||||||
|
</lst>
|
||||||
|
</lst>
|
||||||
```</p>
|
```</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>I wrote a quick bash script to check all these user agents against the CGSpace Solr statistics cores
|
<li>That answers Peter’s question about why the stats jumped in October…</li>
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>For years 2010 until 2019 there are 1.6 million hits from these spider user agents</li>
|
|
||||||
<li>For 2019 alone there are 740,000, over half of which come from Unpaywall!</li>
|
|
||||||
</ul></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<!-- vim: set sw=2 ts=2: -->
|
<!-- vim: set sw=2 ts=2: -->
|
||||||
|
@ -4,27 +4,27 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/categories/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/categories/</loc>
|
||||||
<lastmod>2019-11-07T12:40:25+02:00</lastmod>
|
<lastmod>2019-11-07T18:22:19+02:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
||||||
<lastmod>2019-11-07T12:40:25+02:00</lastmod>
|
<lastmod>2019-11-07T18:22:19+02:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/categories/notes/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/categories/notes/</loc>
|
||||||
<lastmod>2019-11-07T12:40:25+02:00</lastmod>
|
<lastmod>2019-11-07T18:22:19+02:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/2019-11/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/2019-11/</loc>
|
||||||
<lastmod>2019-11-07T12:40:25+02:00</lastmod>
|
<lastmod>2019-11-07T18:22:19+02:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
|
||||||
<lastmod>2019-11-07T12:40:25+02:00</lastmod>
|
<lastmod>2019-11-07T18:22:19+02:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
|
Loading…
Reference in New Issue
Block a user