Use one Solr instance for two Rails apps
问题 I have a server set up with several Rails apps, two of which are using Solr Sunspot. However, Solr is returning irrelevant results for a given search, and I believe the problem boils down to not having separated Solr/Sunspot to handle two Rails apps. I have this in one app: class Article < ActiveRecord::Base searchable do text :title, :boost => 2.0 text :body do strip_tags body end time :created_at end end and this in the other: class Article < ActiveRecord::Base searchable do text :title,