You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Michael McCandless <lu...@mikemccandless.com> on 2009/01/05 23:33:38 UTC

Re: IndexCommit#getFileNames() returning duplicates?

OK I opened & resolved LUCENE-1509 to fix this, for 2.9:

   https://issues.apache.org/jira/browse/LUCENE-1509

Mike

Shalin Shekhar Mangar wrote:

> Hello,
>
> Solr uses IndexCommit#getFileNames() to get a list of files for  
> replication.
> One windows user reported an exception which looks like it may have  
> been
> caused by IndexCommit#getFileNames() returning duplicate file names.  
> The
> exception in his case was caused by "_21e.tvx" coming more than once.
>
> The problem was reported to be fixed after we used new
> HashSet<String>(commit.getFileNames()).
>
> I haven't been able to reproduce the bug but I was hoping people  
> here would
> know more about this. Solr is using the 2.9-dev version.  
> Unfortunately, I
> don't know which revision that user was using. However if it is of  
> any help,
> it should be one of r707499, r719351, r723985 or r724059.
>
> You can see the original report at
> http://markmail.org/message/xybvkcjx5kraqvoh
>
> -- 
> Regards,
> Shalin Shekhar Mangar.


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