lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [13/22] lucenenet git commit: Lucene.Net.Queries.Function.ValueSources.IDFValueSource: added ExceptionToClassNameConvention attribute
Date Sat, 28 Jan 2017 10:15:56 GMT
Lucene.Net.Queries.Function.ValueSources.IDFValueSource: added ExceptionToClassNameConvention
attribute


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/0d8a7ed7
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/0d8a7ed7
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/0d8a7ed7

Branch: refs/heads/api-work
Commit: 0d8a7ed7c3fd28bb9c8de7b40b7362f841be15ab
Parents: 2ba3252
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Sat Jan 28 09:16:17 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Sat Jan 28 09:16:17 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Queries/Function/ValueSources/IDFValueSource.cs | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/0d8a7ed7/src/Lucene.Net.Queries/Function/ValueSources/IDFValueSource.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Queries/Function/ValueSources/IDFValueSource.cs b/src/Lucene.Net.Queries/Function/ValueSources/IDFValueSource.cs
index 21df491..dd1ccc2 100644
--- a/src/Lucene.Net.Queries/Function/ValueSources/IDFValueSource.cs
+++ b/src/Lucene.Net.Queries/Function/ValueSources/IDFValueSource.cs
@@ -1,6 +1,7 @@
 ´╗┐using Lucene.Net.Index;
 using Lucene.Net.Search;
 using Lucene.Net.Search.Similarities;
+using Lucene.Net.Support;
 using Lucene.Net.Util;
 using System.Collections;
 
@@ -32,6 +33,7 @@ namespace Lucene.Net.Queries.Function.ValueSources
     /// @lucene.internal 
     /// </para>
     /// </summary>
+    [ExceptionToClassNameConvention]
     public class IDFValueSource : DocFreqValueSource
     {
         public IDFValueSource(string field, string val, string indexedField, BytesRef indexedBytes)


Mime
View raw message