Created
August 31, 2010 23:04
-
-
Save jrochkind/559939 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==== | |
= config.properties | |
==== | |
# solrmarc.solr.war.path - must point to either a war file for the version of Solr that | |
# you want to use, or to a directory of jar files extracted from a Solr war files. If | |
# this is not provided, SolrMarc can only work by communicating with a running Solr server. | |
# Uncomment war.path and solr.path only if you want solrmarc to manually | |
# write lucene indexes to disk. We do not! We want to use conventional | |
# communication with solr. | |
# Path to running solr server | |
#solrmarc.solr.war.path=/usr/share/jetty6/webapps/solr.war | |
# Path to your solr instance | |
#solr.path = /usr/share/jetty6/solr/dev | |
# Using the binary request handler is neccesary to get our Marc21 binary | |
# in uncorrupted, using HTTP Post. use_solr_server_proxy might be, not | |
# sure, but I think tells it to use SolrJ instead of the weird stuff | |
# it does by default, which is much better. | |
solrmarc.use_binary_request_handler = true | |
solrmarc.use_solr_server_proxy = true | |
# Make SolrMarc apply unicode NFC normalization when converting marc8 to utf8 | |
marc.unicode_normalize = C | |
solr.indexer = org.solrmarc.index.SolrIndexer | |
solr.indexer.properties = index.properties | |
#optional URL of running solr search engine to cause updates to be recognized. | |
solr.hosturl = http://localhost:8983/solr/prod/update | |
# Path to your marc file | |
marc.to_utf_8 = true | |
marc.permissive = true | |
marc.default_encoding = MARC8 | |
marc.include_errors = false | |
==== ALSO: NOTE WELL. By setting solr.hosturl and NOT some of those other wacky settings, I am implicitly forcing it to use the HTTP connection, NOT the EmbeddedSolr thing. I forget _exactly_ what settings end up effecting this, it's a complicated inter-relationship. But I know that's what I'm doing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment