I have a RoR model with a boolean field:
field :active, :type => Boolean
Which is listed in the searchable block:
searchable do
boolean :active
And also in the search query:
s = Document.search do
with(:active, true)
end
And also in my Solr schema.xml file:
<field name="active_b" type="boolean" indexed="true" stored="true"/>
The issue is that my search is not restricting the results to only documents with active set to true. This is working in my local development environment but not in Heroku.
Any ideas?