dynamic value for IndexBase.getSearchEngineId()

Description

In current Search Framework Implementation it is not possible to stack/use engines that are not defined as SYSTEM_ENGINE. The proposed fix is to enable asset's properties to dictate which search engine to use for indexing/search.

  • portal.properties: indexer.search.engine.XXXX (where XXXX is the className of an indexer class)

  • BaseIndexer: return dynamic values for getSearchEngineId() method

Activity

Show:

Michael SaechangMarch 2, 2012 at 4:23 PM

Committed on:
6.1.x GIT ID: 3dfc64e0983b33b8eb07834678855ae3fc50a547.
6.2.x GIT ID: d496dfb3755a92ca293a35ba5718d96dc3a85049.

Stéphane GamardJanuary 10, 2012 at 6:12 AM

  • Deprecated all indexing methods that do not pass-along a SearchEngineId

  • Dynamic searchEngineId() method based on props in BaseIndexer

  • Backward compatible by BaseIndexer.getSearchEngineId() lookup

  • Refactored default searchEngineId

Stéphane GamardJanuary 4, 2012 at 10:14 AM

Required update for "drop-in-place" enterprise-search for LR market place.

Fixed

Details

Assignee

Reporter

Labels

Branch Version/s

6.1.x

Backported to Branch

Committed

Liferay Contributor's Agreement

Accept

Git Pull Request

Components

Priority

Zendesk Support

Created January 4, 2012 at 10:13 AM
Updated June 24, 2023 at 3:36 PM
Resolved April 9, 2012 at 4:51 PM
Loading...