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&#174; Conference 2012
> Save $700 by Nov 18
> Register now&#33;
> 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&#174; Conference 2012
Save $700 by Nov 18
Register now&#33;
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

Reply via email to