compass is nice: you install it and it just works. I was totally
impressed.
Can anyone suggest which one would perform/scale well Compass or Solr?
It depends on what your app looks like. If you need to update the index
from multiple computers at the same time (load balancing) - solr is the
much better approach.
If you can write your index all at once and it does not need to be
updated from *multiple* sources - you are fine with either approach.
If you don't need fine control of how fields are indexed, compass is
fine. Solr lets you configure things like stopwords, synonyms, soundex,
spellchecking.
You can't search across multiple types in a single query.
With solr you will need to explicitly write the Object -> Document
conversion. It does not have the nice annotated class helper (yet)
Has anyone tried to use a combination of Compass & Solr?
I am using a hibernate event watcher to automatically store stuff to
solr when an object is changed.
http://solrstuff.org/svn/solrj-hibernate/src/org/apache/solr/client/solrj/hibernate/SolrSync.java
The code is dependent on an old version of SOLR-20. I'll update it
later this week after SOLR-20 gets added to the official solr.