lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [2/9] lucenenet git commit: Updated documentation for Anonymous Analyzer
Date Tue, 21 Mar 2017 21:25:54 GMT
Updated documentation for Anonymous Analyzer


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

Branch: refs/heads/api-work
Commit: c57e7bd98959ee6a6b2e0b4c68a9dbeff00696f7
Parents: 7beb5b9
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Tue Mar 21 16:25:20 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Tue Mar 21 16:25:20 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Core/Analysis/Analyzer.cs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c57e7bd9/src/Lucene.Net.Core/Analysis/Analyzer.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Analysis/Analyzer.cs b/src/Lucene.Net.Core/Analysis/Analyzer.cs
index 88f9796..f9f280b 100644
--- a/src/Lucene.Net.Core/Analysis/Analyzer.cs
+++ b/src/Lucene.Net.Core/Analysis/Analyzer.cs
@@ -33,7 +33,7 @@ namespace Lucene.Net.Analysis
     /// <para/>
     /// Simple example:
     /// <code>
-    /// Analyzer analyzer = new Analyzer.NewAnonymous((fieldName, reader) => 
+    /// Analyzer analyzer = Analyzer.NewAnonymous(createComponents: (fieldName, reader) =>

     /// {
     ///     Tokenizer source = new FooTokenizer(reader);
     ///     TokenStream filter = new FooFilter(source);
@@ -97,7 +97,7 @@ namespace Lucene.Net.Analysis
         /// method through the <paramref name="createComponents"/> argument.
         /// Simple example: 
         /// <code>
-        ///     var analyzer = Analyzer.NewAnonymous((fieldName, reader) => 
+        ///     var analyzer = Analyzer.NewAnonymous(createComponents: (fieldName, reader)
=> 
         ///     {
         ///         Tokenizer source = new FooTokenizer(reader);
         ///         TokenStream filter = new FooFilter(source);
@@ -124,7 +124,7 @@ namespace Lucene.Net.Analysis
         /// method through the <paramref name="createComponents"/> argument and allows
the use of a <see cref="ReuseStrategy"/>.
         /// Simple example: 
         /// <code>
-        ///     var analyzer = Analyzer.NewAnonymous((fieldName, reader) => 
+        ///     var analyzer = Analyzer.NewAnonymous(createComponents: (fieldName, reader)
=> 
         ///     {
         ///         Tokenizer source = new FooTokenizer(reader);
         ///         TokenStream filter = new FooFilter(source);


Mime
View raw message