You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Rahul Singh (JIRA)" <ji...@apache.org> on 2016/06/18 08:12:05 UTC

[jira] [Commented] (OFBIZ-7405) SearchWorker Class

    [ https://issues.apache.org/jira/browse/OFBIZ-7405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15337647#comment-15337647 ] 

Rahul Singh commented on OFBIZ-7405:
------------------------------------

Added the patch to fix this issue. Thanks, [~arunpati] for the detailed description.

> SearchWorker Class
> ------------------
>
>                 Key: OFBIZ-7405
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7405
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: specialpurpose/lucene
>    Affects Versions: Trunk
>            Reporter: Arun Patidar
>            Priority: Minor
>         Attachments: OFBIZ-7405.patch
>
>
> - Make class as final.
> - Add a private constructor.
> - Make the following public static variables as private
> {code}
>     public static final Version LUCENE_VERSION = Version.LUCENE_5_3_1;
> {code}
> - Add a getLuceneVersion() method for getting value of private variable 'LUCENE_VERSION' and Also replace the use of 'SearchWorker.LUCENE_VERSION' with SearchWorker.getLuceneVersion() in class 'DocumentIndexer.java' and 'LuceneTests.java'



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)