EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #03726


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: IRStats2 and "top search terms"


Here is what we added to get the Search terms for each item:

 

In:   lib/lang/en/phrases/irstats2.xml:

Add :

<epp:phrase id="lib/irstats2:view:search_terms">Search Terms</epp:phrase>

 

In:  cfg.d/z_irstats2.pl

Add:

requests => {

                                items => [

                                { plugin => 'ReportHeader' },

                                …

                                {

                                                plugin => 'Table',

                                                datatype => 'search_terms',

                                                options => {

                                                                title_phrase => 'search_terms',

                                                                top => 'search_terms',

                                                }

                                },

                                …            

 

It works, thanks! 

 

Tomasz

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Tomasz Neugebauer
Sent: December-19-14 12:11 PM
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: IRStats2 and "top search terms"

 

Thank you Seb!  That is really great news.  I will report back as soon as I figure out what I was missing.

 

Tomasz

 

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of sf2
Sent: December-19-14 11:49 AM
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: IRStats2 and "top search terms"

 

Hey,

It's there though: https://github.com/eprints/irstats2/blob/master/cfg/plugins/EPrints/Plugin/Stats/Processor/Access/SearchTerms.pm

Make sure (1) it's enabled on your repo, (2) it processes data (look in mysql for irstats2_search_terms or something) and (3) it's displayed on the relevant reports (cfg.d/z_irstats2.pl)

Seb

 

On 19.12.2014 16:24, Tomasz Neugebauer wrote:

 

The “top search terms” statistics are available in IRStats, but not in IRStats2, correct?

Is the “top search terms” a future planned data feature of IRStats2?

 

I ask because this particular data point stopped working correctly in our IRStats; so I thought I would be fixing this when I upgrade to IRStats2, but looking at our test repository and the documentation, I don’t see any mention of the “top search terms”.

 

 

Tomasz

 

 

 

________________________________________________

Tomasz Neugebauer

Digital Projects & Systems Development Librarian

tomasz.neugebauer@concordia.ca

Concordia University Libraries

1400 de Maisonneuve West (LB 341-3)

Tel.: (514) 848-2424 ex. 7738

Montreal, Canada

 

 

 

 

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/