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

Search engine used for indexing/search can now be configured in portal properties

    Details

    • Fix Pack Status:
      Scheduled

      Description

      Search engine used for indexing/search can now be configured in portal properties.

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

      API CHANGES:

      Class: com.liferay.portal.kernel.search.AbstractSearchEngineConfigurator

      Method: setSearchEngines(List<SearchEngine> searchEngines)
      Status: Deprecated
      New method: setSearchEngines(Map<String, SearchEngine> searchEngines)

      Class: com.liferay.portal.kernel.search.BaseSearchEngine

      Method: getName()
      Status: Deleted
      New method: getTermQueryFactory(), getTermRangeQueryFactory()

      Method: setName(String name)
      Status: Deleted
      New method: setTermQueryFactory(TermQueryFactory termQueryFactory), setTermRangeQueryFactory(TermRangeQueryFactory termRangeQueryFactory)

      Class: com.liferay.portal.kernel.search.BooleanClauseFactoryUtil

      Method: create(Query query, String occur)
      Status: Deleted
      New method: create(SearchContext searchContext, Query query, String occur)

      Method: create(String field, String value, String occur)
      Status: Deleted
      New method: create(SearchContext searchContext, String field, String value, String occur)

      Method: getBooleanClauseFactory()
      Status: Deleted
      New method: getBooleanClauseFactory(SearchContext searchContext)

      Method: setBooleanClauseFactory(BooleanClauseFactory booleanClauseFactory)
      Status: Deleted

      Class: com.liferay.portal.kernel.search.SearchEngine

      Method: getName()
      Status: Deleted
      New method: getTermQueryFactory(), getTermRangeQueryFactory()

      Class: com.liferay.portal.kernel.search.SearchEngineProxyWrapper

      Method: getName()
      Status: Deleted
      New method: getTermQueryFactory(), getTermRangeQueryFactory()

      Class: com.liferay.portal.kernel.search.SearchEngineUtil

      Method: addDocument(long companyId, Document document)
      Status: Deprecated
      New method: addDocument(String searchEngineId, long companyId, Document document)

      Method: addDocuments(long companyId, Collection<Document> documents)
      Status: Deprecated
      New method: addDocuments(String searchEngineId, long companyId,Collection<Document> documents)

      Method: addSearchEngine(SearchEngine searchEngine)
      Status: Deprecated
      New method: setSearchEngine(String searchEngineId, SearchEngine searchEngine)

      Method: deleteDocument(long companyId, String uid)
      Status: Deprecated
      New method: deleteDocument(String searchEngineId, long companyId, String uid)

      Method: deleteDocuments(long companyId, Collection<String> uids)
      Status: Deprecated
      New method: deleteDocuments(String searchEngineId, long companyId, Collection<String> uids)

      Method: deletePortletDocuments(long companyId, String portletId)
      Status: Deprecated
      New method: deletePortletDocuments(String searchEngineId, long companyId, String portletId)

      Method: getSearchEngine()
      Status: Deprecated
      New method: getSearchEngine(String searchEngineId)

      Method: search(long companyId, long[] groupIds, long userId, String className, Query query, int start, int end)
      Status: Deprecated

      Method: search(long companyId, long[] groupIds, long userId, String className, Query query, Sort sort, int start, int end)
      Status: Deprecated

      Method: search(long companyId, long[] groupIds, long userId, String className, Query query, Sort[] sorts, int start, int end)
      Status: Deprecated

      Method: search(long companyId, Query query, int start, int end)
      Status: Deprecated
      New method: search(String searchEngineId, long companyId, Query query, int start, int end)

      Method: search(long companyId, Query query, Sort sort, int start, int end)
      Status: Deprecated
      New method: search(String searchEngineId, long companyId, Query query, Sort sort, int start, int end)

      Method: search(long companyId, Query query, Sort[] sorts, int start, int end)
      Status: Deprecated
      New method: search(String searchEngineId, long companyId, Query query, Sort[] sorts, int start, int end)

      Method: setSearchEngines(Map<String, SearchEngine> searchEngines)
      Status: Deleted

      Method: updateDocument(long companyId, Document document)
      Status: Deprecated
      New method: updateDocument(String searchEngineId, long companyId, Document document)

      Method: updateDocuments(long companyId, Collection<Document> documents)
      Status: Deprecated
      New method: updateDocuments(String searchEngineId, long companyId, Collection<Document> documents)

      Method: setSearchEngine(SearchEngine searchEngine)
      Status: Deprecated
      New method: setSearchEngine(String searchEngineId, SearchEngine searchEngine)

      Class: com.liferay.portal.kernel.search.messaging.BaseSearchEngineMessageListener

      Method: getSearchEngineName()
      Status: Deleted
      New method: setSearchEngineId(String searchEngineId)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              angelo.jefferson Angelo Jefferson
              Reporter:
              hugo.huijser Hugo Huijser (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  6.1 EE GA2 (6.1.20)