Commit Graph
32 Commits
Author SHA1 Message Date
Jacques Le Roux 4f944f8988 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@1697166 13f79535-47bb-0310-9956-ffa450edef68
2015-08-23 11:29:51 +00:00
Adrian Crum f315f0d5be 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@1669537 13f79535-47bb-0310-9956-ffa450edef68
2015-03-27 10:04:14 +00:00
Ashish Vijaywargiya d267053dc7 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@1647937 13f79535-47bb-0310-9956-ffa450edef68
2014-12-26 06:54:50 +00:00
Ashish Vijaywargiya c4f99c7be1 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@1644030 13f79535-47bb-0310-9956-ffa450edef68
2014-12-09 11:38:24 +00:00
Ashish Vijaywargiya 9e044d163a 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@1644015 13f79535-47bb-0310-9956-ffa450edef68
2014-12-09 10:09:22 +00:00
Ashish Vijaywargiya ef5ba3d6dc 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@1642398 13f79535-47bb-0310-9956-ffa450edef68
2014-11-29 08:00:37 +00:00
Scott Gray 44e2c4fda1 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@1635383 13f79535-47bb-0310-9956-ffa450edef68
2014-10-30 04:18:05 +00:00
Scott Gray 96cd99914e Remove unnecessary imports
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1634027 13f79535-47bb-0310-9956-ffa450edef68
2014-10-24 08:28:47 +00:00
Anil Patel 6b0e29df5c [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@1626453 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 15:05:26 +00:00
Jacopo Cappellato 18b5ac49fa Fixed a few issues in the unit tests of the specialpurpose/lucene component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1624217 13f79535-47bb-0310-9956-ffa450edef68
2014-09-11 07:42:55 +00:00
Jacopo Cappellato f041056b9f removed unused imports.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1622406 13f79535-47bb-0310-9956-ffa450edef68
2014-09-04 06:23:29 +00:00
Ashish Vijaywargiya aff06fcbc6 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@1618313 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 08:40:28 +00:00
Jacopo Cappellato d009e2297e 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@1606133 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 15:44:26 +00:00
Jacopo Cappellato e258ad1305 Upgraded lucene component to the latest Lucene release 4.7.0
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1572483 13f79535-47bb-0310-9956-ffa450edef68
2014-02-27 09:27:10 +00:00
Jacopo Cappellato bdf63b5933 Upgrade to the latest Lucene release 4.6.0
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1554384 13f79535-47bb-0310-9956-ffa450edef68
2013-12-31 08:13:35 +00:00
Jacopo Cappellato 203d03cc3b 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@1546954 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 10:54:50 +00:00
Jacopo Cappellato 305a485953 Removed old and useless debug statements
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1540742 13f79535-47bb-0310-9956-ffa450edef68
2013-11-11 14:35:12 +00:00
Jacopo Cappellato a772a2be53 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@1537083 13f79535-47bb-0310-9956-ffa450edef68
2013-10-30 13:37:58 +00:00
Jacopo Cappellato a40b13525d Upgrade to Lucene latest bug fix release: 4.5.1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1536674 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 11:48:39 +00:00
Jacopo Cappellato cf51c4778e Removed unused and redundant field from the Lucene Product document.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1536651 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 10:55:29 +00:00
Jacopo Cappellato 008611ef63 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@1532369 13f79535-47bb-0310-9956-ffa450edef68
2013-10-15 14:55:03 +00:00
Jacopo Cappellato 044acebb72 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@1532273 13f79535-47bb-0310-9956-ffa450edef68
2013-10-15 10:13:11 +00:00
Jacopo Cappellato d45d6a6fe6 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@1532241 13f79535-47bb-0310-9956-ffa450edef68
2013-10-15 08:28:08 +00:00
Jacopo Cappellato a8c3885e16 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@1531918 13f79535-47bb-0310-9956-ffa450edef68
2013-10-14 14:42:53 +00:00
Jacopo Cappellato 946ea312d3 Updated the "lucene" specialpurpose component to the latest version of Lucene (4.5).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1531504 13f79535-47bb-0310-9956-ffa450edef68
2013-10-12 05:17:29 +00:00
Jacopo Cappellato 3040cad755 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@1531499 13f79535-47bb-0310-9956-ffa450edef68
2013-10-12 04:52:17 +00:00
Jacopo Cappellato 60fdfcbfa8 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@1520510 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 08:32:47 +00:00
Jacopo Cappellato 42a0cd5abc 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@1520509 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 08:24:47 +00:00
Jacopo Cappellato 4e9f674b6e Removed unused argument from a private method's signature.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518985 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 14:52:34 +00:00
Jacopo Cappellato 25f1484bb5 Upgrade to latest Lucene release (4.4).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518981 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 14:40:26 +00:00
Jacopo Cappellato fa08fe4b00 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@1518980 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 14:37:20 +00:00
Jacopo Cappellato 6071e8d8e0 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@1518925 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 09:45:33 +00:00