add some additional facet mappings to MARC importer example

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@499216 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2007-01-24 02:57:50 +00:00
parent 1c227b2393
commit 2f37fb1633
1 changed files with 5 additions and 3 deletions

View File

@ -26,11 +26,13 @@ mapping = {
# String = 3 digit control field number or 3 digit data field number + subfield letter
:id => '001',
:subject_genre_facet => ['600v', '610v', '611v', '651v', '650v', '655a'],
:subject_era_facet => ['650y', '651y'],
:subject_topic_facet => ['650a', '650x'],
:subject_genre_facet => ['600v', '610v', '611v', '650v', '651v', '655a'],
:subject_era_facet => ['650d', '650y', '651y', '655y'],
:subject_topic_facet => ['650a', '650b', '650x'],
:subject_geographic_facet => ['650c', '650z', '651a', '651x', '651z', '655z'],
:title_text => '245a',
:author_text => '100a',
# :call_number => '050a',
}
connection = Solr::Connection.new(solr_url)