doesn't compass use multiple indexes?
yes, compass creates an index for each 'type' it handles. I 'think'
you could point solr to it as long as you know that limitation.
I started using compass a few months back. It is an amazing system:
with almost no effort, it just works. BUT the showstopper (for me)
was that you could not easily update the index from multiple machines.
Compass lets you put the lucene indexes in SQL with JDBC, but this
felt wrong.... then i found solr, and it solves most things.
I am working on a hibernate-solr bridge that will behave like the
compass Hibernate3GpsDevice. It gets a callback from hibernate when
an object is stored, checks if it is 'SolrDocumentable' and sends it
to solr using the client library from:
http://issues.apache.org/jira/browse/SOLR-20 (solr-client.zip)
If your interested, i can send you my initial version... when i'm
further along, i'll try to post it to solr/client/java
That would be great - we're also facing the same issue of rolling our
own code to keep a Solr index in sync with a MySQL DB that we access
via Hibernate.
Thanks!
-- Ken
--
Ken Krugler
Krugle, Inc.
+1 530-210-6378
"Find Code, Find Answers"