-
Type:
Story
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: 7.2.X, 7.3.0 CE GA1, Master
-
Component/s: Search Infrastructure
-
Branch Version/s:7.2.x
-
Backported to Branch:Committed
-
Story Points:34
-
Epic Link:
-
Sprint:Search | S03 Sprint 3, Search | S03 Sprint 4, Search | S03 Sprint 5, Search | S03 Sprint 6, Search | S03 Sprint 7, Search | S03 Sprint 8
-
Git Pull Request:
Documentation:
- https://learn.liferay.com/dxp-7.x/using-search/search-pages-and-widgets/similar-results.html
- https://learn.liferay.com/dxp-7.x/using-search/developer-guide/writing-a-similar-results-contributor.html
Acceptance Criteria
General
- Site administrators can put a Similar Results widget on a page.
- If there is no main asset (either we can't detect the main document or none exists):
- For site administrators, display the following info message: "There are no similar results available."
- For end users, do not display a message. The widget is empty.
- When a main asset is detected, the Similar Results widget will show similar results of the same asset type.
- Note: Future versions will support displaying mixed asset types
- API extension points to support any type of indexed document
Asset Publisher Page
- Create a widget page with an Asset Publisher widget and a Similar Results widget.
- Go to Asset Publisher's Configuration and set Display Settings > Asset Link Behavior to Show Full Content. (This will display the content of the asset inside the Asset Publisher.)
- Create multiple similar assets of the types listed below. (similar enough that the Similar Results widget would populate results)
- Blog Entries
- Documents and Media files
- Documents and Media folders
- Web Content
- Wiki Pages
- Message Boards threads
- Message Boards messages
- Message Boards categories
- When clicking on an asset within the Asset Publisher widget, users should see results appear in the Similar Results widget.
- When clicking on an asset within the Similar Results widget, users should see that asset rendered on the Asset Publisher widget on the current page.
Asset-specific Display Pages
- Create a widget page with a Blogs widget and a Similar Results widget.
- Create multiple similar blogs. (similar enough that the Similar Results widget would populate results)
- When clicking on a blog within the Blogs widget, users should see results appear in the Similar Results widget.
- When clicking on a blog within the Similar Results widget, users should see that blog rendered on the Blogs widget on the current page.
- Repeat the above substituting the following widgets and assets
- Widget: Blogs, Asset: Blog Entry
- Widget: Documents and Media, Assets: File, Folder
- Widget:
Web Content Display, Asset: Web Content(decided not to implement due to reason stated in note below)- Note: This may not be possible via URL detection because the widget does not provide context of the selected asset in the URL.
- Widget: Wiki, Asset: Wiki Page
- Widget:
Wiki Display, Asset: Wiki Page(decided not to implement due to reason stated in note below)- Note: This may not be possible via URL detection because the widget does not provide context of the selected asset in the URL.
- Widget: Message Boards, Asset: Threads, Messages, Categories
Configuration Options
- General configuration section showing:
- The maximum number of items to display via an input field.
- Display Template drop down list with the following options:
- Three default display templates: Title, Detail, Card. (Figma)
- All Widget Templates created by administrator
- Link to "Manage Templates" which allows administrators to CRUD Widget Templates
- Advanced configuration section showing Elasticsearch's More Like This query parameters
- demands
-
LRDOCS-7234 Similar Results Widget
-
- Closed
-
- depends on
-
LPS-98538 As a Search Admin, I want the More Like This Filter widget to smart detect what is on display
-
- Open
-
-
LPS-97150 Design
-
- Closed
-
-
LPS-98532 As a Developer, I can write a More Like This results front-end that reuses a convenient More Like This search back-end
-
- Closed
-
-
LPS-102630 Similar Results widget must use its Maximum Item Display to limit results at search engine level
-
- Closed
-
- is demanded by
-
LPS-102629 As a Search Admin, I want to troubleshoot Similar Results by inspecting the generated More Like This query with Search Insights
-
- Closed
-
- relates
-
LPS-104046 Similar Results default display templates are not styled properly
- Closed