[SHA-1521] Ability to limit the Live search scope Created: 01-May-15  Updated: 28-Feb-17  Resolved: 12-Sep-16

Status: Closed
Project: Share Application
Component/s: Search and Indexing (non-UI)
Affects Version/s: 5.0
Fix Version/s: 5.2.0 Share, 5.2.a Share, Search UX (5.2)

Type: Story
Reporter: Jennie Soria [X] (Inactive) Assignee: Unassigned
Resolution: Done Votes: 4
Labels: kanban, webappsha
Σ Remaining Estimate: 0 minutes Remaining Estimate: 0 minutes
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified
Environment:

solr4


Attachments: PNG File Ability to limit the Live search scope-01.png     PNG File in site search.png    
Issue Links:
Cloners
is clone of MNT-13350 Search launched from site scope still... Closed
Dependency
Depended on by AKU-186 CLONE - Faceted search: current Site ... Closed
Duplicate
is duplicated by MNT-16020 Search from site scope starts in Repo... Closed
Related
relates to SHA-1754 Advanced search is not taking into ac... Closed
is related to by SHA-2000 UA update for Live Search in Site Closed
is related to by ACE-1469 Search from any site's page initializ... Closed
is related to by REPO-201 Nodes Live Search Done
Sub-Tasks:
Key
Summary
Type
Status
Assignee
SHA-1636 Investigate v1 API Sub-task Closed  
SHA-1637 API Development in Share Services Sub-task Closed Kevin Roast [X]  
SHA-1638 UI Development Sub-task Closed Kevin Roast [X]  
SHA-1639 Define Tests Sub-task Closed  
SHA-1640 Manual Testing Sub-task Closed Corina Zaharia [X]  
SHA-1641 Automate Tests Sub-task Closed Meenal Bhave [X]  
SHA-1683 Site with long name displays incorrec... Sub-bug Closed  
SHA-1684 Add / Update tests in TestRail Sub-task Closed  
SHA-1737 Documentation Update Sub-task Closed Andy Healey [X]  
ACT Numbers:

00330819, 00425975, 00556297, 00587980, 00619551, 00627326, 00817453

Work Funnel: Feature
Epic Link: Search & Discovery
Story Points: 13
Template:

 Description   

As a user searching for content I want to be able to constrain the scope of my search to the site that I am currently in so that I do not have lots of irrelevant results returned to me.

Acceptance Criteria

  1. Given that the user has not entered anything into the Live Search field then the placeholder text is "Search files, people, sites"
  2. Given that the user is in a site and is typing into the search box a drop down appears that allows the user to select "Search Alfresco."
  3. Given that the user is in a site and is typing into the search box a drop down appears that allows the user to select "Search in <site full name>."
  4. Given that the user does not select either option and just presses enter the default is assumed which is to search the whole alfresco respository
  5. Given that the user presses the enter key whilst the cursor is in the live search box with Search Alfresco selected the search results page is displayed with content from the whole repository
  6. Given that the user presses the enter key whilst the cursor is in the live search box with Search in site selected then the search results page is displayed with content from the site and pre-select the filter for the current site

-------------------
Request is for additional control to limit the scope of the 'live search' feature. To at least configure context to limit it within scope of where search starts. Example if customer is in a site and does 'live search' it limits its results to the site they start search in.

As of v5 we modified our search implementation pages to use newer methodology, Aikau (http://docs.alfresco.com/5.0/concepts/aikau-intro.html) versus the old methodology in v4.2 and older versions. To allow better filtering mechanism with less customization requirements and more readily available management of filters and dynamic matching results showing as you search.

> what was 'simple search' has been replaced with 'live search'
> what was 'advance search' was replaced with the Aikau framework

There was a configuration for the <repository-search> context (none, context, always, always-option) and it is not applicable in the v5 implementation. As of 5.0.1 (MNT-13350) you can modify the scope of 'advance search' with customization afforded with Aikau 1.0.8.

But this has no impact on limiting the scope in the 'live search'. The 'live search' will still search repo/sites/current site and filter and group the results as search term is entered.

Business case:
Its a very important criteria to have context search for the customer such that when a user is in a site and does a 'live search' they are restricted to that site's scope.


Generated at Sat Jul 04 16:17:27 BST 2020 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.