lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [50/50] [abbrv] lucenenet git commit: Added several TODOs about making constants into [Flags] enums to make it easier to determine the values with intellisense
Date Sun, 05 Mar 2017 11:49:29 GMT
Added several TODOs about making constants into [Flags] enums to make it easier to determine
the values with intellisense


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

Branch: refs/heads/api-work
Commit: 3015c36b7ba231a01a1b7eb9b2d1dea5e87dc35a
Parents: c8898cf
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Sun Mar 5 18:44:56 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Sun Mar 5 18:44:56 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Analysis.Common/Analysis/Cjk/CJKBigramFilter.cs | 2 ++
 src/Lucene.Net.Core/Index/DocsAndPositionsEnum.cs              | 2 ++
 src/Lucene.Net.Core/Index/DocsEnum.cs                          | 2 ++
 src/Lucene.Net.Core/Util/Automaton/RegExp.cs                   | 2 ++
 4 files changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/3015c36b/src/Lucene.Net.Analysis.Common/Analysis/Cjk/CJKBigramFilter.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Cjk/CJKBigramFilter.cs b/src/Lucene.Net.Analysis.Common/Analysis/Cjk/CJKBigramFilter.cs
index 9a9c707..e5e67c0 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Cjk/CJKBigramFilter.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Cjk/CJKBigramFilter.cs
@@ -43,6 +43,8 @@ namespace Lucene.Net.Analysis.Cjk
     /// </summary>
     public sealed class CJKBigramFilter : TokenFilter
     {
+        // LUCENENET TODO: Make the following into a [Flags] enum
+
         // configuration
         /// <summary>
         /// bigram flag for Han Ideographs </summary>

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/3015c36b/src/Lucene.Net.Core/Index/DocsAndPositionsEnum.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Index/DocsAndPositionsEnum.cs b/src/Lucene.Net.Core/Index/DocsAndPositionsEnum.cs
index 6decd0b..453b93d 100644
--- a/src/Lucene.Net.Core/Index/DocsAndPositionsEnum.cs
+++ b/src/Lucene.Net.Core/Index/DocsAndPositionsEnum.cs
@@ -24,6 +24,8 @@ namespace Lucene.Net.Index
     /// Also iterates through positions. </summary>
     public abstract class DocsAndPositionsEnum : DocsEnum
     {
+        // LUCENENET TODO: Make the following into a [Flags] enum
+
         /// <summary>
         /// Flag to pass to <seealso cref="TermsEnum#docsAndPositions(Bits,DocsAndPositionsEnum,int)"/>
         ///  if you require offsets in the returned enum.

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/3015c36b/src/Lucene.Net.Core/Index/DocsEnum.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Index/DocsEnum.cs b/src/Lucene.Net.Core/Index/DocsEnum.cs
index 9856bf6..98ce7be 100644
--- a/src/Lucene.Net.Core/Index/DocsEnum.cs
+++ b/src/Lucene.Net.Core/Index/DocsEnum.cs
@@ -29,6 +29,8 @@ namespace Lucene.Net.Index
     /// </summary>
     public abstract class DocsEnum : DocIdSetIterator
     {
+        // LUCENENET TODO: Make the following into a [Flags] enum
+
         /// <summary>
         /// Flag to pass to <seealso cref="TermsEnum#docs(Bits,DocsEnum,int)"/> if
you don't
         /// require term frequencies in the returned enum. When passed to

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/3015c36b/src/Lucene.Net.Core/Util/Automaton/RegExp.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Util/Automaton/RegExp.cs b/src/Lucene.Net.Core/Util/Automaton/RegExp.cs
index db7dffc..49cba6a 100644
--- a/src/Lucene.Net.Core/Util/Automaton/RegExp.cs
+++ b/src/Lucene.Net.Core/Util/Automaton/RegExp.cs
@@ -334,6 +334,8 @@ namespace Lucene.Net.Util.Automaton
             REGEXP_INTERVAL
         }
 
+        // LUCENENET TODO: Make the following into a [Flags] enum
+
         /// <summary>
         /// Syntax flag, enables intersection (<tt>&amp;</tt>).
         /// </summary>


Mime
View raw message