lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nwelln...@apache.org
Subject [lucy-commits] [03/20] git commit: refs/heads/cfish-string-prep1 - Highlighter fixes
Date Sat, 07 Sep 2013 16:53:24 GMT
Highlighter fixes


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

Branch: refs/heads/cfish-string-prep1
Commit: 593dfe907945fbf464d1a22e1ac5c2e7954d5973
Parents: 1f51cae
Author: Nick Wellnhofer <wellnhofer@aevum.de>
Authored: Sat Sep 7 16:57:44 2013 +0200
Committer: Nick Wellnhofer <wellnhofer@aevum.de>
Committed: Sat Sep 7 18:12:45 2013 +0200

----------------------------------------------------------------------
 core/Lucy/Test/Highlight/TestHighlighter.c    | 2 +-
 perl/buildlib/Lucy/Build/Binding/Highlight.pm | 4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/593dfe90/core/Lucy/Test/Highlight/TestHighlighter.c
----------------------------------------------------------------------
diff --git a/core/Lucy/Test/Highlight/TestHighlighter.c b/core/Lucy/Test/Highlight/TestHighlighter.c
index f8fabc6..2539ad0 100644
--- a/core/Lucy/Test/Highlight/TestHighlighter.c
+++ b/core/Lucy/Test/Highlight/TestHighlighter.c
@@ -139,7 +139,7 @@ test_Raw_Excerpt(TestBatchRunner *runner, Searcher *searcher, Obj *query)
{
                                           heat_map);
     TEST_TRUE(runner,
               Str_Equals_Str(raw_excerpt, "abc/d" ELLIPSIS, 8),
-              "Long word at top %s");
+              "Long word at top");
     DECREF(heat_map);
     DECREF(raw_excerpt);
 

http://git-wip-us.apache.org/repos/asf/lucy/blob/593dfe90/perl/buildlib/Lucy/Build/Binding/Highlight.pm
----------------------------------------------------------------------
diff --git a/perl/buildlib/Lucy/Build/Binding/Highlight.pm b/perl/buildlib/Lucy/Build/Binding/Highlight.pm
index 90f47a6..7b675fc 100644
--- a/perl/buildlib/Lucy/Build/Binding/Highlight.pm
+++ b/perl/buildlib/Lucy/Build/Binding/Highlight.pm
@@ -90,10 +90,6 @@ END_CONSTRUCTOR
         class_name => "Lucy::Highlight::Highlighter",
     );
     $binding->bind_method(
-        alias  => '_find_best_fragment',
-        method => 'Find_Best_Fragment'
-    );
-    $binding->bind_method(
         alias  => '_raw_excerpt',
         method => 'Raw_Excerpt'
     );


Mime
View raw message