You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by di...@apache.org on 2010/03/10 18:54:20 UTC
svn commit: r921481 -
/lucene/lucene.net/trunk/C#/src/Lucene.Net/Search/Function/CustomScoreQuery.cs
Author: digy
Date: Wed Mar 10 17:54:20 2010
New Revision: 921481
URL: http://svn.apache.org/viewvc?rev=921481&view=rev
Log:
LUCENENET-348 Avoidable compiler warning
Modified:
lucene/lucene.net/trunk/C#/src/Lucene.Net/Search/Function/CustomScoreQuery.cs
Modified: lucene/lucene.net/trunk/C#/src/Lucene.Net/Search/Function/CustomScoreQuery.cs
URL: http://svn.apache.org/viewvc/lucene/lucene.net/trunk/C%23/src/Lucene.Net/Search/Function/CustomScoreQuery.cs?rev=921481&r1=921480&r2=921481&view=diff
==============================================================================
--- lucene/lucene.net/trunk/C#/src/Lucene.Net/Search/Function/CustomScoreQuery.cs (original)
+++ lucene/lucene.net/trunk/C#/src/Lucene.Net/Search/Function/CustomScoreQuery.cs Wed Mar 10 17:54:20 2010
@@ -204,11 +204,9 @@ namespace Lucene.Net.Search.Function
class AnonymousCustomScoreProvider : CustomScoreProvider
{
CustomScoreQuery parent;
- IndexReader reader;
public AnonymousCustomScoreProvider(CustomScoreQuery parent, IndexReader reader) : base(reader)
{
this.parent = parent;
- this.reader = reader;
}
public override float CustomScore(int doc, float subQueryScore, float[] valSrcScores)
{