Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
heaven committed Jan 2, 2018
2 parents 7ed1f21 + c4cc039 commit 8a174cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ search = Post.search do
end
end

search.stats(:average_rating).facet(:featured).rows do |row|
search.stats(:average_rating).facet(:featured).rows.each do |row|
puts "Minimum average rating for featured=#{row.value}: #{row.min}"
end
```
Expand Down
4 changes: 2 additions & 2 deletions sunspot_solr/solr/solr/configsets/sunspot/conf/solrconfig.xml
Original file line number Diff line number Diff line change
Expand Up @@ -541,13 +541,13 @@
<!-- change field to textSpell and use copyField in schema.xml
to spellcheck multiple fields -->
<str name="field">textSpell</str>
<str name="buildOnCommit">true</str>
<str name="buildOnOptimize">true</str>
</lst>

<lst name="spellchecker">
<str name="name">example</str>
<str name="field">title_text</str>
<str name="buildOnCommit">true</str>
<str name="buildOnOptimize">true</str>
<str name="classname">solr.DirectSolrSpellChecker</str>
<!-- the spellcheck distance measure used, the default is the internal levenshtein -->
<str name="distanceMeasure">internal</str>
Expand Down

0 comments on commit 8a174cf

Please sign in to comment.