Deepak Dixit
b498b235f7
(OFBIZ-7241) Relocate .groovy files in the specialpurpose/lucene component
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1747793 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 19:54:37 +00:00
Deepak Dixit
91c41f165b
(OFBIZ-7223) Relocate .groovy files in the content component
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1747756 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 17:21:10 +00:00
Jacques Le Roux
1e3c8068b1
A patch from Nameet Jain for "CMS throws error on clicking Find button" https://issues.apache.org/jira/browse/OFBIZ-7104
...
Steps to regenerate
1. Open the content app
2. Click the CMS menu or use the link
https://localhost:8443/content/control/CMSContentFind
3. Click on Find submenu or use link
https://localhost:8443/content/control/AdminSearch
The error is due to missing content index. We can improve the error message to guide user to index the content first. ContentErrorUiLabels.xml
jleroux: I just moved the label to be sorted right and added a French one
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1747349 13f79535-47bb-0310-9956-ffa450edef68
2016-06-08 05:10:30 +00:00
Deepak Dixit
5140827b41
(OFBIZ-6839) relocate .ftl files in the specialpurpose/lucene component.
...
Thanks Pierre for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1740580 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 18:39:49 +00:00
Deepak Dixit
855e607e52
(OFBIZ-6861) Fixed Search.groovy, use correct method for analyzer, QueryParser and TopScoreDocCollector.
...
Thanks Pierre for reporting the issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1735759 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 11:47:06 +00:00
Deepak Dixit
19e9522bd0
(OFBIZ-6860) Applied patch from jira issue.
...
============================================================
ProductSearch generates an errorr
============================================================
Thanks Pierre for reporting issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1735753 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 11:27:49 +00:00
Jacques Le Roux
0a982250e6
Temporary fix for "UtilXml.LocalResolver.resolveEntity] could not find LOCAL DTD/Schema with publicId [null] and the file/resource is [web-app_3_0.xsd]" - https://issues.apache.org/jira/browse/OFBIZ-6807
...
As suggested by Deepak keeps only <<web-app version="3.0">> in web.xml files instead of whole xmlns and schemaLocation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1726388 13f79535-47bb-0310-9956-ffa450edef68
2016-01-23 11:52:08 +00:00
Deepak Dixit
3ae8efbbb1
(OFBIZ-6655) Applied patch from jira issue OFBIZ-6655.
...
Add session tracking mode and make cookie secure for some special purposes component.
Thanks Rahul Bhammarker for contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1724930 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 07:15:09 +00:00
Shi Jinghai
1405615b1a
OFBIZ-6610 Upgrade Solr and Lucene librairies to version 5
...
1. Upgrade the solr/lucene component to the latest 5.3.1.
2. Angular related js and html files are removed.
3. The jquery-1.7.2.min.js is removed as it's not used in solr.
4. Change specialpurpose/solr/conf to specialpurpose/solr/home.
5. Move specialpurpose/solr/solrdefault to specialpurpose/solr/home/solrdefault.
6. The files under specialpurpose/solr/home/solrdefault are all from solr-5.3.1 package/server/solr/configsets/sample_techproducts_configs/, the solrconfig.xml is configured: <dataDir>${solr.data.dir:runtime/indexes}</dataDir>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1707042 13f79535-47bb-0310-9956-ffa450edef68
2015-10-06 12:48:53 +00:00
Arun Patidar
da04c7ce72
[OFBIZ-6171] Applied patch from Pierre Smits for replacing 'Open for Business' references with 'Apache OFBiz'.Thanks Pierre for the contribution.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1706589 13f79535-47bb-0310-9956-ffa450edef68
2015-10-03 14:15:21 +00:00
Jacques Le Roux
498c0e8500
A patch from Pierre Smits for "Incorporate the readme for the Lucene component" https://issues.apache.org/jira/browse/OFBIZ-6577
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1697166 13f79535-47bb-0310-9956-ffa450edef68
2015-08-23 11:29:51 +00:00
Adrian Crum
d504b6ffde
Fix warnings in trunk in Java source code - https://issues.apache.org/jira/browse/OFBIZ-6217 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1669537 13f79535-47bb-0310-9956-ffa450edef68
2015-03-27 10:04:14 +00:00
Ashish Vijaywargiya
1432b8f43f
Applied two patch files from jira issue - OFBIZ-5893 - Use EntityQuery Builder methods in goovy files by replacing Entity Engine methods. Thanks Arun for your recent contribution where you have included changes from specialpurpose and product component.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1647937 13f79535-47bb-0310-9956-ffa450edef68
2014-12-26 06:54:50 +00:00
Ashish Vijaywargiya
7334bd520e
Applied patch from jira issue - OFBIZ-5902 - Fetch configurable settings data driven by replacing UtilProperties.getPropertyValue() method with EntityUtilProperties.getPropertyValue()
...
Thanks so much Arun for this important contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1644030 13f79535-47bb-0310-9956-ffa450edef68
2014-12-09 11:38:24 +00:00
Ashish Vijaywargiya
b06039daf6
Applied patch from jira issue - OFBIZ-5902 - Fetch configurable settings data driven by replacing UtilProperties.getPropertyValue() method with EntityUtilProperties.getPropertyValue(). Thanks so much Arun for this important contribution.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1644015 13f79535-47bb-0310-9956-ffa450edef68
2014-12-09 10:09:22 +00:00
Ashish Vijaywargiya
8a138d9992
Applied patch from jira issue OFBIZ-5844 - Convert java files to EntityQuery.
...
Thanks Arun for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1642398 13f79535-47bb-0310-9956-ffa450edef68
2014-11-29 08:00:37 +00:00
Scott Gray
bc6d579570
Regex search/replace for delegator.findOne() to EntityQuery.queryOne()
...
Apologies for the large commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1635383 13f79535-47bb-0310-9956-ffa450edef68
2014-10-30 04:18:05 +00:00
Scott Gray
a6c0b4e008
Remove unnecessary imports
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1634027 13f79535-47bb-0310-9956-ffa450edef68
2014-10-24 08:28:47 +00:00
Anil Patel
5fa01410fe
[OFBIZ-5675] Fix permission issues. Thanks Pierre Smits for bug report.
...
Thanks Deepak Dixit for fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1626453 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 15:05:26 +00:00
Jacopo Cappellato
82d02922bd
Fixed a few issues in the unit tests of the specialpurpose/lucene component.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1624217 13f79535-47bb-0310-9956-ffa450edef68
2014-09-11 07:42:55 +00:00
Jacopo Cappellato
49fee76241
removed unused imports.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1622406 13f79535-47bb-0310-9956-ffa450edef68
2014-09-04 06:23:29 +00:00
Ashish Vijaywargiya
c5bbc062b3
Applied the patch OFBIZ-4902_specialpurpose.patch from OFBIZ-4902 - Replace in Freemarker templates the deprecated built-ins: default, exists, if_exists.
...
Thanks http://ofbiz.us team for providing the patch work.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1618313 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 08:40:28 +00:00
Jacopo Cappellato
90914121e9
Upgraded specialpurpose/lucene component to the latest stable release (from 4.7.0 to 4.9.0)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1606133 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 15:44:26 +00:00
Jacopo Cappellato
926efd2311
Upgraded lucene component to the latest Lucene release 4.7.0
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1572483 13f79535-47bb-0310-9956-ffa450edef68
2014-02-27 09:27:10 +00:00
Jacopo Cappellato
b2ac2b6633
Upgrade to the latest Lucene release 4.6.0
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1554384 13f79535-47bb-0310-9956-ffa450edef68
2013-12-31 08:13:35 +00:00
Jacopo Cappellato
234bcfc733
When retrieving the product record for the Lucene indexing don't use the cached value; this fixes the issue reported in OFBIZ-5389 by Christian Carlow
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1546954 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 10:54:50 +00:00
Jacopo Cappellato
f420b5f76e
Removed old and useless debug statements
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1540742 13f79535-47bb-0310-9956-ffa450edef68
2013-11-11 14:35:12 +00:00
Jacopo Cappellato
ea91e65cc1
Misc cleanups to the old Search.groovy to make it more robust and clean.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1537083 13f79535-47bb-0310-9956-ffa450edef68
2013-10-30 13:37:58 +00:00
Jacopo Cappellato
269da68641
Upgrade to Lucene latest bug fix release: 4.5.1
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1536674 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 11:48:39 +00:00
Jacopo Cappellato
bca750f731
Removed unused and redundant field from the Lucene Product document.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1536651 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 10:55:29 +00:00
Jacopo Cappellato
b75d9b2f96
Misc fixes and renamed indexTree service/event/methods to indexContentTree in order to be more descriptive on their role in the system.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1532369 13f79535-47bb-0310-9956-ffa450edef68
2013-10-15 14:55:03 +00:00
Jacopo Cappellato
bcac23ab93
Refactored and simplified the old code to index Content record: it now leverages the new LuceneDocument interface and index handling facilities.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1532273 13f79535-47bb-0310-9956-ffa450edef68
2013-10-15 10:13:11 +00:00
Jacopo Cappellato
91ec703446
Refactoring of Lucene product indexing: separated logic that is product specific from indexing logic that is independent from products; in this way it will be easy to index other content or customize the existing one, by implementing new LuceneDocument classes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1532241 13f79535-47bb-0310-9956-ffa450edef68
2013-10-15 08:28:08 +00:00
Jacopo Cappellato
be655d4c90
Implemented a series of ecas to submit for indexing products when product related information is added/updated/deleted.
...
Thanks to Scott Gray for the initial implementation of these ecas.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1531918 13f79535-47bb-0310-9956-ffa450edef68
2013-10-14 14:42:53 +00:00
Jacopo Cappellato
17b2ebb330
Updated the "lucene" specialpurpose component to the latest version of Lucene (4.5).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1531504 13f79535-47bb-0310-9956-ffa450edef68
2013-10-12 05:17:29 +00:00
Jacopo Cappellato
68540ad443
Expanded and enhanced the "lucene" specialpurpose component by implementing an initial version of a Product indexer; also implemented a screen to test and analyze Lucene queries on the index.
...
Many thanks to Scott Gray for the initial version of the indexer and the code to prepare the Product document.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1531499 13f79535-47bb-0310-9956-ffa450edef68
2013-10-12 04:52:17 +00:00
Jacopo Cappellato
a11efc33c9
First pass of the cleanup of Ant's targets defined in main build file and in build files for framework/applications/specialpurpose folders:
...
* removed redundant targets (e.g. clean-xtras)
* removed unused targets and settings
* moved runtime related targets from framework to main build file
* moved the search index runtime folder from runtime/data/indexes to runtime/indexes to prevent the removal of indexes when clean-data is executed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1520510 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 08:32:47 +00:00
Jacopo Cappellato
bf0ee6eb6b
Fix for issue reported by Hans in the dev ml: after the migration of Lucene dependent code to specialpurpose, the application menu item for "Content" was replaced by "Lucene" due to a wrong title in the webapp declared in specialpurpose/lucene.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1520509 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 08:24:47 +00:00
Jacopo Cappellato
c142c2584f
Removed unused argument from a private method's signature.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1518985 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 14:52:34 +00:00
Jacopo Cappellato
48020db8ff
Upgrade to latest Lucene release (4.4).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1518981 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 14:40:26 +00:00
Jacopo Cappellato
1214793c98
Minor code cleanup for the Java classes in the "lucene" component: replaced unnecessary usage of Javolution, simplified some code, suppressed unnecessary empty lines.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1518980 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 14:37:20 +00:00
Jacopo Cappellato
fb2df9ff51
Extracted from the OFBiz content component the dependencies on Lucene and created a new specialpurpose/lucene component in order to simplify the integration of components based on Lucene/Solr and to simplify the management of conflicts caused by different versions of Solr/Lucene jars.
...
In this way it will be easier to compare the ootb Lucene integration with custom ones (based on Lucene/Solr/etc...) and to switch between them.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1518925 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 09:45:33 +00:00