I've committed some changes to solrb today. Of note:
* Solr::Request::Standard - I know the parameter handling is
ugly. It currently implements all of Solr's StandardRequestHandler
except the highlighting parameters. I'd love for this to be much
cleaner. If you have suggestions/patches I'm all for it!
* examples/marc - I've implemented a very simple MARC importer.
It's got mapping capabilities like this:
mapping = {
:id => Proc.new {|r| r['001'].value},
:subject_genre_facet => ['650v', '655a'],
:subject_era_facet => '650y',
:title_text => '245a'
}
* I've simplified the Solr schema used by solrb quite dramatically
in order to get a concrete start on a faceting front-end. Right now
the only fields the client should send are id, *_facet, and *_text.
*_text gets copied into text, so it can be used as a general-purpose
full-text search field. *_facet fields are not tokenized. I expect
my changes to be a dramatic over-simplification and that this will
evolve back up to handle other data types. I am keen on seeing how
clean we can keep the field naming conventions as these will be used
for name mappings back and forth to a Ruby domain model eventually.
Erik
p.s. Ed and Will, you guys on solr-dev? CC'd for good measure for now.