[ 
https://issues.apache.org/jira/browse/SOLR-9424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15428301#comment-15428301
 ] 

Erick Erickson commented on SOLR-9424:
--------------------------------------

This is probably better raised on the user's list first, we try
to reserve JIRAs for known code issues and it's highly likely
that if deletes weren't working someone would have noticed
already ;)...

Also I'm instantly suspicious when you put Manifold CF into
the equation, it's probably worth asking on that list as well.

Can you delete this doc manually? What is it's id?
-1543097641453223936? The command
would be something like
.../update?commit=true&stream.body=<delete><id>-1543097641453223936</query></delete>



> Deleting is not happening in solr 5.4.1 with Manifold CF For Sharepoint
> -----------------------------------------------------------------------
>
>                 Key: SOLR-9424
>                 URL: https://issues.apache.org/jira/browse/SOLR-9424
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: soundarya g
>
> Im trying to crawl the Sharepoint List using manifold CF with Solr 5.4.1.whn 
> the particular item got deleted manifold cf is able to send query to solr,but 
> solr is not updating the deleted documents in index.
> Following are Solr logs:
> 2016-08-19 13:16:28.361 INFO  (qtp1450821318-15) [   x:tika] 
> o.a.s.u.p.LogUpdateProcessorFactory [tika] webapp=/solr path=/update 
> params={wt=xml&version=2.2} 
> {delete=[http://az0165d:2525/sites/ASLC/Lists/DemoList/30_.000 
> (-1543097641453223936)]} 0 11
> 2016-08-19 13:16:28.391 INFO  (commitScheduler-15-thread-1) [   x:tika] 
> o.a.s.u.DirectUpdateHandler2 start 
> commit{,optimize=false,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit=false,prepareCommit=false}
> 2016-08-19 13:16:28.422 INFO  (commitScheduler-15-thread-1) [   x:tika] 
> o.a.s.c.SolrDeletionPolicy SolrDeletionPolicy.onCommit: commits: num=2
>       
> commit{dir=NRTCachingDirectory(MMapDirectory@E:\solenewtry\solr-5.4.1\solr-5.4.1\server\solr\tika\data\index
>  lockFactory=org.apache.lucene.store.NativeFSLockFactory@38f651f7; 
> maxCacheMB=48.0 maxMergeSizeMB=4.0),segFN=segments_c9,generation=441}
>       
> commit{dir=NRTCachingDirectory(MMapDirectory@E:\solenewtry\solr-5.4.1\solr-5.4.1\server\solr\tika\data\index
>  lockFactory=org.apache.lucene.store.NativeFSLockFactory@38f651f7; 
> maxCacheMB=48.0 maxMergeSizeMB=4.0),segFN=segments_ca,generation=442}
> 2016-08-19 13:16:28.422 INFO  (commitScheduler-15-thread-1) [   x:tika] 
> o.a.s.c.SolrDeletionPolicy newest commit generation = 442
> 2016-08-19 13:16:28.422 INFO  (commitScheduler-15-thread-1) [   x:tika] 
> o.a.s.s.SolrIndexSearcher Opening Searcher@5021dfc7[tika] main
> 2016-08-19 13:16:28.422 INFO  (searcherExecutor-7-thread-1-processing-x:tika) 
> [   x:tika] o.a.s.c.QuerySenderListener QuerySenderListener sending requests 
> to Searcher@5021dfc7[tika] 
> main{ExitableDirectoryReader(UninvertingDirectoryReader(Uninverting(_ei(5.4.1):C1)))}
> 2016-08-19 13:16:28.422 INFO  (searcherExecutor-7-thread-1-processing-x:tika) 
> [   x:tika] o.a.s.c.QuerySenderListener QuerySenderListener done.
> 2016-08-19 13:16:28.422 INFO  (searcherExecutor-7-thread-1-processing-x:tika) 
> [   x:tika] o.a.s.c.SolrCore [tika] Registered new searcher 
> Searcher@5021dfc7[tika] 
> main{ExitableDirectoryReader(UninvertingDirectoryReader(Uninverting(_ei(5.4.1):C1)))}
> 2016-08-19 13:16:28.438 INFO  (commitScheduler-15-thread-1) [   x:tika] 
> o.a.s.u.DirectUpdateHandler2 end_commit_flush
> 2016-08-19 13:16:30.489 INFO  (qtp1450821318-16) [   x:tika] 
> o.a.s.u.DirectUpdateHandler2 start 
> commit{,optimize=false,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit=false,prepareCommit=false}
> 2016-08-19 13:16:30.489 INFO  (qtp1450821318-16) [   x:tika] 
> o.a.s.u.DirectUpdateHandler2 No uncommitted changes. Skipping IW.commit.
> 2016-08-19 13:16:30.489 INFO  (qtp1450821318-16) [   x:tika] o.a.s.c.SolrCore 
> SolrIndexSearcher has not changed - not re-opening: 
> org.apache.solr.search.SolrIndexSearcher
> 2016-08-19 13:16:30.489 INFO  (qtp1450821318-16) [   x:tika] 
> o.a.s.u.DirectUpdateHandler2 end_commit_flush
> 2016-08-19 13:16:30.489 INFO  (qtp1450821318-16) [   x:tika] 
> o.a.s.u.p.LogUpdateProcessorFactory [tika] webapp=/solr path=/update/extract 
> params={commit=true&wt=xml&version=2.2} {commit=} 0 3
> 2016-08-19 13:17:28.801 INFO  (qtp1450821318-14) [   x:tika] 
> o.a.s.c.S.Request [tika] webapp=/solr path=/select 
> params={q=*:*&indent=true&wt=json&_=1471612648791} hits=1 status=0 QTime=0 
> ----------------------------------------------------------------------------------------------------------------------
> i have committed manully in the browser by giving query like following:
> http://localhost:8981/solr/tika/update?commit=true
> but still deletion is not happening :(



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to