You have mis-matched begin/end tags.
<delete><id>bla</query></delete>

Note that <id> is paired with </query>

Actually that should be rejected,but if it's begin interpreted as a
query, it's really deleting everything _except_ any doc with
id "1543097641453223936" note no minus sign which
translates as "NOT".

So try with properly matched end tags of </id>, enclose the
id (including the minus sign) in quotes etc.

Best,
Erick

On Sun, Aug 21, 2016 at 11:17 PM, soundarya g (JIRA) <[email protected]> wrote:
>
>     [ 
> https://issues.apache.org/jira/browse/SOLR-9424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15430107#comment-15430107
>  ]
>
> soundarya g commented on SOLR-9424:
> -----------------------------------
>
> if i tried deleting the command like below means ,it s deleting all the doc 
> from index,
>
> .../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: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to