Gert, (1) I uncommented autoCommit in solr config file and all index updates worked for add/delete/edit from Islandora. I keep this option.
(2) commitWithin worked for "add" from Islandora when I modified Gsearch foxmlToSolr.xslt adding that attribute to <add>. Did not get time to see how to enable for "delete" and "edit" this way. Thanks for your help, Serhiy On Wed, Nov 2, 2011 at 3:37 AM, Gert Schmeltz Pedersen <g...@dtic.dtu.dk> wrote: > Solr needs a commit after an update. In solrconfig.xml you can configure, > when Solr performs commits, there is an autoCommit element, which comes > commented out by default. Alternatively, you may include a commitWithin > attribute in your add element in the index document. When you call > browseIndex, GSearch performs an implicit commit. > > -Gert > > > On 02/11/2011, at 04.32, Serhiy Polyakov wrote: > >> Hello, >> >> I installed Solr 3.4, Fedora 3.4.2, FedoraGsearch 2.3, configured >> configProductionOnSolr. I am reading index with Islandora Slor Drupal >> module. Fedora messaging is ON. >> >> Index does not get updated when submitting new objects. >> >> After I add an object I see >> fedora/server/logs/fedoragsearch.dayly.log says >> Index updated by notification message, returning… insertTotal=1. >> >> Total number of objects is one more that before. All looks OK. >> >> Solr index creates two new files of zero size: >> _1.fdt >> _1.fdx >> >> But up until I open >> myhost:8080/fedoragsearch/rest >> and click browseIndex > Browse, index is not actually updated. >> >> After this set of new files are created in Solr index directory and >> index is correct and visible via Islandora Slor Drupal module. >> >> I changed lock in solrconfig.xml from “native” to: >> <lockType>single</lockType> >> >> No result. >> >> I noticed write.lock file in index dir before that. I deleted it. >> >> Restarted server, deleted, recreated index. No luck. Index is not >> updated until I Browse it with myhost:8080/fedoragsearch/rest >> >> Thanks for the help, >> Serhiy >> >> ------------------------------------------------------------------------------ >> RSA® Conference 2012 >> Save $700 by Nov 18 >> Register now! >> http://p.sf.net/sfu/rsa-sfdev2dev1 >> _______________________________________________ >> Fedora-commons-users mailing list >> Fedora-commons-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users > > > ------------------------------------------------------------------------------ > RSA® Conference 2012 > Save $700 by Nov 18 > Register now! > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Fedora-commons-users mailing list > Fedora-commons-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fedora-commons-users > ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Fedora-commons-users mailing list Fedora-commons-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fedora-commons-users