Giter Club home page Giter Club logo

alf-21940-repo's Introduction

Alfresco Patch to Solr6 multiple locale search

Described at issue ALF-21940

DISCLAIMER

SOLR 6 can be configured to work as SOLR 4 was working in previous Alfresco versions by uncommenting alfresco.cross.locale.datatype.N properties in /opt/solr6/solrhome/conf/shared.properties.

alfresco.cross.locale.datatype.0={http://www.alfresco.org/model/dictionary/1.0}text
alfresco.cross.locale.datatype.1={http://www.alfresco.org/model/dictionary/1.0}content
alfresco.cross.locale.datatype.2={http://www.alfresco.org/model/dictionary/1.0}mltext

You can perform this operation and there is no need to install this addon.

Once this shared.properties file has been modified is required to rebuild SOLR indexes. After that, every searching will be performed in Alfresco with cross-language support and you'll get the same behaviour that is provided by this patch.

Description

Alfresco when store a new document save a property called sys:locale, this property is based in the browser selected language. When another user with the browser in a different language go search for the document by the name can not found it, because the locale value is different. This problem is only detected in Solr6.

This patch, remove the parameter locale in Solr6 http requests.

License The plugin is licensed under the LGPL v3.0.

State Current patch release is 1.1.0

Compatibility The current version has been developed using Alfresco 201702 and Alfresco SDK 3.0.1

Original Alfresco resources have been overwritten

Downloading the ready-to-deploy-plugin

The binary distribution is made of one JAR file to be deployed in Alfresco as a repo module:

You can install it by copying JAR file to $ALFRESCO_HOME/modules/platform and re-starting Alfresco.

Building the artifacts

You can build the artifacts from source code using maven $ mvn clean package

alf-21940-repo's People

Contributors

angelborroy-ks avatar tfdsimoes-ks avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.