lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [lucenenet] 02/02: Lucene.Net.Highligher.VectorHighlight.FieldPharseList: Fixed ambiguous Number reference.
Date Sat, 24 Jul 2021 10:08:21 GMT
This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git

commit ddddf53d42f2da82887b7341de8b4fa47c40a676
Author: Shad Storhaug <shad@shadstorhaug.com>
AuthorDate: Wed Jul 7 17:23:58 2021 +0700

    Lucene.Net.Highligher.VectorHighlight.FieldPharseList: Fixed ambiguous Number reference.
---
 src/Lucene.Net.Highlighter/VectorHighlight/FieldPhraseList.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Lucene.Net.Highlighter/VectorHighlight/FieldPhraseList.cs b/src/Lucene.Net.Highlighter/VectorHighlight/FieldPhraseList.cs
index e2afbce..f731181 100644
--- a/src/Lucene.Net.Highlighter/VectorHighlight/FieldPhraseList.cs
+++ b/src/Lucene.Net.Highlighter/VectorHighlight/FieldPhraseList.cs
@@ -379,7 +379,7 @@ namespace Lucene.Net.Search.VectorHighlight
             public override string ToString()
             {
                 StringBuilder sb = new StringBuilder();
-                sb.Append(GetText()).Append('(').Append(Number.ToString(boost)).Append(")(");
+                sb.Append(GetText()).Append('(').Append(Lucene.Net.Support.Number.ToString(boost)).Append(")(");
                 foreach (Toffs to in termsOffsets)
                 {
                     sb.Append(to);

Mime
View raw message