Types of Searches and behaviors

                                                            

                                                                               Types of Searches and behaviors

Basically searches helps users to retrieve the asset in the system as quickly as possible.In eMAM system we have 3 types of searches     

1) Basic search
2) Advanced search
3) Thesaurus search

We have an Search filter widget which helps user to enter their search value in the fields which means of quickly finding their assets.The search panel is on the top of the web page. Please see in the below diagram.
 

Search function can also be performed under widgets like Projects, Categories and Dashboard.


                                                                             1) Basic search

Basic search is done based on the Full text search which text entered in the search box .Basic Behavior value of basic search is set to 'like' which can be configured in the eMAM Director web config.

 a) Open "C:\Program Files\Empress Media\eMAM Director\web.config". 

b) Search for the key "BasicsearchBehaviour"

c) Change the value of "BasicsearchBehaviour" to "like"  
  
           eg :  <add key="BasicsearchBehaviour"  value ="like" />

For a given word or phrase, by default search is carried out in the following fields (other fields can also be added to the search purview by customizing it in the eMAM Director web config)

Note : To include more column fields, please add the following IDs separated by comma.

<add key="BasicsearchColumns"  value ="1,2,9" />

 Title = 1, 
 Description = 2,
 Author = 3, 
 Ingested by = 4, 
 Asset tags = 5, 
 Comments = 6,
 Closed Caption = 7,
 Embedded Metadata = 8,
 Custom Metadata = 9,
 Asset Id = A,
 UUID = B,
 Marker = C

Case Scenarios for Basic Search:

 Asset 1: Title: Child
 Asset 2: Title: eMAM Application Server
 Asset 3: Private Tag: He went to church
 Asset 4: Public Tag: She is gone Asset
 5: Description: Children are playing
 Cases:
 Basic Search word: Server
 Search results -> Asset 2, because the word eMAM Application Server consider as a separate word.

 Another example: 
Asset 1: Title: Child
 Asset 2: Title: Sc_005_Skater_EDIT
 Asset 3: Private Tag: He went to church
 Asset 4: Public Tag: She is gone Asset
 5: Description: Children are playing
 Cases: 
Basic Search word: Skater
 Search results -> Asset 2, here in this case the word Skater will consider as a single phrase that why the reason we are getting the result.

                                                                            2) Advanced search

Advanced search option is used to narrow down the searches if there are many relevant assets. If the user knows exactly what and where to search for asset, this feature can quickly narrow results. Click on Advanced Search next to Basic search on top panel.

Advanced Search window opens up.

Basic Behavior value of basic search is set to 'advanced' which can be configured in the eMAM Director web config.

a) Open "C:\Program Files\Empress Media\eMAM Director\web.config". 

b) Search for the key "BasicsearchBehaviour"

c) Change the value of "BasicsearchBehaviour" to "advanced"  
  
           eg :  <add key="BasicsearchBehaviour"  value ="advanced" />

Under the advanced search tab, the user can enter a search term or phrase in the search text box. To narrow the search results further, the user can choose from several additional options, and then click the SEARCH button at the bottom to search or CLEAR button to deselect all the options.

The user can then choose any one of the four options: Exact Match, Contains this word, Contains all these words, Contains any of these words, Enable Full Text search and Thesaurus.

 ->  If the ‘Exact Match’ option is selected, then 

 1.The order of search terms or phrases is important. For example, if the asset title is ‘Film awards’, searching for ‘awards Film’ will not return any asset.

 2.Space between search terms or phrases is important. For example, if the asset title is ‘Filmawards’, searching for ‘Film awards’ will not return any asset.

-> If the ‘Contains this word’ option is selected, then the user should enter only one search term in the search text box. If more words are entered, then a ‘Multiple words are not allowed’ error message is displayed.

-> If the ‘Contains all these words’ option is selected, there must be more than one search term in the search text box. If not, then the ‘Please Enter Multiple Words’ messages is displayed. eMAM search engine searches and returns the assets that contain all the words typed in the search text box, regardless of order.

-> When the ‘Contains any of these words’ option is selected for search, there must be more than one search term in the search box. If not, then the ‘please enter multiple words’ message is displayed.  This search option returns all the assets that contain at least one of the the words entered in the search text box. For example, search for ‘spring season’ returns  assets with ‘beauty of ‘spring’, ‘season’ of flowers’, ‘spring season’ always bring april shower’ etc.

-> Enable Full Text Search: Enabling full text search ignores any prepositions in the search word or phrase. Full text search is relevant only when the user selects ‘Contains all these words‘ option to search an asset. If Full Text search is enabled, then noise words like ‘it’, ‘in’, ‘of’, ‘to’, etc. are ignored for searching assets.


The following examples explain ‘Enable Full Text’ option in detail:

 Asset 1-Description- Nature is simply beautiful.

 Asset 2- Description- Life is beautiful.

 Asset 3- Description- Flowers.

 Expansion Set: Life, beautiful, flowers

 Advanced Search phrase- ‘Nature is simply beautiful’

 Case 1

 Advanced Search with full text & thesaurus enabled:

 Exact match                : Asset 1, Asset 2 & Asset 3 are returned as search result

 Contains all these words        : Asset 1 is returned as a search result

 Contains any of these words    : Asset 1 & Asset 2 are returned as search result

 Case 1.2

 Advanced Search with full text enabled & thesaurus disabled:

 Exact match                : Asset 1 is returned as search result

 Contains all these words        : Asset 1 is returned as a search result

 Contains any of these words    : Asset 1 & Asset 2 are returned as search result

 Case 2:

 Advance search with full text disabled:

 Exact match                : Asset 1 is returned as a search result

 Contains all these words        : Asset 1 is returned as a search result*

 Contains any of these words        : Asset 1 & 2 are returned as search result 


                                                                            3) Thesaurus search

Super Admins can manage thesaurus search function by creating expansion sets. An expansion set contains a group of words such as "smile", "blush", and "laugh" that are substituted for one another by a full-text query. Under Thesaurus tab, you can manually add these words to the expansion sets. Therefore, if a user enables Thesaurus search in the Basic and Advanced search, search result will list all the assets with the searched phrase and also the synonym words in the expansion sets.

Basic Behavior value of basic search is set to 'Thesaurus' which can be configured in the eMAM Director web config.

a) Open "C:\Program Files\Empress Media\eMAM Director\web.config". 

b) Search for the key "BasicsearchBehaviour"

c) Change the value of "BasicsearchBehaviour" to "Thesaurus"  
  
           eg :  <add key="BasicsearchBehaviour"  value ="Thesaurus" />


Post configuration changes in eMAM director web config, we can do the configuration from Admin tool widget.

In the Admin Tools widget, click on Thesaurus tab will take you to the Admin Tools page.

Under Thesaurus tab, you will find two tabs:

  -> Manage Thesaurus
  -> Configure Thesaurus

Add Expansion Set: In the right panel under Add words, enter the desired word and click on Add to List button. Note: Add only single words. Do not add words separated by commas. Newly added word gets listed below in the expansion set. Similarly, add all the words which you would like to group together for thesaurus search. To delete any word, click on X mark adjacent to the listed word. Once all the words are added, click on Save button to save the Expansion Set. Saved expansion set gets listed in the middle panel

Configure Thesaurus: Under Configure Thesaurus tab, you will see the path to XML where the expansion set words are saved. *Note: Make sure that you get the right Thesaurus file path from the SQL server installation folder. Eg: "C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQLSERVER\MSSQL\FTData". The folder path will be varied on different SQL versions.