Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.0.X EE, Master
-
7.0.x
-
Committed
-
1.25
Description
Issue
Search breaks if searching for specific tokens like AND, OR or NOT while using Solr 5 integration
Steps to reproduce
- Follow the steps to install Solr 5.2.1 and connect it to Liferay (de-13)
https://dev.liferay.com/discover/deployment/-/knowledge_base/7-0/using-solr
Note: "com.liferay.portal.search.elasticsearch.jar" does not exist anymore, stop the osgi bundle each time you start liferay - Login to Liferay
- Reindex and make sure that the search is working through Solr
- Search for the following cases
Case 1
Search for AND, OR and NOT
Case 2
Search for "the" AND "end", "the" OR "end", "the" NOT "end"
(Note that searching without quotes do not result in the error)
Case 3
Search for "the" "end" (note the space is a japanese full-width space)
(Note that searching without quotes do not result in the error)
Case 4
Search for !, *, (, ), square brackets, curly brackets, backslash
Expected results
No results found.
Actual results
Search is temporarily unavailable. error shows, a bunch of exceptions are thrown.
Reproduced in
de-13
ee-7.0.x
master
Note
None of those queries results in an error when using embedded Elasticsearch.
Attachments
Issue Links
- fixes
-
LPS-69380 BaseJSPSearchFacet error when Elasticsearch fails
- Closed