You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Zhuravskiy Vitaliy (JIRA)" <ji...@apache.org> on 2014/06/06 12:23:02 UTC

[jira] [Commented] (LUCENE-5741) IndexWriter.tryDeleteDocument does not work

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

Zhuravskiy Vitaliy commented on LUCENE-5741:
--------------------------------------------

Same problem discussion here http://lucene.472066.n3.nabble.com/Unexpected-returning-false-from-IndexWriter-tryDeleteDocument-td4107633.html

> IndexWriter.tryDeleteDocument does not work
> -------------------------------------------
>
>                 Key: LUCENE-5741
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5741
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/index
>    Affects Versions: 4.3, 4.5, 4.6, 4.7, 4.8, 4.9
>            Reporter: Zhuravskiy Vitaliy
>            Priority: Critical
>
> I am using "fresh"a and opened reader. 
> One segement and 3 documents in index.
> tryDeleteDocument always return false, i deep into your code, and see follow, that 
> segmentInfos.indexOf(info)
> always return -1 because org.apache.lucene.index.SegmentInfos doesnot have equals method, see screenshoot for more inforamtion http://postimg.org/image/jvtezvqnn/



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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