lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: IndexCommit#getFileNames() returning duplicates?
Date Mon, 05 Jan 2009 22:33:38 GMT

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


Mime
View raw message