Affects Version/s: 7.0.0 CE GA1, 7.0.0 DXP GA1
The fix will be released in a future version of Liferay Solr 5 Search Engine (higher than 1.0.0). The solution also requires to update the schema.xml in the Solr server with one provided with the Liferay Solr app.
Due to the schema changes for the fullName field it requires to reindex Users to make it work for existing users objects.
After configuring DXP to use Solr as its default search engine, every search result which contains the searched keyword ends with ellipses (...)
For example, if I search for "Test" in the Search portlet, I expect to see Test Test (User) as one of the results. Instead, I see Test Test... (User). This affects every searchable asset including Blogs, Bookmarks, Web Content, Documents and Media, Message Boards, and Users.
This seems highly related to
LPS-48551. It may be possible that instead of this behavior being a regression, the code might not have applied to Solr.
The customer is using Japanese localization and Solr tuned for Japanese localization, and we initially reproduced this behavior using Japanese. Please ensure that the code changes will apply to this type of set up as well.
Steps to Reproduce
- Set up Solr 5.2.1 and Liferay DXP + FP32 + Liferay Solr 5 Search Engine (1.0.0) according to the specifications set in the official documentation: https://dev.liferay.com/discover/deployment/-/knowledge_base/7-0/using-solr
- Restart the server
- Reindex the server in Server Administration
- Add a Documents and Media entry called Sample
Optional Add a user called Sample, or any other entries/folder called "Sample" in any other Content type portlet
- Go to the Liferay DXP home page (http://localhost:8080/web/guest/home)
- In the search portlet, type in Sample
Search result end with ellipses
Search result does not end with ellipses as in Elasticsearch searches
DXP + DE-32 + Elasticsearch (default)
DXP + DE-32 + Solr 5 search plugin from Marketplace
Master 31c306fad21ee0718ef3597a9cda6a3212a569a1 (used portal-search-solr module in Master)
7.0.x 2b6381b81c35b207863d702459c8dd48f8f6a905 (used portal-search-solr module in Branch 7.0.x)