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

Status: Done
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 Priority: Major
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
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... Done
is related to by SHA-2000 UA update for Live Search in Site Done
is related to by REPO-201 Nodes Live Search Done
Sub-Tasks:
Key
Summary
Type
Status
Assignee
SHA-1636 Investigate v1 API Sub-task Done  
SHA-1637 API Development in Share Services Sub-task Done Kevin Roast [X]  
SHA-1638 UI Development Sub-task Done Kevin Roast [X]  
SHA-1639 Define Tests Sub-task Done  
SHA-1640 Manual Testing Sub-task Done Corina Zaharia [X]  
SHA-1641 Automate Tests Sub-task Done Meenal Bhave [X]  
SHA-1683 Site with long name displays incorrec... Sub-task Done  
SHA-1684 Add / Update tests in TestRail Sub-task Done  
SHA-1737 Documentation Update Sub-task Done Andy Healey [X]  
Epic Link: Search & Discovery
Story Points: 13

 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 Fri Dec 04 05:04:39 GMT 2020 using Jira 7.13.15#713015-sha1:7c5ddd2c3e1709974ae9c48c17df8edd3919fe2c.