<div dir="ltr">Hi John <div>Thank you for your help. The video was immensely helpful. We implemented the new automatic field by adding a new configuration file (se file below) and  added the field conf_subm (&quot;Conference submissions, Yes, No&quot;) to the editor rights restrictions. This was a bit difficult to find, but it is done in the <a href="http://search.pl">search.pl</a> file, in &quot;editor_limit_fields&quot;, where I added the line:</div><div><span class="" style="white-space:pre">        </span>&quot;conf_subm&quot;, # HFA 6jan2016: Added to allow for selecting the automatic conference submission field </div><div>I added phrases by way of &quot;Edit page phrases&quot;.</div><div><div><br></div><div>It works fine. Speed gain on a review buffer of 412 eprints: before (15 restrictions) = 256 seconds to see a buffer of 100, after (1 restriction) = 8 seconds to see a buffer of 100. That is, about 30 times faster.</div></div><div><br></div><div>Best regards,</div><div>Hugo</div><div><br></div><div><br></div><div>----eprint_type_conf_subm.pl----</div><div><div>## HFA 2016jan06: This automatic field function is meant to solve the problem with very slow speed when editors work in their buffer, </div><div>## because most national editors have 15 eprint types (all but the conference submissions) in their editorial rights restrictions to </div><div>## avoid conference submissions being moved into the archive prematurely by the national editors. </div><div>## Any editorial-scope options that are &#39;set&#39; or &#39;namedset&#39; fields create some big SQL statements when used together </div><div>## (lots of ORs over lots of tables). See Eprints Tech list mail 18dec2015 on &quot;Editoring speed problem and Review queue option&quot;.</div><div>## An automatic field that stores a value &#39;subm&#39; or &#39;not_subm&#39; will give a much more efficient </div><div>## (and hopefully quick-enough) way to restrict the review queue for conference submissions.</div><div>## This will create a field (called &#39;conf_subm&#39;)to use for groupings of editorial rights for eprint type &#39;submission&#39;, </div><div>## one group for conference submissions and another for alle the other eprint types.</div><div>## See <a href="http://wiki.eprints.org/w/index.php/Training_Video:Automatic_Fields">http://wiki.eprints.org/w/index.php/Training_Video:Automatic_Fields</a>.</div><div>$c-&gt;add_dataset_field(&#39;eprint&#39;,</div><div>{</div><div><span class="" style="white-space:pre">        </span>name =&gt; &#39;conf_subm&#39;,</div><div><span class="" style="white-space:pre">        </span>type =&gt; &#39;set&#39;,</div><div><span class="" style="white-space:pre">        </span>options =&gt; [</div><div><span class="" style="white-space:pre">                </span>&#39;subm&#39;,</div><div><span class="" style="white-space:pre">                </span>&#39;not_subm&#39;,</div><div><span class="" style="white-space:pre">        </span>]</div><div>}</div><div>);</div><div><br></div><div>$c-&gt;{set_eprint_automatic_fields_eprint_type_conf_subm} = $c-&gt;{set_eprint_automatic_fields};</div><div>$c-&gt;{set_eprint_automatic_fields} = sub</div><div>{</div><div><span class="" style="white-space:pre">        </span>my( $eprint ) = @_;</div><div><span class="" style="white-space:pre">        </span></div><div><span class="" style="white-space:pre">        </span>my $repo = $eprint-&gt;repository;</div><div><span class="" style="white-space:pre">        </span>$repo-&gt;call(&#39;set_eprint_automatic_fields_eprint_type_conf_subm&#39;, $eprint);</div><div><span class="" style="white-space:pre">        </span></div><div><span class="" style="white-space:pre">        </span>## Set value according to eprint type submission or not</div><div><span class="" style="white-space:pre">        </span>my $type = $eprint-&gt;get_value( &quot;type&quot; );</div><div><br></div><div><span class="" style="white-space:pre">        </span>if( $type eq &quot;submission&quot;)</div><div><span class="" style="white-space:pre">        </span>{</div><div><span class="" style="white-space:pre">                </span>$eprint-&gt;set_value( &quot;conf_subm&quot;, &quot;subm&quot; );</div><div><span class="" style="white-space:pre">        </span>}</div><div><span class="" style="white-space:pre">        </span>else</div><div><span class="" style="white-space:pre">        </span>{</div><div><span class="" style="white-space:pre">                </span>$eprint-&gt;set_value( &quot;conf_subm&quot;, &quot;not_subm&quot; );</div><div><span class="" style="white-space:pre">        </span>};</div><div><span class="" style="white-space:pre">        </span></div><div>}</div></div><div>----end of file----</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div style="font-family:arial;font-size:small">Hugo F. Alrøe<br></div><div style="font-family:arial;font-size:small">Email: <a href="mailto:hugo.f.alroe@gmail.com" target="_blank">hugo.f.alroe@gmail.com</a></div><div style="font-family:arial;font-size:small"><br></div></div></div></div>
<br><div class="gmail_quote">2015-12-18 11:57 GMT+01:00 Hugo F. Alrøe <span dir="ltr">&lt;<a href="mailto:hugo.f.alroe@gmail.com" target="_blank">hugo.f.alroe@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><div dir="ltr">Thank you, John,<div>Yes, that was our thought as well, that it was the database queries that multiplied.</div><div>Thank you for the idea on using automatic fields to simplify the proces. As I understand you, this will only influence on how the editorial rights are handled, and not require changes to the eprints types and how the user sees this. It sounds like a doable approach to the problem, and I will look into it. </div><div>We would probably still like to use the Reviewed Queue package to help the conference reviewing process, but in a way where we won&#39;t rely on it as an essential element in submission process.  </div><div>Cheers,</div><div>Hugo</div></div></span><div class="gmail_extra"><span class=""><br clear="all"><div><div dir="ltr"><div style="font-family:arial;font-size:small">Hugo F. Alrøe<br></div><div style="font-family:arial;font-size:small">Email: <a href="mailto:hugo.f.alroe@gmail.com" target="_blank">hugo.f.alroe@gmail.com</a></div><div style="font-family:arial;font-size:small"><br></div></div></div>
<br></span><div class="gmail_quote"><span class="">2015-12-18 10:45 GMT+01:00 John Salter <span dir="ltr">&lt;<a href="mailto:J.Salter@leeds.ac.uk" target="_blank">J.Salter@leeds.ac.uk</a>&gt;</span>:<br></span><div><div class="h5"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
I think that any editorial-scope options that are &#39;set&#39; or &#39;namedset&#39; fields create some big SQL statements when used together (lots of ORs over lots of tables).<br>
<br>
It sounds like you need one group for (not conference) and another for (conference).<br>
<br>
My approach to this would be to create a field to use for groupings of editorial rights (<a href="http://wiki.eprints.org/w/index.php/Training_Video:Automatic_Fields" rel="noreferrer" target="_blank">http://wiki.eprints.org/w/index.php/Training_Video:Automatic_Fields</a>).<br>
If you have an automatic field that stores a value &#39;conf&#39; or &#39;not_conf&#39; - you then have a much more efficient (and hopefully quick-enough) way to restrict the review queue.<br>
<br>
I can&#39;t comment on the &#39;Reviewed&#39; package in the Bazaar - I haven&#39;t used it.<br>
<br>
Cheers,<br>
John<br>
<span><br>
-----Original Message-----<br>
From: <a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk" target="_blank">eprints-tech-bounces@ecs.soton.ac.uk</a> [mailto:<a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk" target="_blank">eprints-tech-bounces@ecs.soton.ac.uk</a>] On Behalf Of Yuri<br>
Sent: 18 December 2015 09:11<br>
To: <a href="mailto:eprints-tech@ecs.soton.ac.uk" target="_blank">eprints-tech@ecs.soton.ac.uk</a><br>
Subject: [EP-tech] Re: Editoring speed problem and Review queue option<br>
<br>
Isn&#39;t better to fix the slowness? i wouldn&#39;t depend, on big projects, on<br>
plugins found on Bazaar if I&#39;m not sure they&#39;re well mantained.<br>
<br>
Il 18/12/2015 09:39, Hugo F. Alrøe ha scritto:<br>
</span><span>&gt; Hi<br>
&gt;<br>
&gt; We have experienced speed problems when editoring on our archive<br>
</span>&gt; Organic Eprints (<a href="http://www.orgprints.org" rel="noreferrer" target="_blank">www.orgprints.org</a> &lt;<a href="http://www.orgprints.org" rel="noreferrer" target="_blank">http://www.orgprints.org</a>&gt;). We<br>
<div><div>&gt; have +30 editors with responsibilities for different countries and<br>
&gt; projects, and some of them, but only some, experience that the system<br>
&gt; is very slow when they are working with the review buffer. Search etc.<br>
&gt; is not affected.<br>
&gt;<br>
&gt; I finally found out that the number of editorial rights restrictions<br>
&gt; affect the speed of showing the review buffer substantially. We have<br>
&gt; some 16 eprint types (yes, I know, too many, but the archive has many<br>
&gt; different kinds of eprints), and one of these (conference submissions)<br>
&gt; has to be handled by different editors. This means most of our<br>
&gt; national editors have 15 eprint types (all but the conference<br>
&gt; submissions) in their editorial rights restrictions, to avoid<br>
&gt; conference submissions being moved into the archive prematurely by the<br>
&gt; national editors. Some editors have a number of countries and projects<br>
&gt; as well in their editorial rights restrictions, which means that<br>
&gt; showing the buffer can be veeery slow (like, go get a cup of coffee,<br>
&gt; start on something else, and forget about it).<br>
&gt;<br>
&gt; To solve this problem, I think about handling the conference<br>
&gt; submissions differently. In the ePrints Bazaar I found the Reviewed<br>
&gt; queue package, which offers a functionality that potentially can meet<br>
&gt; this purpose by establishing an additional review buffer.<br>
&gt;<br>
&gt; For this to work however, eprints of type conference submissions<br>
&gt; should go automatically into this additional buffer. Is this possible?<br>
&gt; And if so, how?<br>
&gt;<br>
&gt; And preferably it should be possible to restrict most editors from<br>
&gt; seeing this additional buffer. We have editors with different powers<br>
&gt; already (some being able to modify the subject trees to e.g. add new<br>
&gt; research affiliations). But I am not sure whether the additional<br>
&gt; buffer established by Reviewed queue can be allocated to a specific<br>
&gt; editor type. Is this possible?<br>
&gt;<br>
&gt; Can anybody help on these questions?<br>
&gt;<br>
&gt; Best regards<br>
&gt; Hugo Alroe<br>
&gt; Initiator (in 2002) of Organic Eprints and presently temporary archive<br>
&gt; administrator.<br>
&gt;<br>
</div></div><div><div>&gt; Email: <a href="mailto:hugo.f.alroe@gmail.com" target="_blank">hugo.f.alroe@gmail.com</a> &lt;mailto:<a href="mailto:hugo.f.alroe@gmail.com" target="_blank">hugo.f.alroe@gmail.com</a>&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; *** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
&gt; *** Archive: <a href="http://www.eprints.org/tech.php/" rel="noreferrer" target="_blank">http://www.eprints.org/tech.php/</a><br>
&gt; *** EPrints community wiki: <a href="http://wiki.eprints.org/" rel="noreferrer" target="_blank">http://wiki.eprints.org/</a><br>
&gt; *** EPrints developers Forum: <a href="http://forum.eprints.org/" rel="noreferrer" target="_blank">http://forum.eprints.org/</a><br>
<br>
<br>
*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
*** Archive: <a href="http://www.eprints.org/tech.php/" rel="noreferrer" target="_blank">http://www.eprints.org/tech.php/</a><br>
*** EPrints community wiki: <a href="http://wiki.eprints.org/" rel="noreferrer" target="_blank">http://wiki.eprints.org/</a><br>
*** EPrints developers Forum: <a href="http://forum.eprints.org/" rel="noreferrer" target="_blank">http://forum.eprints.org/</a><br>
<br>
*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
*** Archive: <a href="http://www.eprints.org/tech.php/" rel="noreferrer" target="_blank">http://www.eprints.org/tech.php/</a><br>
*** EPrints community wiki: <a href="http://wiki.eprints.org/" rel="noreferrer" target="_blank">http://wiki.eprints.org/</a><br>
*** EPrints developers Forum: <a href="http://forum.eprints.org/" rel="noreferrer" target="_blank">http://forum.eprints.org/</a><br>
</div></div></blockquote></div></div></div><br></div>
<br>*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
*** Archive: <a href="http://www.eprints.org/tech.php/" rel="noreferrer" target="_blank">http://www.eprints.org/tech.php/</a><br>
*** EPrints community wiki: <a href="http://wiki.eprints.org/" rel="noreferrer" target="_blank">http://wiki.eprints.org/</a><br>
*** EPrints developers Forum: <a href="http://forum.eprints.org/" rel="noreferrer" target="_blank">http://forum.eprints.org/</a><br>
<br></blockquote></div><br></div></div>