Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.1 EE SP3 (5.1.6), 5.2 EE SP1 (5.2.5)
-
All
Description
Search does not work after removing an alternate search engine adapter such as FAST. This bug occurred because the search engine integration does not fall back properly to the default Lucene search engine.
As part of this bug fix, the following methods has been removed:
SearchEngine
public boolean isRegistered()
public void register(String name)
public void unregister(String fromName)
SearchEngineUtil
public static void register(String name)
public static void registerDefaultSearchEngine()
public static void unregister(String fromName)
public void setDefaultSearchEngineName(String defaultSearchEngineName)
The class SearchRequest has also been rewritten. The new methods are:
public static SearchRequest add(long companyId, Document document)
public static SearchRequest delete(long companyId, String uid)
public static SearchRequest deletePortletDocuments(long companyId, String portletId)
public static SearchRequest search(long companyId, Query query, Sort[] sorts, int start, int end)
public static SearchRequest update(long companyId, String uid, Document document)
public long getCompanyId()
public Document getDocument()
public int getEnd()
public String getId()
public Query getQuery()
public SearchEngineCommand getSearchEngineCommand()
public Sort[] getSorts()
public int getStart()
public void setCompanyId(long companyId)
public void setDocument(Document document)
public void setEnd(int end)
public void setId(String id)
public void setQuery(Query query)
public void setSorts(Sort[] sorts)
public void setStart(int start)
public String toString()
Attachments
Issue Links
- is related to
-
LPS-4168 Current search engine integration does not fall back properly to the default Lucene search engine after removal of alternate search engine adapter
- Closed