Hi all,

Any Solr experts out there? We have one particular instance of DSpace v4 that 
is taking an age to update Solr when an item is deleted. It does have a couple 
of extra fields being indexed, but I would be surprised if that were the 
problem. Below I have cut and pasted an excerpt from the solr log with the 
crucial bit being the last few lines that show a pause of over a minute. Any 
comments would be very welcome.

Cheers, Robin. 

2016-04-21 09:14:20,233 INFO  org.apache.solr.core.SolrCore @ [search] 
webapp=/solr path=/select 
params={mlt.minwl=5&mlt.count=3&mlt.fl=dc.title_mlt,dc.contributor.author_mlt,dc.contributor.sponsor_mlt,dc.creator_mlt,dc.subject_mlt,dc.type_mlt&q=handle:+10023/6175&mlt.mintf=5&mlt=true&wt=javabin&version=2}
 hits=1 status=0 QTime=42 
2016-04-21 09:14:47,243 INFO  org.apache.solr.core.SolrCore @ 
SolrDeletionPolicy.onInit: commits: num=1
        
commit{dir=NRTCachingDirectory(org.apache.lucene.store.MMapDirectory@/u01/dspace/dspace/solr/search/data/index
 lockFactory=org.apache.lucene.store.NativeFSLockFactory@45b2ed5c; 
maxCacheMB=48.0 maxMergeSizeMB=4.0),segFN=segments_4uw,generation=6296}
2016-04-21 09:14:47,243 INFO  org.apache.solr.core.SolrCore @ newest commit 
generation = 6296
2016-04-21 09:14:47,385 INFO  org.apache.solr.search.SolrIndexSearcher @ 
Opening Searcher@1e83bb7 realtime
2016-04-21 09:14:47,392 INFO  
org.apache.solr.update.processor.LogUpdateProcessor @ [search] webapp=/solr 
path=/update params={wt=javabin&version=2} {deleteByQuery=handle:"10023/6175" 
(-1532207025067393024)} 0 169
2016-04-21 09:14:47,456 INFO  org.apache.solr.update.UpdateHandler @ start 
commit{,optimize=false,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit=false,prepareCommit=false}
2016-04-21 09:14:47,490 INFO  org.apache.solr.core.SolrCore @ 
SolrDeletionPolicy.onCommit: commits: num=2
        
commit{dir=NRTCachingDirectory(org.apache.lucene.store.MMapDirectory@/u01/dspace/dspace/solr/search/data/index
 lockFactory=org.apache.lucene.store.NativeFSLockFactory@45b2ed5c; 
maxCacheMB=48.0 maxMergeSizeMB=4.0),segFN=segments_4uw,generation=6296}
        
commit{dir=NRTCachingDirectory(org.apache.lucene.store.MMapDirectory@/u01/dspace/dspace/solr/search/data/index
 lockFactory=org.apache.lucene.store.NativeFSLockFactory@45b2ed5c; 
maxCacheMB=48.0 maxMergeSizeMB=4.0),segFN=segments_4ux,generation=6297}
2016-04-21 09:14:47,490 INFO  org.apache.solr.core.SolrCore @ newest commit 
generation = 6297
2016-04-21 09:14:47,492 INFO  org.apache.solr.search.SolrIndexSearcher @ 
Opening Searcher@23d8c80a main
2016-04-21 09:14:47,499 INFO  org.apache.solr.core.SolrCore @ 
QuerySenderListener sending requests to Searcher@23d8c80a 
main{StandardDirectoryReader(segments_4uw:16789:nrt _5t2(4.4):C5457/1)}
2016-04-21 09:14:47,499 INFO  org.apache.solr.core.SolrCore @ 
QuerySenderListener done.
2016-04-21 09:14:47,499 INFO  
org.apache.solr.handler.component.SpellCheckComponent @ Building spell index 
for spell checker: default
2016-04-21 09:14:47,500 INFO  org.apache.solr.update.UpdateHandler @ 
end_commit_flush
2016-04-21 09:16:06,544 INFO  org.apache.solr.core.SolrCore @ [search] 
Registered new searcher Searcher@23d8c80a 
main{StandardDirectoryReader(segments_4uw:16789:nrt _5t2(4.4):C5457/1)}
2016-04-21 09:16:06,545 INFO  
org.apache.solr.update.processor.LogUpdateProcessor @ [search] webapp=/solr 
path=/update 
params={waitSearcher=true&commit=true&wt=javabin&version=2&softCommit=false} {c

Robin Taylor
Main Library
University of Edinburgh
-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to