Skip to content

Commit

Permalink
Add stub implementation for Blacklight::Document#more_like_this, whic…
Browse files Browse the repository at this point in the history
…h is called from the blacklight UI
  • Loading branch information
cbeer committed Mar 20, 2015
1 parent 3372ed4 commit cbee004
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/blacklight/document.rb
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,12 @@ def highlight_field k
nil
end

##
# Implementations that support More-Like-This should override this method
# to return an array of documents that are like this one.
def more_like_this
[]
end

# Certain class-level methods needed for the document-specific
# extendability architecture
Expand Down

0 comments on commit cbee004

Please sign in to comment.