On Nov 13, 2009, at 4:05 PM, pascal wrote:
>
> Do i get this right?
Almost
>
> - I setup SOLR to work with fedora
See the activefedora installation docs for ideas about how to set up
solr.
> - I index pid and mDate in Solr, trough either activefedora or JMS
> (JMS preferred since no polling involved)
Write your updater -- the thing that reads objects from fedora and
pushes chosen metadata into solr -- using activefedora.
Trigger the updater however you see fit. The easiest option is to
manually run it from the command line. Slightly more complicated, but
still really easy, add a JMA/Stomp listener that triggers the indexer
when fedora sends out JMS messages about changes.
> - I use activefedora to query for deltas in SOLR index and receive a
> list of pids
You don't need activefedora for this. Go directly to solr using rsolr
or solr-ruby (or whatever solr client library you want).
> - I use activefedora to get objects from fedora repository by pid
> found
Yes.
> - I'm happy
Happiness comes from within.