add FVH capability to solr-ruby

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@927489 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Koji Sekiguchi 2010-03-25 16:39:01 +00:00
parent f5bb9a6c57
commit e6e5b00533
1 changed files with 2 additions and 0 deletions

View File

@ -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]