Skip to content

Commit

Permalink
disabling facetson content and title fields as that makes no sense
Browse files Browse the repository at this point in the history
  • Loading branch information
mschoch committed Jul 30, 2012
1 parent 435c1be commit 9e5baa9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/models/article.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,14 @@ def self.search(term={}, options={})
end

# we may not want this, or at least use a different analyzer
search.facet "title" do
terms :title
end
#search.facet "title" do
# terms :title
#end

# we may not want this, or at least use a different analyzer
search.facet "content" do
terms :content
end
#search.facet "content" do
# terms :content
#end

search.facet "authors" do
terms :authors, :field => "authors.name"
Expand Down

0 comments on commit 9e5baa9

Please sign in to comment.