lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [05/10] lucenenet git commit: Lucene.Net.Facet.Taxonomy: Fixed documentation and ToString() method of Field subclasses
Date Fri, 13 Oct 2017 11:10:02 GMT
Lucene.Net.Facet.Taxonomy: Fixed documentation and ToString() method of Field subclasses


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

Branch: refs/heads/master
Commit: 62c64075ca750d104f675b03560b41125aaf80f3
Parents: 39fdf80
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Thu Oct 5 00:27:23 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Thu Oct 5 00:27:23 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Facet/Taxonomy/AssociationFacetField.cs      | 4 ++--
 src/Lucene.Net.Facet/Taxonomy/FloatAssociationFacetField.cs | 6 +++---
 src/Lucene.Net.Facet/Taxonomy/IntAssociationFacetField.cs   | 6 +++---
 3 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/62c64075/src/Lucene.Net.Facet/Taxonomy/AssociationFacetField.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Facet/Taxonomy/AssociationFacetField.cs b/src/Lucene.Net.Facet/Taxonomy/AssociationFacetField.cs
index 5085ea1..0097278 100644
--- a/src/Lucene.Net.Facet/Taxonomy/AssociationFacetField.cs
+++ b/src/Lucene.Net.Facet/Taxonomy/AssociationFacetField.cs
@@ -32,8 +32,8 @@ namespace Lucene.Net.Facet.Taxonomy
     /// implementation at search time; see <see cref="Int32AssociationFacetField"/>

     /// and <see cref="SingleAssociationFacetField"/> to use existing 
     /// <see cref="Facets"/> implementations.
-    /// 
-    ///  @lucene.experimental 
+    /// <para/>
+    /// @lucene.experimental 
     /// </summary>
     public class AssociationFacetField : Field
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/62c64075/src/Lucene.Net.Facet/Taxonomy/FloatAssociationFacetField.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Facet/Taxonomy/FloatAssociationFacetField.cs b/src/Lucene.Net.Facet/Taxonomy/FloatAssociationFacetField.cs
index eb54233..ec2da0f 100644
--- a/src/Lucene.Net.Facet/Taxonomy/FloatAssociationFacetField.cs
+++ b/src/Lucene.Net.Facet/Taxonomy/FloatAssociationFacetField.cs
@@ -29,8 +29,8 @@ namespace Lucene.Net.Facet.Taxonomy
     /// to aggregate <see cref="float"/> values per facet label at search time.
     /// <para/>
     /// NOTE: This was FloatAssociationFacetField in Lucene
-    /// 
-    ///  @lucene.experimental 
+    /// <para/>
+    /// @lucene.experimental 
     /// </summary>
     public class SingleAssociationFacetField : AssociationFacetField
     {
@@ -65,7 +65,7 @@ namespace Lucene.Net.Facet.Taxonomy
 
         public override string ToString()
         {
-            return "FloatAssociationFacetField(dim=" + Dim + " path=" + Arrays.ToString(Path)
+ 
+            return "SingleAssociationFacetField(dim=" + Dim + " path=" + Arrays.ToString(Path)
+ 
                 " value=" + BytesRefToSingle(Assoc).ToString("0.0#####", CultureInfo.InvariantCulture)
+ ")";
         }
     }

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/62c64075/src/Lucene.Net.Facet/Taxonomy/IntAssociationFacetField.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Facet/Taxonomy/IntAssociationFacetField.cs b/src/Lucene.Net.Facet/Taxonomy/IntAssociationFacetField.cs
index c657976..9e13e03 100644
--- a/src/Lucene.Net.Facet/Taxonomy/IntAssociationFacetField.cs
+++ b/src/Lucene.Net.Facet/Taxonomy/IntAssociationFacetField.cs
@@ -28,8 +28,8 @@ namespace Lucene.Net.Facet.Taxonomy
     /// to aggregate int values per facet label at search time.
     /// <para/>
     /// NOTE: This was IntAssociationFacetField in Lucene
-    /// 
-    ///  @lucene.experimental 
+    /// <para/>
+    /// @lucene.experimental 
     /// </summary>
     public class Int32AssociationFacetField : AssociationFacetField
     {
@@ -72,7 +72,7 @@ namespace Lucene.Net.Facet.Taxonomy
 
         public override string ToString()
         {
-            return "IntAssociationFacetField(dim=" + Dim + " path=" + Arrays.ToString(Path)
+ " value=" + BytesRefToInt32(Assoc) + ")";
+            return "Int32AssociationFacetField(dim=" + Dim + " path=" + Arrays.ToString(Path)
+ " value=" + BytesRefToInt32(Assoc) + ")";
         }
     }
 }
\ No newline at end of file


Mime
View raw message