Author: shijh
Date: Sun Aug 30 13:27:07 2015 New Revision: 1700119 URL: http://svn.apache.org/r1700119 Log: OFBIZ-5042 Apache Solr Implementation. 1. Put the patch into trunk. 2. Added access control to solr /admin/ pages. 3. Upgraded solr to 4.9.0 to match Lucene version in trunk. 4. Removed solr.solr.home, used SolrResourceLoader loader = new SolrResourceLoader("specialpurpose/solr/conf"); instead. Added: ofbiz/trunk/runtime/indexes/index.properties (with props) ofbiz/trunk/specialpurpose/solr/ (with props) ofbiz/trunk/specialpurpose/solr/build.xml (with props) ofbiz/trunk/specialpurpose/solr/conf/ ofbiz/trunk/specialpurpose/solr/conf/solr.xml (with props) ofbiz/trunk/specialpurpose/solr/config/ ofbiz/trunk/specialpurpose/solr/config/solrconfig.properties (with props) ofbiz/trunk/specialpurpose/solr/entitydef/ ofbiz/trunk/specialpurpose/solr/entitydef/eecas.xml (with props) ofbiz/trunk/specialpurpose/solr/lib/ ofbiz/trunk/specialpurpose/solr/lib/compile/ ofbiz/trunk/specialpurpose/solr/lib/compile/solr-core-4.9.0.jar (with props) ofbiz/trunk/specialpurpose/solr/lib/compile/solr-solrj-4.9.0.jar (with props) ofbiz/trunk/specialpurpose/solr/lib/runtime/ ofbiz/trunk/specialpurpose/solr/lib/runtime/guava-14.0.1.jar (with props) ofbiz/trunk/specialpurpose/solr/lib/runtime/joda-time-2.2.jar (with props) ofbiz/trunk/specialpurpose/solr/lib/runtime/lucene-analyzers-common-4.9.0.jar (with props) ofbiz/trunk/specialpurpose/solr/lib/runtime/lucene-codecs-4.9.0.jar (with props) ofbiz/trunk/specialpurpose/solr/lib/runtime/lucene-highlighter-4.9.0.jar (with props) ofbiz/trunk/specialpurpose/solr/lib/runtime/lucene-join-4.9.0.jar (with props) ofbiz/trunk/specialpurpose/solr/lib/runtime/lucene-queries-4.9.0.jar (with props) ofbiz/trunk/specialpurpose/solr/lib/runtime/lucene-spatial-4.9.0.jar (with props) ofbiz/trunk/specialpurpose/solr/lib/runtime/lucene-suggest-4.9.0.jar (with props) ofbiz/trunk/specialpurpose/solr/lib/runtime/noggit-0.5.jar (with props) ofbiz/trunk/specialpurpose/solr/lib/runtime/org.restlet-2.1.1.jar (with props) ofbiz/trunk/specialpurpose/solr/lib/runtime/org.restlet.ext.servlet-2.1.1.jar (with props) ofbiz/trunk/specialpurpose/solr/lib/runtime/spatial4j-0.4.1.jar (with props) ofbiz/trunk/specialpurpose/solr/lib/runtime/zookeeper-3.4.6.jar (with props) ofbiz/trunk/specialpurpose/solr/ofbiz-component.xml (with props) ofbiz/trunk/specialpurpose/solr/servicedef/ ofbiz/trunk/specialpurpose/solr/servicedef/secas.xml (with props) ofbiz/trunk/specialpurpose/solr/servicedef/solrservices.xml (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/ ofbiz/trunk/specialpurpose/solr/solrdefault/conf/ ofbiz/trunk/specialpurpose/solr/solrdefault/conf/_schema_analysis_stopwords_english.json ofbiz/trunk/specialpurpose/solr/solrdefault/conf/_schema_analysis_synonyms_english.json ofbiz/trunk/specialpurpose/solr/solrdefault/conf/admin-extra.html (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/admin-extra.menu-bottom.html (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/admin-extra.menu-top.html (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/clustering/ ofbiz/trunk/specialpurpose/solr/solrdefault/conf/clustering/carrot2/ ofbiz/trunk/specialpurpose/solr/solrdefault/conf/clustering/carrot2/kmeans-attributes.xml (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/clustering/carrot2/lingo-attributes.xml (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/clustering/carrot2/stc-attributes.xml (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/currency.xml (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/elevate.xml (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/ ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/contractions_ca.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/contractions_fr.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/contractions_ga.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/contractions_it.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/hyphenations_ga.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stemdict_nl.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stoptags_ja.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_ar.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_bg.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_ca.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_ckb.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_cz.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_da.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_de.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_el.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_en.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_es.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_eu.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_fa.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_fi.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_fr.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_ga.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_gl.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_hi.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_hu.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_hy.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_id.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_it.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_ja.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_lv.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_nl.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_no.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_pt.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_ro.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_ru.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_sv.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_th.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/stopwords_tr.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/lang/userdict_ja.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/mapping-FoldToASCII.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/mapping-ISOLatin1Accent.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/protwords.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/schema.xml (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/scripts.conf ofbiz/trunk/specialpurpose/solr/solrdefault/conf/solrconfig.xml (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/spellings.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/stopwords.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/synonyms.txt (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/update-script.js (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/xslt/ ofbiz/trunk/specialpurpose/solr/solrdefault/conf/xslt/example.xsl (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/xslt/example_atom.xsl (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/xslt/example_rss.xsl (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/xslt/luke.xsl (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/conf/xslt/updateXml.xsl (with props) ofbiz/trunk/specialpurpose/solr/solrdefault/core.properties (with props) ofbiz/trunk/specialpurpose/solr/src/ ofbiz/trunk/specialpurpose/solr/src/org/ ofbiz/trunk/specialpurpose/solr/src/org/ofbiz/ ofbiz/trunk/specialpurpose/solr/src/org/ofbiz/solr/ ofbiz/trunk/specialpurpose/solr/src/org/ofbiz/solr/CategoryUtil.java (with props) ofbiz/trunk/specialpurpose/solr/src/org/ofbiz/solr/ProductUtil.java (with props) ofbiz/trunk/specialpurpose/solr/src/org/ofbiz/solr/SolrProductSearch.java (with props) ofbiz/trunk/specialpurpose/solr/src/org/ofbiz/solr/SolrUtil.java (with props) ofbiz/trunk/specialpurpose/solr/src/org/ofbiz/solr/control/ ofbiz/trunk/specialpurpose/solr/src/org/ofbiz/solr/control/OFBizSolrLoginWorker.java (with props) ofbiz/trunk/specialpurpose/solr/src/org/ofbiz/solr/webapp/ ofbiz/trunk/specialpurpose/solr/src/org/ofbiz/solr/webapp/OFBizSolrContextFilter.java (with props) ofbiz/trunk/specialpurpose/solr/src/org/ofbiz/solr/webapp/OFBizSolrLoadAdminUiServlet.java (with props) ofbiz/trunk/specialpurpose/solr/src/org/ofbiz/solr/webapp/OFBizSolrRedirectServlet.java (with props) ofbiz/trunk/specialpurpose/solr/webapp/ ofbiz/trunk/specialpurpose/solr/webapp/solr/ ofbiz/trunk/specialpurpose/solr/webapp/solr/META-INF/ ofbiz/trunk/specialpurpose/solr/webapp/solr/META-INF/LICENSE.txt (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/META-INF/MANIFEST.MF (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/META-INF/NOTICE.txt (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/ ofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/controller.xml (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/lib/ ofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/lib/antlr-runtime-3.5.jar (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/lib/asm-4.1.jar (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/lib/asm-commons-4.1.jar (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/lib/commons-cli-1.2.jar (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/lib/commons-configuration-1.6.jar (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/lib/concurrentlinkedhashmap-lru-1.2.jar (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/lib/hadoop-annotations-2.2.0.jar (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/lib/hadoop-auth-2.2.0.jar (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/lib/hadoop-common-2.2.0.jar (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/lib/hadoop-hdfs-2.2.0.jar (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/lib/hppc-0.5.2.jar (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/lib/httpmime-4.3.1.jar (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/lib/lucene-analyzers-kuromoji-4.9.0.jar (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/lib/lucene-analyzers-phonetic-4.9.0.jar (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/lib/lucene-expressions-4.9.0.jar (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/lib/lucene-grouping-4.9.0.jar (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/lib/lucene-memory-4.9.0.jar (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/lib/lucene-misc-4.9.0.jar (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/lib/protobuf-java-2.5.0.jar (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/lib/wstx-asl-3.2.7.jar (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/web.xml (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/admin.html (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/css/ ofbiz/trunk/specialpurpose/solr/webapp/solr/css/chosen.css (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/css/styles/ ofbiz/trunk/specialpurpose/solr/webapp/solr/css/styles/analysis.css (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/css/styles/cloud.css (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/css/styles/common.css (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/css/styles/cores.css (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/css/styles/dashboard.css (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/css/styles/dataimport.css (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/css/styles/documents.css (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/css/styles/files.css (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/css/styles/index.css (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/css/styles/java-properties.css (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/css/styles/logging.css (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/css/styles/menu.css (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/css/styles/plugins.css (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/css/styles/query.css (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/css/styles/replication.css (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/css/styles/schema-browser.css (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/css/styles/threads.css (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/error/ ofbiz/trunk/specialpurpose/solr/webapp/solr/error/error.jsp (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ZeroClipboard.swf (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/chosen-sprite.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/div.gif (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/favicon.ico (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/ ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/7z.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/README (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/ai.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/aiff.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/asc.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/audio.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/bin.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/bz2.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/c.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/cfc.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/cfm.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/chm.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/class.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/conf.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/cpp.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/cs.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/css.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/csv.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/deb.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/divx.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/doc.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/dot.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/eml.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/enc.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/file.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/gif.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/gz.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/hlp.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/htm.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/html.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/image.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/iso.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/jar.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/java.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/jpeg.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/jpg.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/js.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/lua.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/m.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/mm.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/mov.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/mp3.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/mpg.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/odc.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/odf.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/odg.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/odi.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/odp.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/ods.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/odt.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/ogg.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/pdf.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/pgp.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/php.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/pl.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/png.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/ppt.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/ps.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/py.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/ram.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/rar.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/rb.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/rm.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/rpm.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/rtf.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/sig.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/sql.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/swf.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/sxc.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/sxd.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/sxi.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/sxw.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/tar.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/tex.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/tgz.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/txt.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/vcf.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/video.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/vsd.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/wav.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/wma.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/wmv.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/xls.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/xml.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/xpi.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/xvid.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/filetypes/zip.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/ ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/arrow-000-small.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/arrow-circle.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/arrow-switch.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/asterisk.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/battery.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/block-small.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/block.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/book-open-text.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/box.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/bug.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/chart.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/chevron-small-expand.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/chevron-small.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/clipboard-list.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/clipboard-paste-document-text.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/clipboard-paste.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/clock-select-remain.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/clock-select.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/construction.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/cross-0.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/cross-1.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/cross-button.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/cross.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/dashboard.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/database--plus.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/database.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/databases.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/disk-black.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/document-convert.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/document-import.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/document-list.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/document-text.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/documents-stack.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/download-cloud.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/drive-upload.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/exclamation-button.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/eye.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/folder-export.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/folder-tree.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/folder.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/funnel-small.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/funnel.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/gear.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/globe-network.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/globe.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/hammer-screwdriver.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/hammer.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/hand.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/highlighter-text.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/home.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/hourglass--exclamation.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/hourglass.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/inbox-document-text.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/information-button.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/information-small.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/information-white.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/information.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/jar.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/magnifier.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/mail.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/memory.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/minus-button.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/molecule.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/network-cloud.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/network-status-away.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/network-status-busy.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/network-status-offline.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/network-status.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/network.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/node-design.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/node-master.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/node-select.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/node-slave.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/node.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/pencil-small.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/pencil.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/plus-button.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/processor.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/prohibition.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/property.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/question-small-white.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/question-white.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/question.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/receipt-invoice.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/receipt.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/script-code.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/server-cast.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/server.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/sitemap.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/slash.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/status-away.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/status-busy.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/status-offline.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/status.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/system-monitor--exclamation.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/system-monitor.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/table.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/terminal.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/tick-circle.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/tick-red.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/tick.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/toggle-small-expand.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/toggle-small.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/toolbox.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/ui-accordion.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/ui-address-bar.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/ui-check-box-uncheck.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/ui-check-box.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/ui-radio-button-uncheck.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/ui-radio-button.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/ui-text-field-select.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/users.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/wooden-box.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/ico/zone.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/loader-light.gif (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/loader.gif (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/lucene-ico.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/solr-ico.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/solr.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/img/tree.png (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/ ofbiz/trunk/specialpurpose/solr/webapp/solr/js/lib/ ofbiz/trunk/specialpurpose/solr/webapp/solr/js/lib/ZeroClipboard.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/lib/chosen.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/lib/console.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/lib/d3.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/lib/highlight.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/lib/jquery-1.7.2.min.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/lib/jquery.ajaxfileupload.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/lib/jquery.blockUI.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/lib/jquery.cookie.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/lib/jquery.form.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/lib/jquery.jstree.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/lib/jquery.sammy.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/lib/jquery.timeago.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/lib/linker.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/lib/order.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/main.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/require.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/scripts/ ofbiz/trunk/specialpurpose/solr/webapp/solr/js/scripts/analysis.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/scripts/app.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/scripts/cloud.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/scripts/cores.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/scripts/dashboard.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/scripts/dataimport.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/scripts/documents.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/scripts/files.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/scripts/index.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/scripts/java-properties.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/scripts/logging.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/scripts/ping.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/scripts/plugins.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/scripts/query.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/scripts/replication.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/scripts/schema-browser.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/js/scripts/threads.js (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/tpl/ ofbiz/trunk/specialpurpose/solr/webapp/solr/tpl/analysis.html (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/tpl/cloud.html (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/tpl/cores.html (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/tpl/dashboard.html (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/tpl/dataimport.html (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/tpl/documents.html (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/tpl/files.html (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/tpl/index.html (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/tpl/logging.html (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/tpl/plugins.html (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/tpl/query.html (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/tpl/replication.html (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/tpl/schema-browser.html (with props) ofbiz/trunk/specialpurpose/solr/webapp/solr/tpl/threads.html (with props) Modified: ofbiz/trunk/.classpath ofbiz/trunk/specialpurpose/build.xml ofbiz/trunk/specialpurpose/component-load.xml Modified: ofbiz/trunk/.classpath URL: http://svn.apache.org/viewvc/ofbiz/trunk/.classpath?rev=1700119&r1=1700118&r2=1700119&view=diff ============================================================================== --- ofbiz/trunk/.classpath (original) +++ ofbiz/trunk/.classpath Sun Aug 30 13:27:07 2015 @@ -56,6 +56,7 @@ <classpathentry kind="lib" path="framework/base/lib/xml-apis-ext-1.3.04.jar"/> <classpathentry kind="lib" path="framework/base/lib/xpp3-1.1.4c.jar"/> <classpathentry kind="lib" path="framework/base/lib/xstream-1.4.6.jar"/> + <classpathentry kind="lib" path="framework/base/lib/zxing-core-3.2.0.jar"/> <classpathentry kind="lib" path="framework/base/lib/ant/ant-1.9.0-ant-apache-bsf.jar"/> <classpathentry kind="lib" path="framework/base/lib/commons/commons-beanutils-core-1.8.3.jar"/> <classpathentry kind="lib" path="framework/base/lib/commons/commons-codec-1.10.jar"/> @@ -137,7 +138,8 @@ <classpathentry kind="lib" path="specialpurpose/lucene/lib/lucene-analyzers-common-4.9.0.jar"/> <classpathentry kind="lib" path="specialpurpose/lucene/lib/lucene-core-4.9.0.jar"/> <classpathentry kind="lib" path="specialpurpose/lucene/lib/lucene-queryparser-4.9.0.jar"/> - <classpathentry kind="lib" path="framework/base/lib/zxing-core-3.2.0.jar"/> + <classpathentry kind="lib" path="specialpurpose/solr/lib/compile/solr-core-4.9.0.jar"/> + <classpathentry kind="lib" path="specialpurpose/solr/lib/compile/solr-solrj-4.9.0.jar"/> <classpathentry excluding="org/ofbiz/accounting/thirdparty/cybersource/**|org/ofbiz/accounting/thirdparty/verisign/**|org/ofbiz/accounting/thirdparty/paypal/PayPalServices.java|org/ofbiz/accounting/thirdparty/orbital/**|org/ofbiz/accounting/thirdparty/securepay/**|org/ofbiz/accounting/thirdparty/ideal/**" kind="src" path="applications/accounting/src"/> <classpathentry excluding="org/ofbiz/content/openoffice/|org/ofbiz/content/report/" kind="src" path="applications/content/src"/> <classpathentry kind="src" path="applications/manufacturing/src"/> @@ -179,6 +181,7 @@ <classpathentry kind="src" path="specialpurpose/pos/src"/> <classpathentry kind="src" path="specialpurpose/projectmgr/src"/> <classpathentry kind="src" path="specialpurpose/scrum/src"/> + <classpathentry kind="src" path="specialpurpose/solr/src"/> <classpathentry kind="src" path="specialpurpose/webpos/src"/> <classpathentry kind="src" path="specialpurpose/passport/src"/> <classpathentry exported="true" kind="con" path="GROOVY_SUPPORT"/> Added: ofbiz/trunk/runtime/indexes/index.properties URL: http://svn.apache.org/viewvc/ofbiz/trunk/runtime/indexes/index.properties?rev=1700119&view=auto ============================================================================== --- ofbiz/trunk/runtime/indexes/index.properties (added) +++ ofbiz/trunk/runtime/indexes/index.properties Sun Aug 30 13:27:07 2015 @@ -0,0 +1,22 @@ +############################################################################### +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +############################################################################### + +# the default index path for solr, if this is not set or set wrong, ./index will be used as the default index path +# see http://lucene.apache.org/solr/5_3_0/solr-core/org/apache/solr/core/SolrCore.html#getNewIndexDir() +index=products Propchange: ofbiz/trunk/runtime/indexes/index.properties ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/runtime/indexes/index.properties ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/runtime/indexes/index.properties ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: ofbiz/trunk/specialpurpose/build.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/build.xml?rev=1700119&r1=1700118&r2=1700119&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/build.xml (original) +++ ofbiz/trunk/specialpurpose/build.xml Sun Aug 30 13:27:07 2015 @@ -32,6 +32,7 @@ hhfacility/build.xml, ldap/build.xml, lucene/build.xml, + solr/build.xml, oagis/build.xml, pos/build.xml, projectmgr/build.xml, Modified: ofbiz/trunk/specialpurpose/component-load.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/component-load.xml?rev=1700119&r1=1700118&r2=1700119&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/component-load.xml (original) +++ ofbiz/trunk/specialpurpose/component-load.xml Sun Aug 30 13:27:07 2015 @@ -21,6 +21,7 @@ under the License. <component-loader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/component-loader.xsd"> <load-component component-location="lucene"/> + <load-component component-location="solr"/> <load-component component-location="ecommerce"/> <load-component component-location="pos"/> <load-component component-location="hhfacility"/> Propchange: ofbiz/trunk/specialpurpose/solr/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Sun Aug 30 13:27:07 2015 @@ -0,0 +1 @@ +build Added: ofbiz/trunk/specialpurpose/solr/build.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/build.xml?rev=1700119&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/solr/build.xml (added) +++ ofbiz/trunk/specialpurpose/solr/build.xml Sun Aug 30 13:27:07 2015 @@ -0,0 +1,83 @@ +<?xml version="1.0"?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +<project name="OFBiz - Solr Component" default="jar" basedir="."> + <import file="../../common.xml"/> + + <!-- ================================================================== --> + <!-- Initialization of all property settings --> + <!-- ================================================================== --> + + <property name="desc" value="Solr Component"/> + <property name="name" value="ofbiz-solr"/> + <property name="ofbiz.home.dir" value="../.."/> + <property name="src.dir" value="src" /> + <property name="dtd.dir" value="dtd" /> + <property name="lib.dir" value="lib" /> + <property name="build.dir" value="build" /> + + <path id="local.class.path"> + <fileset dir="${lib.dir}/compile" includes="*.jar"/> + <fileset dir="../../framework/base/lib" includes="*.jar"/> + <fileset dir="../../framework/base/lib/commons" includes="*.jar"/> + <fileset dir="../../framework/base/lib/j2eespecs" includes="*.jar"/> + <fileset dir="../../framework/base/lib/scripting" includes="*.jar"/> + <fileset dir="../../framework/base/build/lib" includes="*.jar"/> + <fileset dir="../../framework/entity/lib" includes="*.jar"/> + <fileset dir="../../framework/entity/build/lib" includes="*.jar"/> + <fileset dir="../../framework/security/build/lib" includes="*.jar"/> + <fileset dir="../../framework/service/lib" includes="*.jar"/> + <fileset dir="../../framework/service/build/lib" includes="*.jar"/> + <fileset dir="../../framework/minilang/build/lib" includes="*.jar"/> + <fileset dir="../../framework/common/build/lib" includes="*.jar"/> + <fileset dir="../../framework/webapp/build/lib" includes="*.jar"/> + <fileset dir="../../applications/party/build/lib" includes="*.jar"/> + <fileset dir="../../applications/product/build/lib" includes="*.jar"/> + <fileset dir="../../applications/marketing/build/lib" includes="*.jar"/> + <fileset dir="../../applications/order/build/lib" includes="*.jar"/> + <fileset dir="../../applications/accounting/build/lib" includes="*.jar"/> + </path> + + <target name="check-uiloginservice"> + <available file="uiloginservice.build.xml" property="uiloginservice.present"/> + </target> + + <target name="build-uiloginservice"> + <subant target="make.repo"> + <file file="uiloginservice.build.xml"/> + </subant> + </target> + + <target name="build"> + <antcall target="jar"/> + <antcall target="build-uiloginservice"/> + </target> + + <target name="clean-uiloginservice" depends="check-uiloginservice" if="uiloginservice.present"> + <subant target="clean"> + <file file="uiloginservice.build.xml"/> + </subant> + </target> + + <target name="clean"> + <delete dir="${build.dir}"/> + <antcall target="clean-uiloginservice"/> + </target> +</project> Propchange: ofbiz/trunk/specialpurpose/solr/build.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/solr/build.xml ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/solr/build.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: ofbiz/trunk/specialpurpose/solr/conf/solr.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/conf/solr.xml?rev=1700119&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/solr/conf/solr.xml (added) +++ ofbiz/trunk/specialpurpose/solr/conf/solr.xml Sun Aug 30 13:27:07 2015 @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<!-- + This is an example of a simple "solr.xml" file for configuring one or + more Solr Cores, as well as allowing Cores to be added, removed, and + reloaded via HTTP requests. + + More information about options available in this configuration file, + and Solr Core administration can be found online: + http://wiki.apache.org/solr/CoreAdmin +--> + +<solr persistent="false"> + + <!-- + adminPath: RequestHandler path to manage cores. + If 'null' (or absent), cores will not be manageable via request handler + --> + <cores adminPath="/admin/cores" shareSchema="true"> + <core name="solrdefault" instanceDir="../solrdefault/" /> + </cores> + +</solr> Propchange: ofbiz/trunk/specialpurpose/solr/conf/solr.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/solr/conf/solr.xml ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/solr/conf/solr.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: ofbiz/trunk/specialpurpose/solr/config/solrconfig.properties URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/config/solrconfig.properties?rev=1700119&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/solr/config/solrconfig.properties (added) +++ ofbiz/trunk/specialpurpose/solr/config/solrconfig.properties Sun Aug 30 13:27:07 2015 @@ -0,0 +1,36 @@ +############################################################################### +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +############################################################################### +# Solr configuration for custom OFBiz solr modules + +# Webapp access details +solr.webapp.protocol=http +solr.webapp.domainName=localhost +# By default, port is same as OFBiz server, but can be overridden here. +solr.webapp.portOverride= +solr.webapp.path=/solr + +# Global solr ECA service toggling +# Set to true to enable solr indexing using ECAs/SECAs. +# If set to false, solr services meant to be triggered by ECA/SECA will not execute and will "succeed" silently. +# This setting is equivalent to but overridden by the "ofbiz.solr.eca.enabled" system property. +solr.eca.enabled=false + +# If true, connection errors during ECAs/SECAs are treated as warnings/failures rather than errors. +# If false, connection errors are treated as errors, and parent transactions are aborted. +solr.eca.treatConnectErrorNonFatal=true \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/solr/config/solrconfig.properties ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/solr/config/solrconfig.properties ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/solr/config/solrconfig.properties ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/solr/entitydef/eecas.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/entitydef/eecas.xml?rev=1700119&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/solr/entitydef/eecas.xml (added) +++ ofbiz/trunk/specialpurpose/solr/entitydef/eecas.xml Sun Aug 30 13:27:07 2015 @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +<entity-eca xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/entity-eca.xsd"> + + <!-- + Sorl Product indexing stock/example ECAs + If enabled, these ECAs enable automatic per-product solr reindexing upon + various common OFBiz Product operations. To enable the invoked service(s) globally, see + the solrconfig.properties option solr.eca.enabled. + See documentation for issues regarding implementation and context-specific issues + (such as data loading/install). + --> + + <eca entity="Product" operation="create-store" event="return"> + <action service="addToSolr" mode="sync" value-attr="instance"/> + </eca> + <eca entity="ProductCategoryMember" operation="create-store-remove" event="return"> + <action service="addToSolr" mode="sync" value-attr="instance"/> + </eca> + <eca entity="ProductPrice" operation="create-store-remove" event="return"> + <condition operator="equals" field-name="productPriceTypeId" value="LIST_PRICE"/> + <action service="addToSolr" mode="sync" value-attr="instance"/> + </eca> + <eca entity="ProductPrice" operation="create-store-remove" event="return"> + <condition operator="equals" field-name="productPriceTypeId" value="DEFAULT_PRICE"/> + <action service="addToSolr" mode="sync" value-attr="instance"/> + </eca> + <eca entity="ProductPrice" operation="create-store-remove" event="return"> + <condition operator="equals" field-name="productPriceTypeId" value="DEFAULT_PRICE"/> + <action service="addToSolr" mode="sync" value-attr="instance"/> + </eca> + + <!-- (Insert any needed additional ECAs here) --> + +</entity-eca> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/solr/entitydef/eecas.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/solr/entitydef/eecas.xml ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/solr/entitydef/eecas.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: ofbiz/trunk/specialpurpose/solr/lib/compile/solr-core-4.9.0.jar URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/lib/compile/solr-core-4.9.0.jar?rev=1700119&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/specialpurpose/solr/lib/compile/solr-core-4.9.0.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: ofbiz/trunk/specialpurpose/solr/lib/compile/solr-solrj-4.9.0.jar URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/lib/compile/solr-solrj-4.9.0.jar?rev=1700119&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/specialpurpose/solr/lib/compile/solr-solrj-4.9.0.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: ofbiz/trunk/specialpurpose/solr/lib/runtime/guava-14.0.1.jar URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/lib/runtime/guava-14.0.1.jar?rev=1700119&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/specialpurpose/solr/lib/runtime/guava-14.0.1.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: ofbiz/trunk/specialpurpose/solr/lib/runtime/joda-time-2.2.jar URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/lib/runtime/joda-time-2.2.jar?rev=1700119&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/specialpurpose/solr/lib/runtime/joda-time-2.2.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: ofbiz/trunk/specialpurpose/solr/lib/runtime/lucene-analyzers-common-4.9.0.jar URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/lib/runtime/lucene-analyzers-common-4.9.0.jar?rev=1700119&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/specialpurpose/solr/lib/runtime/lucene-analyzers-common-4.9.0.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: ofbiz/trunk/specialpurpose/solr/lib/runtime/lucene-codecs-4.9.0.jar URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/lib/runtime/lucene-codecs-4.9.0.jar?rev=1700119&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/specialpurpose/solr/lib/runtime/lucene-codecs-4.9.0.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: ofbiz/trunk/specialpurpose/solr/lib/runtime/lucene-highlighter-4.9.0.jar URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/lib/runtime/lucene-highlighter-4.9.0.jar?rev=1700119&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/specialpurpose/solr/lib/runtime/lucene-highlighter-4.9.0.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: ofbiz/trunk/specialpurpose/solr/lib/runtime/lucene-join-4.9.0.jar URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/lib/runtime/lucene-join-4.9.0.jar?rev=1700119&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/specialpurpose/solr/lib/runtime/lucene-join-4.9.0.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: ofbiz/trunk/specialpurpose/solr/lib/runtime/lucene-queries-4.9.0.jar URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/lib/runtime/lucene-queries-4.9.0.jar?rev=1700119&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/specialpurpose/solr/lib/runtime/lucene-queries-4.9.0.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: ofbiz/trunk/specialpurpose/solr/lib/runtime/lucene-spatial-4.9.0.jar URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/lib/runtime/lucene-spatial-4.9.0.jar?rev=1700119&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/specialpurpose/solr/lib/runtime/lucene-spatial-4.9.0.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: ofbiz/trunk/specialpurpose/solr/lib/runtime/lucene-suggest-4.9.0.jar URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/lib/runtime/lucene-suggest-4.9.0.jar?rev=1700119&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/specialpurpose/solr/lib/runtime/lucene-suggest-4.9.0.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: ofbiz/trunk/specialpurpose/solr/lib/runtime/noggit-0.5.jar URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/lib/runtime/noggit-0.5.jar?rev=1700119&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/specialpurpose/solr/lib/runtime/noggit-0.5.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: ofbiz/trunk/specialpurpose/solr/lib/runtime/org.restlet-2.1.1.jar URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/lib/runtime/org.restlet-2.1.1.jar?rev=1700119&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/specialpurpose/solr/lib/runtime/org.restlet-2.1.1.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: ofbiz/trunk/specialpurpose/solr/lib/runtime/org.restlet.ext.servlet-2.1.1.jar URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/lib/runtime/org.restlet.ext.servlet-2.1.1.jar?rev=1700119&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/specialpurpose/solr/lib/runtime/org.restlet.ext.servlet-2.1.1.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: ofbiz/trunk/specialpurpose/solr/lib/runtime/spatial4j-0.4.1.jar URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/lib/runtime/spatial4j-0.4.1.jar?rev=1700119&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/specialpurpose/solr/lib/runtime/spatial4j-0.4.1.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: ofbiz/trunk/specialpurpose/solr/lib/runtime/zookeeper-3.4.6.jar URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/lib/runtime/zookeeper-3.4.6.jar?rev=1700119&view=auto ============================================================================== Binary file - no diff available. Propchange: ofbiz/trunk/specialpurpose/solr/lib/runtime/zookeeper-3.4.6.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: ofbiz/trunk/specialpurpose/solr/ofbiz-component.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/ofbiz-component.xml?rev=1700119&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/solr/ofbiz-component.xml (added) +++ ofbiz/trunk/specialpurpose/solr/ofbiz-component.xml Sun Aug 30 13:27:07 2015 @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +<ofbiz-component name="solr" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd"> + + <resource-loader name="main" type="component" /> + + <classpath type="dir" location="conf"/> + <classpath type="dir" location="config"/> + <classpath type="jar" location="build/lib/*"/> + <classpath type="jar" location="lib/compile/*"/> + <classpath type="jar" location="lib/runtime/*"/> + + <entity-resource type="eca" reader-name="main" loader="main" location="entitydef/eecas.xml"/> + + <service-resource type="model" loader="main" location="servicedef/solrservices.xml"/> + <service-resource type="eca" loader="main" location="servicedef/secas.xml"/> + + <webapp name="solr" + title="solr" + server="default-server" + location="webapp/solr" + mount-point="/solr" + base-permission="OFBTOOLS,CONTENTMGR" + app-bar-display="false" /> + +</ofbiz-component> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/solr/ofbiz-component.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/solr/ofbiz-component.xml ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/solr/ofbiz-component.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: ofbiz/trunk/specialpurpose/solr/servicedef/secas.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/servicedef/secas.xml?rev=1700119&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/solr/servicedef/secas.xml (added) +++ ofbiz/trunk/specialpurpose/solr/servicedef/secas.xml Sun Aug 30 13:27:07 2015 @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +<service-eca xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/service-eca.xsd"> + + <!-- (Insert any needed SECAs here) --> + +</service-eca> Propchange: ofbiz/trunk/specialpurpose/solr/servicedef/secas.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/solr/servicedef/secas.xml ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/solr/servicedef/secas.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: ofbiz/trunk/specialpurpose/solr/servicedef/solrservices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/servicedef/solrservices.xml?rev=1700119&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/solr/servicedef/solrservices.xml (added) +++ ofbiz/trunk/specialpurpose/solr/servicedef/solrservices.xml Sun Aug 30 13:27:07 2015 @@ -0,0 +1,182 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/services.xsd"> + + <description>Content Component Services</description> + <vendor>OFBiz</vendor> + + <!-- Test Case --> + <service name="SolrProductSearch" engine="java" + transaction-timeout="72000" + location="org.ofbiz.solr.SolrProductSearch" + invoke="SolrProductSearch" debug="true" validate="true"> + <description>First Test with Solr</description> + </service> + + <!-- Rebuild the Solr Tree --> + <service name="rebuildSolrIndex" engine="java" + transaction-timeout="72000" + location="org.ofbiz.solr.SolrProductSearch" + invoke="rebuildSolrIndex" debug="true" validate="true"> + <description>rebuild SOLR Index</description> + <attribute mode="IN" name="treatConnectErrorNonFatal" optional="true" type="Boolean" default-value="false" /> + </service> + + <!-- Add to Solr Tree --> + <service name="addToSolr" engine="java" + transaction-timeout="72000" + location="org.ofbiz.solr.SolrProductSearch" + invoke="addToSolr" debug="true" validate="true"> + <description>Adds product to solr, with product denoted by productId field in instance attribute + - intended for use with ECAs/SECAs</description> + <attribute mode="IN" name="instance" optional="false" type="org.ofbiz.entity.GenericValue" /> + </service> + + <service name="addToSolrIndex" engine="java" + transaction-timeout="72000" + location="org.ofbiz.solr.SolrProductSearch" + invoke="addToSolrIndex" debug="true" validate="true"> + <description>Add a Product to Solr Index</description> + <attribute mode="IN" name="treatConnectErrorNonFatal" optional="true" type="Boolean" /> + <attribute mode="IN" name="productId" optional="false" type="String" /> + <attribute mode="IN" name="sku" optional="true" type="String" /> + <attribute mode="IN" name="internalName" optional="true" type="String" /> + <attribute mode="IN" name="manu" optional="true" type="String" /> + <attribute mode="IN" name="cat" optional="true" type="String" /> + <attribute mode="IN" name="listPrice" optional="true" type="String" /> + <attribute mode="IN" name="defaultPrice" optional="true" type="String" /> + <attribute mode="IN" name="description" optional="true" type="Map" /> + <attribute mode="IN" name="longDescription" optional="true" type="Map" /> + <attribute mode="IN" name="title" optional="true" type="Map" /> + <attribute mode="IN" name="image" optional="true" type="String" /> + <attribute mode="IN" name="keywords" optional="true" type="String" /> + <attribute mode="IN" name="category" optional="true" type="List" /> + <attribute mode="IN" name="features" optional="true" type="Set" /> + <attribute mode="IN" name="attributes" optional="true" type="List" /> + <attribute mode="IN" name="isVirtual" optional="true" type="Boolean" /> + <attribute mode="IN" name="isDigital" optional="true" type="Boolean" /> + <attribute mode="IN" name="isPhysical" optional="true" type="Boolean" /> + <attribute mode="IN" name="inStock" optional="true" type="String" /> + <attribute mode="IN" name="catalog" optional="true" type="List" /> + <attribute mode="IN" name="smallImage" optional="true" type="String" /> + <attribute mode="IN" name="mediumImage" optional="true" type="String" /> + <attribute mode="IN" name="largeImage" optional="true" type="String" /> + <attribute mode="OUT" name="errorType" optional="true" type="String" /> + </service> + + <service name="addListToSolrIndex" engine="java" + transaction-timeout="72000" + location="org.ofbiz.solr.SolrProductSearch" + invoke="addListToSolrIndex" debug="true" validate="true"> + <description>Add a List of Products to Solr Index and flush after all have been added</description> + <attribute mode="IN" name="treatConnectErrorNonFatal" optional="true" type="Boolean" /> + <attribute mode="IN" name="fieldList" optional="false" type="List" /> + <attribute mode="OUT" name="errorType" optional="true" type="String" /> + </service> + + <!-- Solr Queries --> + <service name="solrProductsSearch" engine="java" + transaction-timeout="72000" + location="org.ofbiz.solr.SolrProductSearch" + invoke="productsSearch" debug="true" validate="true"> + <description>Run a query on Solr and return the results</description> + <attribute mode="IN" optional="false" name="productCategoryId" type="String"/> + <attribute mode="IN" optional="true" name="viewSize" type="String"/> + <attribute mode="IN" optional="true" name="viewIndex" type="String"/> + <attribute mode="IN" optional="true" name="sortBy" type="String"/> + <attribute mode="IN" optional="true" name="sortByReverse" type="Boolean"/> + <attribute name="results" type="List" mode="OUT" optional="true"/> + <attribute name="viewSize" type="Integer" mode="OUT" optional="true"/> + <attribute name="viewIndex" type="Long" mode="OUT" optional="true"/> + <attribute name="listSize" type="Long" mode="OUT" optional="true"/> + </service> + + <service name="solrKeywordSearch" engine="java" + transaction-timeout="72000" + location="org.ofbiz.solr.SolrProductSearch" + invoke="keywordSearch" debug="true" validate="true"> + <description>Run a query on Solr and return the results</description> + <attribute mode="IN" optional="false" name="query" type="String"/> + <attribute mode="IN" optional="true" name="viewSize" type="String"/> + <attribute mode="IN" optional="true" name="viewIndex" type="String"/> + <attribute mode="IN" optional="true" name="queryFilter" type="String"/> + <attribute mode="IN" optional="true" name="sortBy" type="String"/> + <attribute mode="IN" optional="true" name="sortByReverse" type="Boolean"/> + <attribute mode="IN" optional="true" name="returnFields" type="String"/> + <attribute mode="IN" optional="true" name="facetQuery" type="String"/> + <attribute name="results" type="List" mode="OUT" optional="true"/> + <attribute name="isCorrectlySpelled" type="Boolean" mode="OUT" optional="true"/> + <attribute name="facetQueries" type="Map" mode="OUT" optional="true"/> + <attribute name="facetFields" type="Map" mode="OUT" optional="true"/> + <attribute name="viewSize" type="Integer" mode="OUT" optional="true"/> + <attribute name="viewIndex" type="Long" mode="OUT" optional="true"/> + <attribute name="listSize" type="Long" mode="OUT" optional="true"/> + <attribute name="queryTime" type="Long" mode="OUT" optional="true"/> + <attribute name="suggestions" type="List" mode="OUT" optional="true"/> + </service> + + <service name="runSolrQuery" engine="java" + transaction-timeout="72000" + location="org.ofbiz.solr.SolrProductSearch" + invoke="runSolrQuery" debug="true" validate="true"> + <description>Run a query on Solr and return the results</description> + <attribute mode="IN" optional="false" name="query" type="String"/> + <attribute mode="IN" optional="true" name="viewSize" type="Integer"/> + <attribute mode="IN" optional="true" name="viewIndex" type="Integer"/> + <attribute mode="IN" optional="true" name="queryFilter" type="String"/> + <attribute mode="IN" optional="true" name="sortBy" type="String"/> + <attribute mode="IN" optional="true" name="sortByReverse" type="Boolean"/> + <attribute mode="IN" optional="true" name="returnFields" type="String"/> + <attribute mode="IN" optional="true" name="facetQuery" type="String"/> + <attribute mode="IN" optional="true" name="facet" type="Boolean" default-value="true"/> + <attribute mode="IN" optional="true" name="highlight" type="Boolean" default-value="true"/> + <attribute mode="IN" optional="true" name="spellcheck" type="Boolean" default-value="true"/> + <attribute name="queryResult" type="org.apache.solr.client.solrj.response.QueryResponse" mode="OUT" optional="false"/> + </service> + + <service name="solrAvailableCategories" engine="java" + transaction-timeout="72000" + location="org.ofbiz.solr.SolrProductSearch" + invoke="getAvailableCategories" debug="true" validate="true"> + <description>Run a query on Solr and return the results</description> + <attribute mode="IN" optional="true" name="productCategoryId" type="String"/> + <attribute mode="IN" optional="true" name="productId" type="String"/> + <attribute mode="IN" optional="true" name="catalogId" type="String"/> + <attribute mode="IN" optional="true" name="displayProducts" type="Boolean"/> + <attribute mode="IN" optional="true" name="viewSize" type="Integer"/> + <attribute mode="IN" optional="true" name="viewIndex" type="Long"/> + <attribute name="numFound" type="Long" mode="OUT" optional="false"/> + <attribute name="categories" type="java.util.Map" mode="OUT" optional="true"/> + </service> + + <service name="solrSideDeepCategory" engine="java" + transaction-timeout="72000" + location="org.ofbiz.solr.SolrProductSearch" + invoke="getSideDeepCategories" debug="true" validate="true"> + <description>Run a query on Solr and return the results</description> + <attribute mode="IN" optional="true" name="productCategoryId" type="String"/> + <attribute mode="IN" optional="true" name="catalogId" type="String"/> + <attribute name="numFound" type="Long" mode="OUT" optional="false"/> + <attribute name="categories" type="java.util.Map" mode="OUT" optional="true"/> + </service> + +</services> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/solr/servicedef/solrservices.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/solr/servicedef/solrservices.xml ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/solr/servicedef/solrservices.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: ofbiz/trunk/specialpurpose/solr/solrdefault/conf/_schema_analysis_stopwords_english.json URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/solrdefault/conf/_schema_analysis_stopwords_english.json?rev=1700119&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/solr/solrdefault/conf/_schema_analysis_stopwords_english.json (added) +++ ofbiz/trunk/specialpurpose/solr/solrdefault/conf/_schema_analysis_stopwords_english.json Sun Aug 30 13:27:07 2015 @@ -0,0 +1,38 @@ +{ + "initArgs":{"ignoreCase":true}, + "managedList":[ + "a", + "an", + "and", + "are", + "as", + "at", + "be", + "but", + "by", + "for", + "if", + "in", + "into", + "is", + "it", + "no", + "not", + "of", + "on", + "or", + "stopworda", + "stopwordb", + "such", + "that", + "the", + "their", + "then", + "there", + "these", + "they", + "this", + "to", + "was", + "will", + "with"]} Added: ofbiz/trunk/specialpurpose/solr/solrdefault/conf/_schema_analysis_synonyms_english.json URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/solrdefault/conf/_schema_analysis_synonyms_english.json?rev=1700119&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/solr/solrdefault/conf/_schema_analysis_synonyms_english.json (added) +++ ofbiz/trunk/specialpurpose/solr/solrdefault/conf/_schema_analysis_synonyms_english.json Sun Aug 30 13:27:07 2015 @@ -0,0 +1,11 @@ +{ + "initArgs":{ + "ignoreCase":true, + "format":"solr" + }, + "managedMap":{ + "GB":["GiB","Gigabyte"], + "happy":["glad","joyful"], + "TV":["Television"] + } +} Added: ofbiz/trunk/specialpurpose/solr/solrdefault/conf/admin-extra.html URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/solrdefault/conf/admin-extra.html?rev=1700119&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/solr/solrdefault/conf/admin-extra.html (added) +++ ofbiz/trunk/specialpurpose/solr/solrdefault/conf/admin-extra.html Sun Aug 30 13:27:07 2015 @@ -0,0 +1,24 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<!-- The content of this page will be statically included into the top- +right box of the cores overview page. Uncomment this as an example to +see there the content will show up. + +<img src="img/ico/construction.png"> This line will appear at the top- +right box on collection1's Overview +--> Propchange: ofbiz/trunk/specialpurpose/solr/solrdefault/conf/admin-extra.html ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/solr/solrdefault/conf/admin-extra.html ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/solr/solrdefault/conf/admin-extra.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: ofbiz/trunk/specialpurpose/solr/solrdefault/conf/admin-extra.menu-bottom.html URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/solrdefault/conf/admin-extra.menu-bottom.html?rev=1700119&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/solr/solrdefault/conf/admin-extra.menu-bottom.html (added) +++ ofbiz/trunk/specialpurpose/solr/solrdefault/conf/admin-extra.menu-bottom.html Sun Aug 30 13:27:07 2015 @@ -0,0 +1,25 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<!-- admin-extra.menu-bottom.html --> +<!-- +<li> + <a href="#" style="background-image: url(img/ico/construction.png);"> + LAST ITEM + </a> +</li> +--> Propchange: ofbiz/trunk/specialpurpose/solr/solrdefault/conf/admin-extra.menu-bottom.html ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/solr/solrdefault/conf/admin-extra.menu-bottom.html ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/solr/solrdefault/conf/admin-extra.menu-bottom.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: ofbiz/trunk/specialpurpose/solr/solrdefault/conf/admin-extra.menu-top.html URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/solrdefault/conf/admin-extra.menu-top.html?rev=1700119&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/solr/solrdefault/conf/admin-extra.menu-top.html (added) +++ ofbiz/trunk/specialpurpose/solr/solrdefault/conf/admin-extra.menu-top.html Sun Aug 30 13:27:07 2015 @@ -0,0 +1,25 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<!-- admin-extra.menu-top.html --> +<!-- +<li> + <a href="#" style="background-image: url(img/ico/construction.png);"> + FIRST ITEM + </a> +</li> +--> Propchange: ofbiz/trunk/specialpurpose/solr/solrdefault/conf/admin-extra.menu-top.html ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/solr/solrdefault/conf/admin-extra.menu-top.html ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/solr/solrdefault/conf/admin-extra.menu-top.html ------------------------------------------------------------------------------ svn:mime-type = text/html |
Free forum by Nabble | Edit this page |