regex - Sunspot_Solr with Rails - How to setting slorconfig.xml highlighting output length -


i set gem 'sunspot_rails' , gem 'sunspot_solr' highlighting can correct output, sentence short.

i have tried change slorconfig.xml

<fragmenter name="regex" class="solr.highlight.regexfragmenter"> <int name="hl.fragsize">100</int> # before 70

command

bundle exec rake sunspot:solr:stop

bundle exec rake sunspot:solr:start

rake sunspot:solr:reindex

but without change.

command> reindex output

[simple form] simple form not configured in application , use default values. use rails generate simple_form:install generate simple form configuration. skipping progress bar: progress reporting, add gem 'progress_bar' gemfile

please me thanks!

ubuntu 14.04 ruby 2.1 rails 4.1


Comments

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -