From e6e5b00533328f6bdb3762642ec4dbe4938973ed Mon Sep 17 00:00:00 2001 From: Koji Sekiguchi Date: Thu, 25 Mar 2010 16:39:01 +0000 Subject: [PATCH] add FVH capability to solr-ruby git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@927489 13f79535-47bb-0310-9956-ffa450edef68 --- solr/client/ruby/solr-ruby/lib/solr/request/standard.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/solr/client/ruby/solr-ruby/lib/solr/request/standard.rb b/solr/client/ruby/solr-ruby/lib/solr/request/standard.rb index e65110bda87..a5dd61e8352 100755 --- a/solr/client/ruby/solr-ruby/lib/solr/request/standard.rb +++ b/solr/client/ruby/solr-ruby/lib/solr/request/standard.rb @@ -307,6 +307,8 @@ class Solr::Request::Standard < Solr::Request::Select hash["hl.usePhraseHighlighter"] = @params[:highlighting][:use_phrase_highlighter] + hash["hl.useFastVectorHighlighter"] = @params[:highlighting][:use_fast_vector_highlighter] + regex = @params[:highlighting][:regex] if regex if regex[:slop]