We are using sunspot for search in our latest project. We also use devise and are indexing our user model as follows:
searchable do
text :fname
text :lname
text :email
text :description
text :twitter_username
end
With this setup, a user cannot even log in unless solr is running. This implies that on every save of the User model, there is some communication to our solr server (reindexing?), even if none of the searchable fields have changed. Is this correct?
We also have lots of other models which are being indexed by sunspot which have non-searchable fields that are updated frequently. It appears as though sunspot is reindexing them on all of these updates.
Is there way to configure sunspot to only interface with solr when a searchable field changes?