Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-15199

Search terms are analyzed twice when Liferay Portal is configured with Solr 4 server

    Details

      Description

      Search terms are analyzed twice when Liferay Portal is configured with Solr 4 server.

      The following property has been added besides the code changes:

          #
          # Set this to true to enable
          # com.liferay.portal.search.lucene.PerFieldAnalyzer to analyze index fields
          # both at index and query time using the mappings defined in
          # META-INF/search-spring.xml.
          #
          # Setting this to false is recommended when using a pluggable enterprise
          # search engine with its own mappings (e.g. as Solr) to avoid indexing
          # terms twice which may result in incorrect tokenization.
          #
          index.portal.field.analyzer.enabled=true
      

      The new version (> 2.1.0) of Liferay Solr 4 Search Engine app (https://web.liferay.com/marketplace/-/mp/application/30365680) will set this property to "false" by default.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              christopher.kian Christopher Kian
              Reporter:
              jorge.diaz Jorge Diaz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  6.2.X EE