Created
April 1, 2014 17:23
-
-
Save seanupton/9918796 to your computer and use it in GitHub Desktop.
Solr plone buildout example
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
[buildout] | |
parts = | |
productdistros | |
instance | |
zopepy | |
solr-download | |
solr-instance | |
extends = | |
http://download.zope.org/Zope2/index/2.12.3/versions.cfg | |
http://dist.plone.org/release/4.0.1/versions.cfg | |
versions = versions | |
find-links = | |
http://dist.plone.org/release/4.0.1 | |
http://dist.plone.org/thirdparty | |
eggs = | |
alm.solrindex | |
develop = | |
download-cache = downloads | |
[productdistros] | |
recipe = plone.recipe.distros | |
urls = | |
nested-packages = | |
version-suffix-packages = | |
[instance] | |
recipe = plone.recipe.zope2instance | |
user = admin:admin | |
http-address = 8280 | |
#debug-mode = on | |
#verbose-security = on | |
blob-storage = var/blobstorage | |
eggs = | |
Zope2 | |
Plone | |
${buildout:eggs} | |
environment-vars = | |
zope_i18n_compile_mo_files true | |
zcml = alm.solrindex | |
products = | |
${buildout:directory}/products | |
${productdistros:location} | |
environment-vars = | |
SOLR_URI http://localhost:8988/solr | |
[zopepy] | |
recipe = zc.recipe.egg | |
eggs = ${instance:eggs} | |
interpreter = zopepy | |
scripts = zopepy | |
[solr-download] | |
recipe = hexagonit.recipe.download | |
url = http://apache.cs.utah.edu/lucene/solr/1.4.0/apache-solr-1.4.0.tgz | |
md5sum = 1cc3783316aa1f95ba5e250a4c1d0451 | |
strip-top-level-dir = true | |
[solr-instance] | |
recipe = collective.recipe.solrinstance | |
solr-location = ${solr-download:location} | |
host = localhost | |
port = 8988 | |
basepath = /solr | |
max-num-results = 1000000 | |
default-search-field = SearchableText | |
unique-key = docid | |
index = | |
name:docid type:integer stored:true required:true | |
name:SearchableText type:text stored:false | |
name:Title type:text stored:true | |
name:Description type:text stored:false | |
name:Subject type:string stored:true multiValued:true required:false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment