Propchange: ofbiz/trunk/plugins/example/data/helpdata/HELP_EXAMPLE_main.xml ------------------------------------------------------------------------------ svn:eol-style = native
Modified: ofbiz/trunk/plugins/example/groovyScripts/PrepareLocalesForDropDown.groovy URL: http://svn.apache.org/viewvc/ofbiz/trunk/plugins/example/groovyScripts/PrepareLocalesForDropDown.groovy?rev=1781219&r1=1781218&r2=1781219&view=diff ============================================================================== --- ofbiz/trunk/plugins/example/groovyScripts/PrepareLocalesForDropDown.groovy (original) +++ ofbiz/trunk/plugins/example/groovyScripts/PrepareLocalesForDropDown.groovy Wed Feb 1 10:58:46 2017 @@ -1,22 +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. -*/ - -def localeMap = [] -org.apache.ofbiz.base.util.UtilMisc.availableLocales().each { localeMap.add(localeId:it.toString()) } -parameters.localeList = localeMap +/* +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. +*/ + +def localeMap = [] +org.apache.ofbiz.base.util.UtilMisc.availableLocales().each { localeMap.add(localeId:it.toString()) } +parameters.localeList = localeMap Propchange: ofbiz/trunk/plugins/example/groovyScripts/PrepareLocalesForDropDown.groovy ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/plugins/example/widget/example/ExampleAjaxScreens.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/plugins/exampleext/ofbiz-component.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/plugins/lucene/testdef/data/LuceneTestsData.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/plugins/lucene/testdef/lucenetests.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/plugins/pricat/config/PricatUiLabels.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/plugins/pricat/data/PricatData.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/plugins/pricat/entitydef/entitymodel.xml ------------------------------------------------------------------------------ svn:eol-style = native Modified: ofbiz/trunk/plugins/pricat/groovyScripts/pricat/FindMyExcelImport.groovy URL: http://svn.apache.org/viewvc/ofbiz/trunk/plugins/pricat/groovyScripts/pricat/FindMyExcelImport.groovy?rev=1781219&r1=1781218&r2=1781219&view=diff ============================================================================== --- ofbiz/trunk/plugins/pricat/groovyScripts/pricat/FindMyExcelImport.groovy (original) +++ ofbiz/trunk/plugins/pricat/groovyScripts/pricat/FindMyExcelImport.groovy Wed Feb 1 10:58:46 2017 @@ -1,24 +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. - */ -import org.apache.ofbiz.base.util.*; - -module = "FindMyExcelImport.groovy"; - -data = delegator.findByAnd("ExcelImportHistory", [userLoginId : userLogin.userLoginId], ["sequenceNum DESC"], false); -context.data = data; +/* + * 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. + */ +import org.apache.ofbiz.base.util.*; + +module = "FindMyExcelImport.groovy"; + +data = delegator.findByAnd("ExcelImportHistory", [userLoginId : userLogin.userLoginId], ["sequenceNum DESC"], false); +context.data = data; Propchange: ofbiz/trunk/plugins/pricat/groovyScripts/pricat/FindMyExcelImport.groovy ------------------------------------------------------------------------------ svn:eol-style = native Modified: ofbiz/trunk/plugins/pricat/groovyScripts/pricat/FindMyExcelImportLog.groovy URL: http://svn.apache.org/viewvc/ofbiz/trunk/plugins/pricat/groovyScripts/pricat/FindMyExcelImportLog.groovy?rev=1781219&r1=1781218&r2=1781219&view=diff ============================================================================== --- ofbiz/trunk/plugins/pricat/groovyScripts/pricat/FindMyExcelImportLog.groovy (original) +++ ofbiz/trunk/plugins/pricat/groovyScripts/pricat/FindMyExcelImportLog.groovy Wed Feb 1 10:58:46 2017 @@ -1,53 +1,53 @@ -/* - * 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. - */ -import org.apache.ofbiz.base.util.*; -import java.io.FileInputStream; - -module = "FindMyExcelImport.groovy"; - -context.borderStyle = "2px inset /*begin-color ThreeDHighlight*/#ffffff/*end-color*/"; -context.borderSimpleStyle = "2px solid /*begin-color ThreeDFace*/#f0f0f0/*end-color*/"; - -sequenceNum = request.getParameter("sequenceNum"); - -if (sequenceNum == null) { - context.logFileContent = "No sequenceNum parameter found."; - return; -} - -historyEntry = delegator.findOne("ExcelImportHistory", [sequenceNum : Long.valueOf(sequenceNum), userLoginId : userLogin.userLoginId], false); -if (historyEntry == null) { - context.logFileContent = "No import history found."; - return; -} - -logFile = FileUtil.getFile("runtime/pricat/" + userLogin.userLoginId + "/" + sequenceNum + ".log"); -if (!logFile.exists()) { - context.logFileContent = "No log file found."; -} - -FileInputStream fis = new FileInputStream(logFile); -InputStreamReader isr = new InputStreamReader(fis); -BufferedReader br = new BufferedReader(isr); -logFileContent = ""; -while((s = br.readLine())!=null){ - logFileContent += s; -} -context.logFileContent = logFileContent; - +/* + * 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. + */ +import org.apache.ofbiz.base.util.*; +import java.io.FileInputStream; + +module = "FindMyExcelImport.groovy"; + +context.borderStyle = "2px inset /*begin-color ThreeDHighlight*/#ffffff/*end-color*/"; +context.borderSimpleStyle = "2px solid /*begin-color ThreeDFace*/#f0f0f0/*end-color*/"; + +sequenceNum = request.getParameter("sequenceNum"); + +if (sequenceNum == null) { + context.logFileContent = "No sequenceNum parameter found."; + return; +} + +historyEntry = delegator.findOne("ExcelImportHistory", [sequenceNum : Long.valueOf(sequenceNum), userLoginId : userLogin.userLoginId], false); +if (historyEntry == null) { + context.logFileContent = "No import history found."; + return; +} + +logFile = FileUtil.getFile("runtime/pricat/" + userLogin.userLoginId + "/" + sequenceNum + ".log"); +if (!logFile.exists()) { + context.logFileContent = "No log file found."; +} + +FileInputStream fis = new FileInputStream(logFile); +InputStreamReader isr = new InputStreamReader(fis); +BufferedReader br = new BufferedReader(isr); +logFileContent = ""; +while((s = br.readLine())!=null){ + logFileContent += s; +} +context.logFileContent = logFileContent; + Propchange: ofbiz/trunk/plugins/pricat/groovyScripts/pricat/FindMyExcelImportLog.groovy ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/plugins/pricat/ofbiz-component.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/plugins/pricat/webapp/pricat/WEB-INF/controller.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/plugins/pricat/webapp/pricat/WEB-INF/web.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/plugins/pricat/webapp/pricatdemo/WEB-INF/controller.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/plugins/pricat/webapp/pricatdemo/WEB-INF/web.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/plugins/pricat/widget/CommonScreens.xml ------------------------------------------------------------------------------ svn:eol-style = native Modified: ofbiz/trunk/plugins/pricat/widget/PriCatDemoMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/plugins/pricat/widget/PriCatDemoMenus.xml?rev=1781219&r1=1781218&r2=1781219&view=diff ============================================================================== --- ofbiz/trunk/plugins/pricat/widget/PriCatDemoMenus.xml (original) +++ ofbiz/trunk/plugins/pricat/widget/PriCatDemoMenus.xml Wed Feb 1 10:58:46 2017 @@ -1,38 +1,38 @@ -<?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. ---> -<menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns="http://ofbiz.apache.org/Widget-Menu" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Menu http://ofbiz.apache.org/dtds/widget-menu.xsd"> - - <menu name="PriCatDemoAppBar" title="${uiLabelMap.PriCatDemoApplication}" extends="CommonAppBarMenu" extends-resource="component://common/widget/CommonMenus.xml"> - <menu-item name="countdownreport" title="${uiLabelMap.PriCatDemoCountDown}"> - <link target="countdownreport"/> - </menu-item> - <menu-item name="countupreport" title="${uiLabelMap.PriCatDemoCountUp}"> - <link target="countupreport"/> - </menu-item> - <menu-item name="SamplePricat" title="${uiLabelMap.PriCatDemoParseSamplePricat}"> - <link target="SamplePricat"/> - </menu-item> - <menu-item name="main" title="${uiLabelMap.CommonMain}"> - <link target="main"/> - </menu-item> - </menu> - +<?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. +--> +<menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns="http://ofbiz.apache.org/Widget-Menu" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Menu http://ofbiz.apache.org/dtds/widget-menu.xsd"> + + <menu name="PriCatDemoAppBar" title="${uiLabelMap.PriCatDemoApplication}" extends="CommonAppBarMenu" extends-resource="component://common/widget/CommonMenus.xml"> + <menu-item name="countdownreport" title="${uiLabelMap.PriCatDemoCountDown}"> + <link target="countdownreport"/> + </menu-item> + <menu-item name="countupreport" title="${uiLabelMap.PriCatDemoCountUp}"> + <link target="countupreport"/> + </menu-item> + <menu-item name="SamplePricat" title="${uiLabelMap.PriCatDemoParseSamplePricat}"> + <link target="SamplePricat"/> + </menu-item> + <menu-item name="main" title="${uiLabelMap.CommonMain}"> + <link target="main"/> + </menu-item> + </menu> + </menus> \ No newline at end of file Propchange: ofbiz/trunk/plugins/pricat/widget/PriCatDemoMenus.xml ------------------------------------------------------------------------------ svn:eol-style = native Modified: ofbiz/trunk/plugins/pricat/widget/PriCatMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/plugins/pricat/widget/PriCatMenus.xml?rev=1781219&r1=1781218&r2=1781219&view=diff ============================================================================== --- ofbiz/trunk/plugins/pricat/widget/PriCatMenus.xml (original) +++ ofbiz/trunk/plugins/pricat/widget/PriCatMenus.xml Wed Feb 1 10:58:46 2017 @@ -1,29 +1,29 @@ -<?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. ---> -<menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns="http://ofbiz.apache.org/Widget-Menu" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Menu http://ofbiz.apache.org/dtds/widget-menu.xsd"> - - <menu name="PriCatAppBar" title="${uiLabelMap.PriCatApplication}" extends="CommonAppBarMenu" extends-resource="component://common/widget/CommonMenus.xml"> - <menu-item name="main" title="${uiLabelMap.ViewExcelImportHistory}"> - <link target="main"/> - </menu-item> - </menu> - +<?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. +--> +<menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns="http://ofbiz.apache.org/Widget-Menu" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Menu http://ofbiz.apache.org/dtds/widget-menu.xsd"> + + <menu name="PriCatAppBar" title="${uiLabelMap.PriCatApplication}" extends="CommonAppBarMenu" extends-resource="component://common/widget/CommonMenus.xml"> + <menu-item name="main" title="${uiLabelMap.ViewExcelImportHistory}"> + <link target="main"/> + </menu-item> + </menu> + </menus> \ No newline at end of file Propchange: ofbiz/trunk/plugins/pricat/widget/PriCatMenus.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/plugins/pricat/widget/SampleScreens.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/plugins/projectmgr/data/ProjectMgrHelpData.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/plugins/projectmgr/data/helpdata/HELP_PROJECTMGR.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/plugins/projectmgr/data/helpdata/HELP_PROJECTMGR_main.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/plugins/projectmgr/documents/ProjectMgr.xml ------------------------------------------------------------------------------ svn:eol-style = native Modified: ofbiz/trunk/plugins/solr/home/solrdefault/conf/clustering/carrot2/kmeans-attributes.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/plugins/solr/home/solrdefault/conf/clustering/carrot2/kmeans-attributes.xml?rev=1781219&r1=1781218&r2=1781219&view=diff ============================================================================== --- ofbiz/trunk/plugins/solr/home/solrdefault/conf/clustering/carrot2/kmeans-attributes.xml (original) +++ ofbiz/trunk/plugins/solr/home/solrdefault/conf/clustering/carrot2/kmeans-attributes.xml Wed Feb 1 10:58:46 2017 @@ -1,19 +1,19 @@ -<!-- - Default configuration for the bisecting k-means clustering algorithm. - - This file can be loaded (and saved) by Carrot2 Workbench. - http://project.carrot2.org/download.html ---> -<attribute-sets default="attributes"> - <attribute-set id="attributes"> - <value-set> - <label>attributes</label> - <attribute key="MultilingualClustering.defaultLanguage"> - <value type="org.carrot2.core.LanguageCode" value="ENGLISH"/> - </attribute> - <attribute key="MultilingualClustering.languageAggregationStrategy"> - <value type="org.carrot2.text.clustering.MultilingualClustering$LanguageAggregationStrategy" value="FLATTEN_MAJOR_LANGUAGE"/> - </attribute> - </value-set> - </attribute-set> -</attribute-sets> +<!-- + Default configuration for the bisecting k-means clustering algorithm. + + This file can be loaded (and saved) by Carrot2 Workbench. + http://project.carrot2.org/download.html +--> +<attribute-sets default="attributes"> + <attribute-set id="attributes"> + <value-set> + <label>attributes</label> + <attribute key="MultilingualClustering.defaultLanguage"> + <value type="org.carrot2.core.LanguageCode" value="ENGLISH"/> + </attribute> + <attribute key="MultilingualClustering.languageAggregationStrategy"> + <value type="org.carrot2.text.clustering.MultilingualClustering$LanguageAggregationStrategy" value="FLATTEN_MAJOR_LANGUAGE"/> + </attribute> + </value-set> + </attribute-set> +</attribute-sets> Propchange: ofbiz/trunk/plugins/solr/home/solrdefault/conf/clustering/carrot2/kmeans-attributes.xml ------------------------------------------------------------------------------ svn:eol-style = native Modified: ofbiz/trunk/plugins/solr/home/solrdefault/conf/clustering/carrot2/lingo-attributes.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/plugins/solr/home/solrdefault/conf/clustering/carrot2/lingo-attributes.xml?rev=1781219&r1=1781218&r2=1781219&view=diff ============================================================================== --- ofbiz/trunk/plugins/solr/home/solrdefault/conf/clustering/carrot2/lingo-attributes.xml (original) +++ ofbiz/trunk/plugins/solr/home/solrdefault/conf/clustering/carrot2/lingo-attributes.xml Wed Feb 1 10:58:46 2017 @@ -1,24 +1,24 @@ -<!-- - Default configuration for the Lingo clustering algorithm. - - This file can be loaded (and saved) by Carrot2 Workbench. - http://project.carrot2.org/download.html ---> -<attribute-sets default="attributes"> - <attribute-set id="attributes"> - <value-set> - <label>attributes</label> - <!-- - The language to assume for clustered documents. - For a list of allowed values, see: - http://download.carrot2.org/stable/manual/#section.attribute.lingo.MultilingualClustering.defaultLanguage - --> - <attribute key="MultilingualClustering.defaultLanguage"> - <value type="org.carrot2.core.LanguageCode" value="ENGLISH"/> - </attribute> - <attribute key="LingoClusteringAlgorithm.desiredClusterCountBase"> - <value type="java.lang.Integer" value="20"/> - </attribute> - </value-set> - </attribute-set> -</attribute-sets> +<!-- + Default configuration for the Lingo clustering algorithm. + + This file can be loaded (and saved) by Carrot2 Workbench. + http://project.carrot2.org/download.html +--> +<attribute-sets default="attributes"> + <attribute-set id="attributes"> + <value-set> + <label>attributes</label> + <!-- + The language to assume for clustered documents. + For a list of allowed values, see: + http://download.carrot2.org/stable/manual/#section.attribute.lingo.MultilingualClustering.defaultLanguage + --> + <attribute key="MultilingualClustering.defaultLanguage"> + <value type="org.carrot2.core.LanguageCode" value="ENGLISH"/> + </attribute> + <attribute key="LingoClusteringAlgorithm.desiredClusterCountBase"> + <value type="java.lang.Integer" value="20"/> + </attribute> + </value-set> + </attribute-set> +</attribute-sets> Propchange: ofbiz/trunk/plugins/solr/home/solrdefault/conf/clustering/carrot2/lingo-attributes.xml ------------------------------------------------------------------------------ svn:eol-style = native Modified: ofbiz/trunk/plugins/solr/home/solrdefault/conf/clustering/carrot2/stc-attributes.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/plugins/solr/home/solrdefault/conf/clustering/carrot2/stc-attributes.xml?rev=1781219&r1=1781218&r2=1781219&view=diff ============================================================================== --- ofbiz/trunk/plugins/solr/home/solrdefault/conf/clustering/carrot2/stc-attributes.xml (original) +++ ofbiz/trunk/plugins/solr/home/solrdefault/conf/clustering/carrot2/stc-attributes.xml Wed Feb 1 10:58:46 2017 @@ -1,19 +1,19 @@ -<!-- - Default configuration for the STC clustering algorithm. - - This file can be loaded (and saved) by Carrot2 Workbench. - http://project.carrot2.org/download.html ---> -<attribute-sets default="attributes"> - <attribute-set id="attributes"> - <value-set> - <label>attributes</label> - <attribute key="MultilingualClustering.defaultLanguage"> - <value type="org.carrot2.core.LanguageCode" value="ENGLISH"/> - </attribute> - <attribute key="MultilingualClustering.languageAggregationStrategy"> - <value type="org.carrot2.text.clustering.MultilingualClustering$LanguageAggregationStrategy" value="FLATTEN_MAJOR_LANGUAGE"/> - </attribute> - </value-set> - </attribute-set> -</attribute-sets> +<!-- + Default configuration for the STC clustering algorithm. + + This file can be loaded (and saved) by Carrot2 Workbench. + http://project.carrot2.org/download.html +--> +<attribute-sets default="attributes"> + <attribute-set id="attributes"> + <value-set> + <label>attributes</label> + <attribute key="MultilingualClustering.defaultLanguage"> + <value type="org.carrot2.core.LanguageCode" value="ENGLISH"/> + </attribute> + <attribute key="MultilingualClustering.languageAggregationStrategy"> + <value type="org.carrot2.text.clustering.MultilingualClustering$LanguageAggregationStrategy" value="FLATTEN_MAJOR_LANGUAGE"/> + </attribute> + </value-set> + </attribute-set> +</attribute-sets> Propchange: ofbiz/trunk/plugins/solr/home/solrdefault/conf/clustering/carrot2/stc-attributes.xml ------------------------------------------------------------------------------ svn:eol-style = native Modified: ofbiz/trunk/plugins/solr/home/solrdefault/conf/currency.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/plugins/solr/home/solrdefault/conf/currency.xml?rev=1781219&r1=1781218&r2=1781219&view=diff ============================================================================== --- ofbiz/trunk/plugins/solr/home/solrdefault/conf/currency.xml (original) +++ ofbiz/trunk/plugins/solr/home/solrdefault/conf/currency.xml Wed Feb 1 10:58:46 2017 @@ -1,67 +1,67 @@ -<?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. ---> - -<!-- Example exchange rates file for CurrencyField type named "currency" in example schema --> - -<currencyConfig version="1.0"> - <rates> - <!-- Updated from http://www.exchangerate.com/ at 2011-09-27 --> - <rate from="USD" to="ARS" rate="4.333871" comment="ARGENTINA Peso" /> - <rate from="USD" to="AUD" rate="1.025768" comment="AUSTRALIA Dollar" /> - <rate from="USD" to="EUR" rate="0.743676" comment="European Euro" /> - <rate from="USD" to="BRL" rate="1.881093" comment="BRAZIL Real" /> - <rate from="USD" to="CAD" rate="1.030815" comment="CANADA Dollar" /> - <rate from="USD" to="CLP" rate="519.0996" comment="CHILE Peso" /> - <rate from="USD" to="CNY" rate="6.387310" comment="CHINA Yuan" /> - <rate from="USD" to="CZK" rate="18.47134" comment="CZECH REP. Koruna" /> - <rate from="USD" to="DKK" rate="5.515436" comment="DENMARK Krone" /> - <rate from="USD" to="HKD" rate="7.801922" comment="HONG KONG Dollar" /> - <rate from="USD" to="HUF" rate="215.6169" comment="HUNGARY Forint" /> - <rate from="USD" to="ISK" rate="118.1280" comment="ICELAND Krona" /> - <rate from="USD" to="INR" rate="49.49088" comment="INDIA Rupee" /> - <rate from="USD" to="XDR" rate="0.641358" comment="INTNL MON. FUND SDR" /> - <rate from="USD" to="ILS" rate="3.709739" comment="ISRAEL Sheqel" /> - <rate from="USD" to="JPY" rate="76.32419" comment="JAPAN Yen" /> - <rate from="USD" to="KRW" rate="1169.173" comment="KOREA (SOUTH) Won" /> - <rate from="USD" to="KWD" rate="0.275142" comment="KUWAIT Dinar" /> - <rate from="USD" to="MXN" rate="13.85895" comment="MEXICO Peso" /> - <rate from="USD" to="NZD" rate="1.285159" comment="NEW ZEALAND Dollar" /> - <rate from="USD" to="NOK" rate="5.859035" comment="NORWAY Krone" /> - <rate from="USD" to="PKR" rate="87.57007" comment="PAKISTAN Rupee" /> - <rate from="USD" to="PEN" rate="2.730683" comment="PERU Sol" /> - <rate from="USD" to="PHP" rate="43.62039" comment="PHILIPPINES Peso" /> - <rate from="USD" to="PLN" rate="3.310139" comment="POLAND Zloty" /> - <rate from="USD" to="RON" rate="3.100932" comment="ROMANIA Leu" /> - <rate from="USD" to="RUB" rate="32.14663" comment="RUSSIA Ruble" /> - <rate from="USD" to="SAR" rate="3.750465" comment="SAUDI ARABIA Riyal" /> - <rate from="USD" to="SGD" rate="1.299352" comment="SINGAPORE Dollar" /> - <rate from="USD" to="ZAR" rate="8.329761" comment="SOUTH AFRICA Rand" /> - <rate from="USD" to="SEK" rate="6.883442" comment="SWEDEN Krona" /> - <rate from="USD" to="CHF" rate="0.906035" comment="SWITZERLAND Franc" /> - <rate from="USD" to="TWD" rate="30.40283" comment="TAIWAN Dollar" /> - <rate from="USD" to="THB" rate="30.89487" comment="THAILAND Baht" /> - <rate from="USD" to="AED" rate="3.672955" comment="U.A.E. Dirham" /> - <rate from="USD" to="UAH" rate="7.988582" comment="UKRAINE Hryvnia" /> - <rate from="USD" to="GBP" rate="0.647910" comment="UNITED KINGDOM Pound" /> - - <!-- Cross-rates for some common currencies --> - <rate from="EUR" to="GBP" rate="0.869914" /> - <rate from="EUR" to="NOK" rate="7.800095" /> - <rate from="GBP" to="NOK" rate="8.966508" /> - </rates> -</currencyConfig> +<?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. +--> + +<!-- Example exchange rates file for CurrencyField type named "currency" in example schema --> + +<currencyConfig version="1.0"> + <rates> + <!-- Updated from http://www.exchangerate.com/ at 2011-09-27 --> + <rate from="USD" to="ARS" rate="4.333871" comment="ARGENTINA Peso" /> + <rate from="USD" to="AUD" rate="1.025768" comment="AUSTRALIA Dollar" /> + <rate from="USD" to="EUR" rate="0.743676" comment="European Euro" /> + <rate from="USD" to="BRL" rate="1.881093" comment="BRAZIL Real" /> + <rate from="USD" to="CAD" rate="1.030815" comment="CANADA Dollar" /> + <rate from="USD" to="CLP" rate="519.0996" comment="CHILE Peso" /> + <rate from="USD" to="CNY" rate="6.387310" comment="CHINA Yuan" /> + <rate from="USD" to="CZK" rate="18.47134" comment="CZECH REP. Koruna" /> + <rate from="USD" to="DKK" rate="5.515436" comment="DENMARK Krone" /> + <rate from="USD" to="HKD" rate="7.801922" comment="HONG KONG Dollar" /> + <rate from="USD" to="HUF" rate="215.6169" comment="HUNGARY Forint" /> + <rate from="USD" to="ISK" rate="118.1280" comment="ICELAND Krona" /> + <rate from="USD" to="INR" rate="49.49088" comment="INDIA Rupee" /> + <rate from="USD" to="XDR" rate="0.641358" comment="INTNL MON. FUND SDR" /> + <rate from="USD" to="ILS" rate="3.709739" comment="ISRAEL Sheqel" /> + <rate from="USD" to="JPY" rate="76.32419" comment="JAPAN Yen" /> + <rate from="USD" to="KRW" rate="1169.173" comment="KOREA (SOUTH) Won" /> + <rate from="USD" to="KWD" rate="0.275142" comment="KUWAIT Dinar" /> + <rate from="USD" to="MXN" rate="13.85895" comment="MEXICO Peso" /> + <rate from="USD" to="NZD" rate="1.285159" comment="NEW ZEALAND Dollar" /> + <rate from="USD" to="NOK" rate="5.859035" comment="NORWAY Krone" /> + <rate from="USD" to="PKR" rate="87.57007" comment="PAKISTAN Rupee" /> + <rate from="USD" to="PEN" rate="2.730683" comment="PERU Sol" /> + <rate from="USD" to="PHP" rate="43.62039" comment="PHILIPPINES Peso" /> + <rate from="USD" to="PLN" rate="3.310139" comment="POLAND Zloty" /> + <rate from="USD" to="RON" rate="3.100932" comment="ROMANIA Leu" /> + <rate from="USD" to="RUB" rate="32.14663" comment="RUSSIA Ruble" /> + <rate from="USD" to="SAR" rate="3.750465" comment="SAUDI ARABIA Riyal" /> + <rate from="USD" to="SGD" rate="1.299352" comment="SINGAPORE Dollar" /> + <rate from="USD" to="ZAR" rate="8.329761" comment="SOUTH AFRICA Rand" /> + <rate from="USD" to="SEK" rate="6.883442" comment="SWEDEN Krona" /> + <rate from="USD" to="CHF" rate="0.906035" comment="SWITZERLAND Franc" /> + <rate from="USD" to="TWD" rate="30.40283" comment="TAIWAN Dollar" /> + <rate from="USD" to="THB" rate="30.89487" comment="THAILAND Baht" /> + <rate from="USD" to="AED" rate="3.672955" comment="U.A.E. Dirham" /> + <rate from="USD" to="UAH" rate="7.988582" comment="UKRAINE Hryvnia" /> + <rate from="USD" to="GBP" rate="0.647910" comment="UNITED KINGDOM Pound" /> + + <!-- Cross-rates for some common currencies --> + <rate from="EUR" to="GBP" rate="0.869914" /> + <rate from="EUR" to="NOK" rate="7.800095" /> + <rate from="GBP" to="NOK" rate="8.966508" /> + </rates> +</currencyConfig> Propchange: ofbiz/trunk/plugins/solr/home/solrdefault/conf/currency.xml ------------------------------------------------------------------------------ svn:eol-style = native Modified: ofbiz/trunk/plugins/solr/home/solrdefault/conf/elevate.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/plugins/solr/home/solrdefault/conf/elevate.xml?rev=1781219&r1=1781218&r2=1781219&view=diff ============================================================================== --- ofbiz/trunk/plugins/solr/home/solrdefault/conf/elevate.xml (original) +++ ofbiz/trunk/plugins/solr/home/solrdefault/conf/elevate.xml Wed Feb 1 10:58:46 2017 @@ -1,38 +1,38 @@ -<?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. ---> - -<!-- If this file is found in the config directory, it will only be - loaded once at startup. If it is found in Solr's data - directory, it will be re-loaded every commit. - - See http://wiki.apache.org/solr/QueryElevationComponent for more info - ---> -<elevate> - <query text="foo bar"> - <doc id="1" /> - <doc id="2" /> - <doc id="3" /> - </query> - - <query text="ipod"> - <doc id="MA147LL/A" /> <!-- put the actual ipod at the top --> - <doc id="IW-02" exclude="true" /> <!-- exclude this cable --> - </query> - -</elevate> +<?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. +--> + +<!-- If this file is found in the config directory, it will only be + loaded once at startup. If it is found in Solr's data + directory, it will be re-loaded every commit. + + See http://wiki.apache.org/solr/QueryElevationComponent for more info + +--> +<elevate> + <query text="foo bar"> + <doc id="1" /> + <doc id="2" /> + <doc id="3" /> + </query> + + <query text="ipod"> + <doc id="MA147LL/A" /> <!-- put the actual ipod at the top --> + <doc id="IW-02" exclude="true" /> <!-- exclude this cable --> + </query> + +</elevate> Propchange: ofbiz/trunk/plugins/solr/home/solrdefault/conf/elevate.xml ------------------------------------------------------------------------------ svn:eol-style = native