Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-6610

Upgrade Solr and Lucene librairies to version 5

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: 16.11.01
    • Component/s: lucene, solr
    • Labels:
      None

      Issue Links

        Activity

        Show
        pfm.smits Pierre Smits added a comment - Comments in OFBIZ-5042 (more to the point: https://issues.apache.org/jira/browse/OFBIZ-5042?focusedCommentId=14708862&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14708862 ) need to be taken into consideration.
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        We need to upgrade it also because of

        specialpurpose\solr\webapp\solr\js\require.js
        jquery 1.7.1 has known vulnerabilities: severity: medium; bug: 11290, summary: Selector interpreted as HTML; http://bugs.jquery.com/ticket/11290 http://research.insecurelabs.org/jquery/test/
        specialpurpose\solr\webapp\solr\js\lib\jquery-1.7.2.min.js
        jquery 1.7.2.min has known vulnerabilities: severity: medium; bug: 11290, summary: Selector interpreted as HTML; http://bugs.jquery.com/ticket/11290 http://research.insecurelabs.org/jquery/test/

        Show
        jacques.le.roux Jacques Le Roux added a comment - We need to upgrade it also because of specialpurpose\solr\webapp\solr\js\require.js jquery 1.7.1 has known vulnerabilities: severity: medium; bug: 11290, summary: Selector interpreted as HTML; http://bugs.jquery.com/ticket/11290 http://research.insecurelabs.org/jquery/test/ specialpurpose\solr\webapp\solr\js\lib\jquery-1.7.2.min.js jquery 1.7.2.min has known vulnerabilities: severity: medium; bug: 11290, summary: Selector interpreted as HTML; http://bugs.jquery.com/ticket/11290 http://research.insecurelabs.org/jquery/test/
        Hide
        shi.jinghai Shi Jinghai added a comment -

        I submitted a new solr compnent to trunk rev.1707042, here are the changes:

        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>

        Show
        shi.jinghai Shi Jinghai added a comment - I submitted a new solr compnent to trunk rev.1707042, here are the changes: 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>
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        I only tested on trunk demo, sounds good so far, thanks JInghai!

        Show
        jacques.le.roux Jacques Le Roux added a comment - I only tested on trunk demo, sounds good so far, thanks JInghai!
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        I mean I only tested the Sorl admin app...

        Show
        jacques.le.roux Jacques Le Roux added a comment - I mean I only tested the Sorl admin app...
        Hide
        jacques.le.roux Jacques Le Roux added a comment - - edited

        I removed the "runtime" specialpurpose component with r1719855 for OFBIZ-6767.

        Until proven necessary it should stay like that. Anyway it's not the right place for it, so if it's somehow needed it should be well placed...

        Show
        jacques.le.roux Jacques Le Roux added a comment - - edited I removed the "runtime" specialpurpose component with r1719855 for OFBIZ-6767 . Until proven necessary it should stay like that. Anyway it's not the right place for it, so if it's somehow needed it should be well placed...
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Should we not close this issue, is it not done? If not done, what do miss?

        Show
        jacques.le.roux Jacques Le Roux added a comment - Should we not close this issue, is it not done? If not done, what do miss?
        Hide
        shi.jinghai Shi Jinghai added a comment -

        Hi Jacques,

        I think this issue could be closed.

        Kind Regards,

        Show
        shi.jinghai Shi Jinghai added a comment - Hi Jacques, I think this issue could be closed. Kind Regards,
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Thanks

        Show
        jacques.le.roux Jacques Le Roux added a comment - Thanks

          People

          • Assignee:
            shi.jinghai Shi Jinghai
            Reporter:
            jacques.le.roux Jacques Le Roux
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development