|
Hi all, solr supports system property substitution as you can see at http://wiki.apache.org/solr/SolrConfigXml#System_property_substitution So the two mentioned parameters can be tuned as you like using autoCommit and autoSoftCommit features. The strange behaviour noticed by Robin is because the discovery consumer call an index method that do not call the programmatically solr commit, which the update-discovery do well (as noticed by helix). Imho the https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/discovery/IndexEventConsumer.java#L170 could be modified with calling the "void indexContent(Context context, DSpaceObject dso, boolean force, boolean commit)" method and force commit to true (or get this information from configuration to left the user to use autoSoftCommit in case the commit property is false) Hope this helps. Regards, Luigi Andrea Il 18/10/2013 15:57, TAYLOR Robin ha
scritto:
Hi, I suspect, but I am definitely not sure, that no automatic commits will be done with the config as it is. If I run an 'optimize' using the Solr Admin client, or restart Tomcat, then the indices get updated. Not a big issue, I think we maybe just need to set some default values. I'll do a wee bit more investigation.Cheers. On 18/10/2013 14:43, "helix84" <[email protected]> wrote:I can confirm I'm seeing the same thing in DSpace 4 and that DSpace 3 had actual numbers there. I join you in your confusion. Can you observe any ill effects? I didn't notice anything wrong and I ran "update-discovery-index -f" on ~20k items yesterday. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette --
|
------------------------------------------------------------------------------ Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


