-
Type:
Bug
-
Status: Verified
-
Resolution: Unresolved
-
Affects Version/s: 7.0.X EE, 7.0.0 DXP SP6, Master
-
Fix Version/s: None
-
Component/s: Search Infrastructure, Web Search > Search Widgets
-
Fix Priority:3
Deployment guide says that both "Search indexes" and "Spell Check indexes" must be reindexed when switching to REMOTE operation mode
Description
The 'Did you mean' spell check feature on the search portlet does not work by default when starting up a vanilla Liferay instance. This is due to the fact that the spell check dictionary is not indexed on server startup. Although this can be solved by going to Control Panel > Configuration > Server Administration > Reindex all spell check indexes, basic search spell check should be enabled by default, without this extra step.
Steps to reproduce
1) Check the default page's search portlet configuration and ensure "Display 'Did you mean:...'" is checked, with Threshold for Displaying "Did you mean: ..." set to a large enough positive value (default to 50).
2) Search "happie" and "jumpin" one after the other.
Results of Testing
Expected Result: "happie" returns "Did you mean: happier," "jumpin" returns "Did you mean: jumping."
Actual Results: no spelling suggestions are returned.
To confirm how spell check should work, go to Control Panel > Configuration > Server Administration > Reindex all spell check indexes, and after that, you should see the expected results for those search queries.
Errors/Logs
No errors
Master
Reproduced
f08886d834fd62d6422349a116834e6eef7a6708
Branch
Reproduced
ad601082f5700519597180caf94708619ecb17a3
- is related to
-
LPS-78428 New Search Portlets: Suggestions
-
- Closed
-
-
LRDOCS-3595 Document Search Functionality in standalone search section--User Docs
-
- Closed
-
- Testing discovered
-
LPS-73569 Solr plugin not generating ngrams for spell checker: "Did you mean" feature is not working
- Closed
-
LPS-72548 When the search portlet's "Threshold for Displaying "Related queries"" is not met, portlet becomes unavailable
- Closed
-
LPS-72799 "Reindex all search indexes" does not reindex spell check indexes
- Verified