{"id":3851,"date":"2022-04-28T04:40:02","date_gmt":"2022-04-28T04:40:02","guid":{"rendered":"https:\/\/multisite.korebots.com\/SearchAssist\/?p=3851"},"modified":"2022-08-17T12:04:48","modified_gmt":"2022-08-17T12:04:48","slug":"managing-index-pipeline","status":"publish","type":"post","link":"https:\/\/multisite.korebots.com\/SearchAssist\/concepts\/managing-indices\/managing-index-pipeline\/","title":{"rendered":"Managing Index Pipeline"},"content":{"rendered":"<p class=\"w-post-elm post_title entry-title\">The Workbench transforms available content into objects for effective indexing. An Indexing Pipeline is a series of stages that convert content into a document ready for indexing. Each stage performs a specific set of data transformations before passing the content onto the next stage in the pipeline. Each stage has a stage-specific configuration. Rearrange or sequence the stages in the order of your preferred flow with a simple drag and drop action.<\/p>\n<div class=\"w-post-elm post_content\">\n<p>For example, extract entity values before processing trait properties or vice versa. SearchAssist allows you to develop a custom pipeline for each Workbench configuration to suit your business requirements.<\/p>\n<p>An indexing stage has properties like stage type, stage name, and applicable conditions. Define the conditions to choose the documents that must be transformed. For example, you can write a condition to consider only the FAQs.<\/p>\n<p>For best results, click the Train your App icon each time you change an indexing configuration. This ensures the indexing is based on the latest configuration.<\/p>\n<p>To test the SearchAssist app for select stages, render the other stages inactive with the toggle switch in the top right corner of the page. This will retain those stages but at the same time, they won\u2019t be considered in the indexing configuration. You can enable those inactivated stages at a later time as required.<\/p>\n<p>Indexing pipeline stages are listed here:<\/p>\n<ul>\n<li aria-level=\"1\"><b>Field Mapping<\/b>\u00a0maps fields in an indexing pipeline document to a target field, sets values, copies values, removes fields, and more.<\/li>\n<li aria-level=\"1\"><b>Entity Extraction\u00a0<\/b>uses NLP techniques to identify named entities from the source field.<\/li>\n<li aria-level=\"1\"><b>Traits Extraction\u00a0<\/b>extracts specific attributes that search users might express in their conversations.<\/li>\n<li aria-level=\"1\"><b>Custom Script<\/b>\u00a0stage allows you to enter customized scripts to perform any field mapping tasks like deleting or renaming fields.<\/li>\n<li aria-level=\"1\"><b>Keyword Extraction\u00a0<\/b>automatically detects important words stored in a field.<\/li>\n<li aria-level=\"1\"><b>Exclude Document<\/b>\u00a0stage drops all the documents that match the specified condition.<\/li>\n<li aria-level=\"1\"><b>Semantic Meaning<\/b>\u00a0is a technique to understand the meaning and interpretation of words, signs, and sentence structure. This stage currently supports web page-related sources only.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Field_Mapping\"><\/span><span id=\"Field_Mapping\" class=\"ez-toc-section\"><\/span><span id=\"Field_Mapping\" class=\"ez-toc-section\">Field Mapping<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The Field Mapping stage maps fields in an index pipeline document to a target field. SearchAssist allows you to:<\/p>\n<ul>\n<li aria-level=\"1\">Set a field value, rename a field, copy one field to another, or remove a field.<\/li>\n<li aria-level=\"1\">Define a condition for the field mapping stage. The field mapping actions occur on the documents that satisfy the given condition.<\/li>\n<li aria-level=\"1\">Re-order or delete a Field Mapping.<\/li>\n<li aria-level=\"1\">Simulate to test changes before saving.<\/li>\n<\/ul>\n<h4>Training<\/h4>\n<p>Click the Train your App\u00a0icon each time you change an index configuration. This builds the index based on the updated configurations.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Configuring_Field_Mapping\"><\/span><span id=\"Configuring_Field_Mapping\" class=\"ez-toc-section\"><\/span><span id=\"Configuring_Field_Mapping\" class=\"ez-toc-section\"><a ref=\"magnificPopup\" href=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/train-your-app-1-e1652101977222.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3830 size-medium\" src=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/train-your-app-1-e1652101977222-300x64.png\" alt=\"\" width=\"300\" height=\"64\" data-pagespeed-url-hash=\"3962914393\" \/><\/a>Configuring Field Mapping<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Follow these steps:<\/p>\n<ol>\n<li aria-level=\"1\">Click the Indices menu tab.<\/li>\n<li aria-level=\"1\">In the left pane, click Workbench.<\/li>\n<li aria-level=\"1\">On the Workbench page, click the + icon.<\/li>\n<li aria-level=\"1\">Click the Stage Type field and select Field Mapping.<a ref=\"magnificPopup\" href=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/field-mapping-e1652102048993.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3837 size-medium\" src=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/field-mapping-e1652102048993-300x148.png\" sizes=\"(max-width: 300px) 100vw, 300px\" srcset=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/field-mapping-e1652102048993-300x148.png 300w, https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/field-mapping-e1652102048993.png 456w\" alt=\"\" width=\"300\" height=\"148\" data-pagespeed-url-hash=\"3462936424\" \/><\/a><\/li>\n<li aria-level=\"1\">Enter a unique stage name.<\/li>\n<li aria-level=\"1\">Change the Condition (Basic or Script) if required. The default setting is Basic.<\/li>\n<li aria-level=\"1\">Click Choose field and select an item on the drop-down menu.<\/li>\n<li aria-level=\"1\">Click Select Operator and choose an item on the drop-down menu.<\/li>\n<li aria-level=\"1\">Click + AND to insert another condition. (optional) SearchAssist considers the documents that satisfy the condition(s) as part of the stage.<\/li>\n<li aria-level=\"1\">Click the Action field and select an option on the drop-down menu.\n<ul>\n<li><b>Set<\/b>\u00a0a value for the Field Name<\/li>\n<li><b>Rename<\/b>\u00a0to a change a label of a Field Name<\/li>\n<li><b>Copy<\/b>\u00a0the Source Field to the Target Field<\/li>\n<li><b>Remove<\/b>\u00a0to delete a Field Name<\/li>\n<\/ul>\n<\/li>\n<li>Click Field Name and select an item.<\/li>\n<li aria-level=\"1\">Click Save Configuration in the top-right corner.<\/li>\n<\/ol>\n<h4>Running a Simulation<\/h4>\n<p>Click Simulate to verify configurations. The simulator opens a side panel and displays the source, the number of documents with mapping applied, and the result. You can change the source and number of documents if there is no mention in the conditions. (see below)<\/p>\n<h4>Simulation Example<\/h4>\n<ol>\n<li aria-level=\"1\">Select Set on the Actions drop-down menu.<\/li>\n<li aria-level=\"1\">Enter Title in the Field Name field.<\/li>\n<li aria-level=\"1\">Enter Heading in the Value field.<br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/field-conditions-e1652102105860.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3835 size-medium\" src=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/field-conditions-e1652102105860-300x164.png\" sizes=\"(max-width: 300px) 100vw, 300px\" srcset=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/field-conditions-e1652102105860-300x164.png 300w, https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/field-conditions-e1652102105860.png 416w\" alt=\"\" width=\"300\" height=\"164\" data-pagespeed-url-hash=\"487654088\" \/><\/a><\/li>\n<li aria-level=\"1\">Click Simulate to verify if the field value is changed.<a ref=\"magnificPopup\" href=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/simulator-e1652093518107.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3836 size-medium\" src=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/simulator-e1652093518107-300x276.png\" sizes=\"(max-width: 300px) 100vw, 300px\" srcset=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/simulator-e1652093518107-300x276.png 300w, https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/simulator-e1652093518107.png 331w\" alt=\"\" width=\"300\" height=\"276\" data-pagespeed-url-hash=\"490886981\" \/><\/a><\/li>\n<\/ol>\n<h4>Conditions for Mapping Fields<\/h4>\n<p>The condition is specified in the following format:<\/p>\n<ul>\n<li aria-level=\"1\">ctx.fieldtype==value or ctx.fieldtype!=value.<\/li>\n<\/ul>\n<p>For example, ctx.sys_content_type==\u201cweb\u201d to restrict the mapping to content from a web source.<\/p>\n<p>&nbsp;<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Entity_Extraction\"><\/span><span id=\"Entity_Extraction\" class=\"ez-toc-section\"><\/span><span id=\"Entity_Extraction\" class=\"ez-toc-section\">Entity Extraction<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Entity Extraction is the identification of required information expected from the user as input to accomplish the task. SearchAssist uses NLP techniques to find named entities from the source field.<\/p>\n<p>The Entity Extraction stage in Indexing Pipeline identifies a set of entities from a source field and saves them in a target field. SearchAssist uses the target field to identify the intention of the search user more accurately.<\/p>\n<p>SearchAssist allows you to:<\/p>\n<ul>\n<li aria-level=\"1\">Add multiple entities to be extracted from the source field.<\/li>\n<li aria-level=\"1\">Define a condition for the entity extraction stage and the entities are extracted only from the documents that satisfy the given condition.<\/li>\n<li aria-level=\"1\">Re-order or delete entity extraction rules.<\/li>\n<li aria-level=\"1\">Simulate changes before saving.<\/li>\n<\/ul>\n<h4>Training<\/h4>\n<p>Click the Train your App\u00a0icon each time you change an index configuration. This builds the index based on the updated configurations.<\/p>\n<h3><a ref=\"magnificPopup\" href=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/train-your-app-1-e1652101977222.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3830 size-medium\" src=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/train-your-app-1-e1652101977222-300x64.png\" alt=\"\" width=\"300\" height=\"64\" data-pagespeed-url-hash=\"3962914393\" \/><\/a><\/h3>\n<h3><span class=\"ez-toc-section\" id=\"Configuring_Entity_Extraction\"><\/span><span id=\"Configuring_Entity_Extraction\" class=\"ez-toc-section\"><\/span><span id=\"Configuring_Entity_Extraction\" class=\"ez-toc-section\">Configuring Entity Extraction<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Follow these steps:<\/p>\n<ol>\n<li>\n<ol>\n<li aria-level=\"1\">Click the Indices menu tab<\/li>\n<li aria-level=\"1\">In the left pane, click Workbench.<\/li>\n<li aria-level=\"1\">On the Workbench, click the + icon.<\/li>\n<li aria-level=\"1\">Click the Stage Type field and select Entity Extraction.<a ref=\"magnificPopup\" href=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/entity-extraction-e1652102207965.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3834 size-medium\" src=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/entity-extraction-e1652102207965-300x151.png\" sizes=\"(max-width: 300px) 100vw, 300px\" srcset=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/entity-extraction-e1652102207965-300x151.png 300w, https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/entity-extraction-e1652102207965.png 400w\" alt=\"\" width=\"300\" height=\"151\" data-pagespeed-url-hash=\"253161870\" \/><\/a><\/li>\n<li aria-level=\"1\">Enter a unique stage name.<\/li>\n<li aria-level=\"1\">Change the Condition (Basic or Script) if required. The default setting is Basic.<\/li>\n<li aria-level=\"1\">Click Choose field and select an item on the drop-down menu.<\/li>\n<li aria-level=\"1\">Click Select Operator and choose an item on the drop-down menu.<\/li>\n<li aria-level=\"1\">Click + AND to insert another condition. (optional) SearchAssist considers the documents that satisfy the condition(s) as part of the stage.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<h4>Naming an Entity<\/h4>\n<ol>\n<li aria-level=\"1\">Click Source Field and select the field you want to extract the entity from.<\/li>\n<li aria-level=\"1\">Click the Target Field and choose where to store the extracted entity. The application creates the target field.<\/li>\n<li aria-level=\"1\">Click the Add Entities field and select an option. These are the entity types that need to be identified from the source field. The supported entities are Date, Time, Date-Time, Date Period, URL, Email, Location, City, Country, Color, Company Name, Currency, Person Name, Number, Percentage, Phone Number, Zip Code, Quantity, Address, and Airport.<\/li>\n<li aria-level=\"1\">Click Save Configuration in the top-right corner.<\/li>\n<\/ol>\n<h4>Running a Simulation<\/h4>\n<p>Click Simulate to verify configurations. The simulator opens a side panel and displays the source, the number of documents with mapping applied, and the result. You can change the source and number of documents if there is no mention in the conditions. (see below)<\/p>\n<h5><i>Conditions to Extract Entities<\/i><\/h5>\n<p>The condition is specified in the following format:<\/p>\n<ul>\n<li aria-level=\"1\">ctx.fieldtype==value or ctx.fieldtype!=value. Obtain the\u00a0<i>field_name<\/i>\u00a0from the Fields table under Index Configuration.<\/li>\n<\/ul>\n<p>For example, ctx.sys_content_type==\u201dweb\u201d to restrict the extraction to the content from a web source.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Traits_Extraction\"><\/span><span id=\"Traits_Extraction\" class=\"ez-toc-section\"><\/span><span id=\"Traits_Extraction\" class=\"ez-toc-section\">Traits Extraction<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The Traits Extraction stage in Indexing Pipeline extracts specific attributes or details that search users express in their conversations. SearchAssist allows you to identify traits from a source field and save them in a target field. The target field is used to better detect user intentions.<\/p>\n<p>SearchAssist allows you to:<\/p>\n<ul>\n<li aria-level=\"1\">Add multiple trait groups to be identified from the source field.<\/li>\n<li aria-level=\"1\">Define a condition for the trait extraction stage. SearchAssist extracts traits only from the documents that satisfy the given conditions.<\/li>\n<li aria-level=\"1\">Re-order or delete trait extractions.<\/li>\n<li aria-level=\"1\">Simulate the changes before saving.<\/li>\n<\/ul>\n<h4>Training<\/h4>\n<p>Click the Train your App\u00a0icon each time you change an index configuration. This builds the index based on the updated configurations.<\/p>\n<h3><a ref=\"magnificPopup\" href=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/train-your-app-1-e1652101977222.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3830 size-medium\" src=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/train-your-app-1-e1652101977222-300x64.png\" alt=\"\" width=\"300\" height=\"64\" data-pagespeed-url-hash=\"3962914393\" \/><\/a><\/h3>\n<h3><span class=\"ez-toc-section\" id=\"Configuring_Traits_Extraction\"><\/span><span id=\"Configuring_Traits_Extraction\" class=\"ez-toc-section\"><\/span><span id=\"Configuring_Traits_Extraction\" class=\"ez-toc-section\">Configuring Traits Extraction<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Follow these steps:<\/p>\n<ol>\n<li aria-level=\"1\">Click the Indices menu tab.<\/li>\n<li aria-level=\"1\">In the left pane, click Workbench.<\/li>\n<li aria-level=\"1\">On the Workbench, click the + icon.<\/li>\n<li aria-level=\"1\">Click the Stage Type field and select Traits Extraction.<a ref=\"magnificPopup\" href=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/traits-extraction-e1652102383563.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3833 size-medium\" src=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/traits-extraction-e1652102383563-300x244.png\" sizes=\"(max-width: 300px) 100vw, 300px\" srcset=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/traits-extraction-e1652102383563-300x244.png 300w, https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/traits-extraction-e1652102383563.png 389w\" alt=\"\" width=\"300\" height=\"244\" data-pagespeed-url-hash=\"4156148108\" \/><\/a><\/li>\n<li aria-level=\"1\">Enter a unique stage name.<\/li>\n<li aria-level=\"1\">Change the Condition (Basic or Script) if required. The default setting is Basic.<\/li>\n<li aria-level=\"1\">Click Choose field and select an item on the drop-down menu.<\/li>\n<li aria-level=\"1\">Click Select Operator and choose an item on the drop-down menu.<\/li>\n<li aria-level=\"1\">Click + AND to insert another condition. (optional) SearchAssist considers the documents that satisfy the condition(s) as part of the stage. To learn more, see Conditions in Extraction.<\/li>\n<\/ol>\n<h4>Naming a Trait<\/h4>\n<ol>\n<li aria-level=\"1\">Click Source Field and select the field you want to extract the entity from.<\/li>\n<li aria-level=\"1\">Click the Add Trait Groups field, enter an option and click Enter.<\/li>\n<li aria-level=\"1\">Click the Target Field and choose where to store the extracted entity. SearchAssist creates the target field.<\/li>\n<li aria-level=\"1\">Click Save Configuration in the top-right corner.<\/li>\n<\/ol>\n<h4>Running a Simulation<\/h4>\n<p>Click Simulate to verify configurations. The simulator opens a side panel and displays the source, the number of documents with mapping applied, and the result. You can change the source and number of documents if there is no mention in the conditions.<\/p>\n<h4>Conditions in\u00a0 Extracting Traits<\/h4>\n<p>The condition is specified in the following format:<\/p>\n<ul>\n<li aria-level=\"1\">ctx.fieldtype==value or ctx.fieldtype!=value. Obtain the\u00a0<i>field_name<\/i>\u00a0from the Fields table under Index Configuration.<\/li>\n<\/ul>\n<p>For example, ctx.sys_content_type==\u201dweb\u201d to restrict the extraction to the content from a web source.<\/p>\n<p>&nbsp;<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Custom_Script\"><\/span><span id=\"Custom_Script\" class=\"ez-toc-section\"><\/span><span id=\"Custom_Script\" class=\"ez-toc-section\">Custom Script<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The Custom Script stage in Indexing Pipeline allows code custom processing. You can write a painless script to perform actions such as adding a new field, deleting a field, setting\/resetting values to a field, copying fields, etc.<\/p>\n<h4>Training<\/h4>\n<p>Click the Train your App\u00a0icon each time you change an index configuration. This builds the index based on the updated configurations.<\/p>\n<h3><a ref=\"magnificPopup\" href=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/train-your-app-1-e1652101977222.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3830 size-medium\" src=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/train-your-app-1-e1652101977222-300x64.png\" alt=\"\" width=\"300\" height=\"64\" data-pagespeed-url-hash=\"3962914393\" \/><\/a><\/h3>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Configuring_a_Custom_Script\"><\/span><span id=\"Configuring_a_Custom_Script\" class=\"ez-toc-section\"><\/span><span id=\"Configuring_a_Custom_Script\" class=\"ez-toc-section\">Configuring a Custom Script<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Follow these steps:<\/p>\n<ol>\n<li aria-level=\"1\">Click the Indices menu tab.<\/li>\n<li aria-level=\"1\">In the left pane, click Workbench.<\/li>\n<li aria-level=\"1\">On the Workbench, click the + icon.<\/li>\n<li aria-level=\"1\">Click the Stage Type field and select Custom Script.<a ref=\"magnificPopup\" href=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/custom-script-e1652102481945.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3831 size-medium\" src=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/custom-script-e1652102481945-300x234.png\" sizes=\"(max-width: 300px) 100vw, 300px\" srcset=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/custom-script-e1652102481945-300x234.png 300w, https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/custom-script-e1652102481945.png 417w\" alt=\"\" width=\"300\" height=\"234\" data-pagespeed-url-hash=\"4032540828\" \/><\/a><\/li>\n<li aria-level=\"1\">Enter a unique stage name.<\/li>\n<li aria-level=\"1\">Change the Condition (Basic or Script) if required. The default setting is Basic.<\/li>\n<li aria-level=\"1\">Click Choose field and select an item on the drop-down menu.<\/li>\n<li aria-level=\"1\">Click Select Operator and choose an item on the drop-down menu.<\/li>\n<li aria-level=\"1\">Click + AND to insert another condition. (optional) SearchAssist considers the documents that satisfy the condition(s) as part of the stage. See below, \u201cConditions for Running Scripts.\u201d<\/li>\n<li aria-level=\"1\">In the &lt;\/&gt;Painless field, enter the custom script.<a ref=\"magnificPopup\" href=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/myCustom-script-e1652102556180.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3832 size-medium\" src=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/myCustom-script-e1652102556180-300x184.png\" sizes=\"(max-width: 300px) 100vw, 300px\" srcset=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/myCustom-script-e1652102556180-300x184.png 300w, https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/myCustom-script-e1652102556180.png 473w\" alt=\"\" width=\"300\" height=\"184\" data-pagespeed-url-hash=\"2259431020\" \/><\/a><\/li>\n<li aria-level=\"1\">Click Save Configuration in the top-right corner.<\/li>\n<\/ol>\n<h4><i>Running a Simulation<\/i><\/h4>\n<p>Click Simulate to verify configurations. The simulator opens a side panel and displays the source, number of documents with mapping applied, and the result. You can change the source and number of documents if there is no mention in the conditions. (see below)<\/p>\n<h4><i>Conditions for Running Scripts<\/i><\/h4>\n<p>The condition is specified in the following format: ctx.fieldtype==value or ctx.fieldtype!=value. The\u00a0<i>field_name<\/i>\u00a0can be obtained from the Fields table under Index Configuration.<\/p>\n<p>For example, ctx.sys_content_type==\u201dweb\u201d to restrict the extraction to the content from a web source.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Keyword_Extraction\"><\/span><span id=\"Keyword_Extraction\" class=\"ez-toc-section\"><\/span><span id=\"Keyword_Extraction\" class=\"ez-toc-section\">Keyword Extraction<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Keyword Extraction is a technique to automatically detect important and relevant words from the text stored in a field.<\/p>\n<p>The Keyword Extraction stage in Indexing Pipeline identifies a set of keywords from a source field and saves them in a target field. Use the target field to identify the intention of the search user. SearchAssist applies various NLP algorithms to extract keywords.<\/p>\n<p>SearchAssist allows you to:<\/p>\n<ul>\n<li aria-level=\"1\">Define a condition for the keyword extraction stage. SearchAssist extracts keywords only from the documents that satisfy the given condition.<\/li>\n<li aria-level=\"1\">Re-order or delete keyword extractions.<\/li>\n<li aria-level=\"1\">Simulate changes before saving.<\/li>\n<\/ul>\n<h4>Training<\/h4>\n<p>Click the Train your App\u00a0icon each time you change an index configuration. This builds the index based on the updated configurations.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Configuring_Keyword_Extraction\"><\/span><span id=\"Configuring_Keyword_Extraction\" class=\"ez-toc-section\"><\/span><span id=\"Configuring_Keyword_Extraction\" class=\"ez-toc-section\">Configuring Keyword Extraction<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Follow these steps:<\/p>\n<ol>\n<li aria-level=\"1\">Click the Indices menu tab.<\/li>\n<li aria-level=\"1\">In the left pane, click Workbench.<\/li>\n<li aria-level=\"1\">On the Workbench, click the + icon.<\/li>\n<li aria-level=\"1\">Click the Stage Type field and select Keyword Extraction.<a ref=\"magnificPopup\" href=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/key-word-extraction-e1652102619821.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3829 size-medium\" src=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/key-word-extraction-e1652102619821-300x221.png\" sizes=\"(max-width: 300px) 100vw, 300px\" srcset=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/key-word-extraction-e1652102619821-300x221.png 300w, https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/key-word-extraction-e1652102619821.png 412w\" alt=\"\" width=\"300\" height=\"221\" data-pagespeed-url-hash=\"2864217901\" \/><\/a><\/li>\n<li aria-level=\"1\">Enter a unique stage name.<\/li>\n<li aria-level=\"1\">Change the Condition (Basic or Script) if required. The default setting is Basic.<\/li>\n<li aria-level=\"1\">Click Choose field and select an item on the drop-down menu.<\/li>\n<li aria-level=\"1\">Click Select Operator and choose an item on the drop-down menu.<\/li>\n<li aria-level=\"1\">Click + AND to insert another condition. (optional) SearchAssist considers the documents that satisfy the condition(s) as part of the stage. See below, \u201cConditions for Keyword Extraction.\u201d<\/li>\n<li aria-level=\"1\">Select the field you want to extract keywords from as Source Field.<\/li>\n<li aria-level=\"1\">Name the Target Field where you want to store the extracted keywords. The application creates this field.<\/li>\n<li aria-level=\"1\">Click Save Configuration in the top-right corner.<\/li>\n<\/ol>\n<h4>Running a Simulation<\/h4>\n<p>Click Simulate to verify configurations. The simulator opens a side panel and displays the source, the number of documents with mapping applied, and the result. You can change the source and number of documents if there is no mention in the conditions. (see below)<\/p>\n<h4>Conditions for Keyword Extraction<\/h4>\n<p>The condition is specified in the following format:<\/p>\n<ul>\n<li aria-level=\"1\">ctx.field_name==value or ctx.field_name!=value.<\/li>\n<\/ul>\n<p>Obtain the\u00a0<i>field_name<\/i>\u00a0from the Fields table under Index Configuration. For example, ctx.sys_content_type==\u201dweb\u201d to restrict the extraction from the content from a web source.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Exclude_Documents\"><\/span><span id=\"Exclude_Documents\" class=\"ez-toc-section\"><\/span><span id=\"Exclude_Documents\" class=\"ez-toc-section\">Exclude Documents<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The Exclude Document stage in Indexing Pipeline drops all the documents that match the specified conditions. SearchAssist ignores documents in the subsequent stages of the indexing pipeline and leaves them without indexing.<\/p>\n<h4>Training<\/h4>\n<p>Click the Train your App\u00a0icon each time you change an index configuration. This builds the index based on the updated configurations.<\/p>\n<h3><a ref=\"magnificPopup\" href=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/train-your-app-1-e1652101977222.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3830 size-medium\" src=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/train-your-app-1-e1652101977222-300x64.png\" alt=\"\" width=\"300\" height=\"64\" data-pagespeed-url-hash=\"3962914393\" \/><\/a><\/h3>\n<h3><span class=\"ez-toc-section\" id=\"Configuring_an_Exclusion\"><\/span><span id=\"Configuring_an_Exclusion\" class=\"ez-toc-section\"><\/span><span id=\"Configuring_an_Exclusion\" class=\"ez-toc-section\">Configuring an Exclusion<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Follow these steps:<\/p>\n<ol>\n<li aria-level=\"1\">Click the Indices menu tab.<\/li>\n<li aria-level=\"1\">In the left pane, click Workbench.<\/li>\n<li aria-level=\"1\">On the Workbench, click the + icon.<\/li>\n<li aria-level=\"1\">Click the Stage Type field and select Exclude Document.<a ref=\"magnificPopup\" href=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/exclude-docutment-e1652102688283.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3827 size-medium\" src=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/exclude-docutment-e1652102688283-300x222.png\" sizes=\"(max-width: 300px) 100vw, 300px\" srcset=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/exclude-docutment-e1652102688283-300x222.png 300w, https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/exclude-docutment-e1652102688283.png 417w\" alt=\"\" width=\"300\" height=\"222\" data-pagespeed-url-hash=\"3120520035\" \/><\/a><\/li>\n<li aria-level=\"1\">Enter a unique stage name.<\/li>\n<li aria-level=\"1\">Change the Condition (Basic or Script) if required. The default setting is Basic.<\/li>\n<li aria-level=\"1\">Click Choose field and select an item on the drop-down menu.<\/li>\n<li aria-level=\"1\">Click Select Operator and choose an item on the drop-down menu.<\/li>\n<li aria-level=\"1\">Click + AND to insert another condition. (optional) SearchAssist excludes documents that satisfy the condition(s). See below, \u201cConditions for Excluding Docs.\u201d<\/li>\n<li aria-level=\"1\">Click Save Configuration in the top-right corner.<\/li>\n<\/ol>\n<p><b>Note<\/b>:\u00a0You must add at least one condition at this stage.<\/p>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/basic-excluded-e1652102757219.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3828 size-medium\" src=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/basic-excluded-e1652102757219-300x138.png\" sizes=\"(max-width: 300px) 100vw, 300px\" srcset=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/basic-excluded-e1652102757219-300x138.png 300w, https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/basic-excluded-e1652102757219.png 515w\" alt=\"\" width=\"300\" height=\"138\" data-pagespeed-url-hash=\"3210699870\" \/><\/a><\/p>\n<h4>Running a Simulation<\/h4>\n<p>Click Simulate to verify configurations. The simulator opens a side panel and displays the source, the number of documents with mapping applied, and the result. You can change the source and number of documents if there is no mention in the conditions. (see below)<\/p>\n<h4>Conditions for Excluding Docs<\/h4>\n<p>The condition is specified in the following format:\u00a0 ctx.fieldtype==value or ctx.fieldtype!=value. i.e.,\u00a0 the condition can be a certain field type equals a certain value or not equal to a certain value.<\/p>\n<p>The value here being file types: FAQs, web. The\u00a0<i>field_name<\/i>\u00a0can be obtained from the Fields table under Index Configuration.<\/p>\n<p>For example, ctx.sys_content_type==\u201dweb\u201d to restrict the extraction to the content from a web source.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Semantic_Meaning\"><\/span><span id=\"Semantic_Meaning\" class=\"ez-toc-section\"><\/span><span id=\"Semantic_Meaning\" class=\"ez-toc-section\">Semantic Meaning<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Semantic analysis is the technique to understand the meaning and interpretation of words, signs, and sentence structure.<\/p>\n<p>SearchAssist\u2019s Indexing Pipeline supports a Semantic Meaning stage. This stage uses\u00a0<i>Deep Neural Network<\/i>\u00a0algorithms to create inserts of free text and saves them in a dense vector field. SearchAssist uses these embeddings to rank the documents by semantic relevance. The dense vectors are then indexed in the search and similarity is obtained between the user\u2019s query vector and the indexed content vector.<\/p>\n<p>Currently, you can apply semantic meanings only on the content from websites. When SearchAssist semantically interprets the source from a natural language perspective, the relevant results get priority over others.<\/p>\n<p>SearchAssist allows you to:<\/p>\n<ul>\n<li aria-level=\"1\">Add multiple semantics to be analyzed from the source field.<\/li>\n<li aria-level=\"1\">Define a condition for the semantic meaning stage. The semantics from only the documents that satisfy the given condition are analyzed.<\/li>\n<li aria-level=\"1\">Re-order or delete semantic meaning rules.<\/li>\n<li aria-level=\"1\">Simulate the changes before saving them.<\/li>\n<\/ul>\n<h5><i>Training<\/i><\/h5>\n<p>Click the Train your App\u00a0icon each time you change an index configuration. This builds the index based on the updated configurations.<\/p>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Configuring_Semantic_Meaning\"><\/span><span id=\"Configuring_Semantic_Meaning\" class=\"ez-toc-section\"><\/span><span id=\"Configuring_Semantic_Meaning\" class=\"ez-toc-section\">Configuring Semantic Meaning<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<h3><a ref=\"magnificPopup\" href=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/train-your-app-1-e1652101977222.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3830 size-medium\" src=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/train-your-app-1-e1652101977222-300x64.png\" alt=\"\" width=\"300\" height=\"64\" data-pagespeed-url-hash=\"3962914393\" \/><\/a><\/h3>\n<p>Follow these steps:<\/p>\n<ol>\n<li aria-level=\"1\">Click the Indices menu tab.<\/li>\n<li aria-level=\"1\">In the left pane, click Workbench.<\/li>\n<li aria-level=\"1\">On the Workbench, click the + icon.<\/li>\n<li aria-level=\"1\">Click the Stage Type field and select Semantic Meaning.<a ref=\"magnificPopup\" href=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/semantic-meaning-e1652093613233.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3826 size-medium\" src=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/semantic-meaning-e1652093613233-300x219.png\" sizes=\"(max-width: 300px) 100vw, 300px\" srcset=\"https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/semantic-meaning-e1652093613233-300x219.png 300w, https:\/\/multisite.korebots.com\/SearchAssist\/wp-content\/uploads\/sites\/18\/2022\/04\/semantic-meaning-e1652093613233.png 378w\" alt=\"\" width=\"300\" height=\"219\" data-pagespeed-url-hash=\"3326308464\" \/><\/a><\/li>\n<li aria-level=\"1\">Enter a unique stage name.<\/li>\n<li aria-level=\"1\">Change the Condition (Basic or Script) if required. The default setting is Basic.<\/li>\n<li aria-level=\"1\">Click Choose field and select an item on the drop-down menu.<\/li>\n<li aria-level=\"1\">Click Select Operator and choose an item on the drop-down menu.<\/li>\n<li aria-level=\"1\">Click + AND to insert another condition. (optional) SearchAssist considers the documents that satisfy the condition(s) as part of the stage. See below, \u201cConditions for Applying Semantic Meanings.\u201d<\/li>\n<li aria-level=\"1\">Select the field you want to extract Semantic Meaning from as Source Field.<\/li>\n<li aria-level=\"1\">Define where to store the extracted Semantic Meaning as Target Field. The application creates this field.<\/li>\n<li aria-level=\"1\">Click Save Configuration in the top-right corner<\/li>\n<\/ol>\n<h4>Running a Simulation<\/h4>\n<p>Click Simulate to verify configurations. The simulator opens a side panel and displays the source, the number of documents with mapping applied, and the result. You can change the source and number of documents if there is no mention in the conditions. (see below)<\/p>\n<h4><i>Conditions for Semantic Analysis<\/i><\/h4>\n<p>The condition is specified in the following format:<\/p>\n<ul>\n<li aria-level=\"1\">ctx.fieldtype==value or ctx.fieldtype!=value. The\u00a0<i>field_name<\/i>\u00a0can be obtained from the Fields table under Index Configuration.<\/li>\n<\/ul>\n<p>For example, ctx.sys_content_type==\u201dweb\u201d to restrict the extraction to the content from a web source.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The Workbench transforms available content into objects for effective indexing. An Indexing Pipeline is a series of stages that convert content into a document ready for indexing. Each stage performs a specific set of data transformations before passing the content onto the next stage in the pipeline. Each stage has a stage-specific configuration. Rearrange or&#8230;<\/p>\n","protected":false},"author":18,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[81],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/multisite.korebots.com\/SearchAssist\/wp-json\/wp\/v2\/posts\/3851"}],"collection":[{"href":"https:\/\/multisite.korebots.com\/SearchAssist\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/multisite.korebots.com\/SearchAssist\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/multisite.korebots.com\/SearchAssist\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/multisite.korebots.com\/SearchAssist\/wp-json\/wp\/v2\/comments?post=3851"}],"version-history":[{"count":5,"href":"https:\/\/multisite.korebots.com\/SearchAssist\/wp-json\/wp\/v2\/posts\/3851\/revisions"}],"predecessor-version":[{"id":4446,"href":"https:\/\/multisite.korebots.com\/SearchAssist\/wp-json\/wp\/v2\/posts\/3851\/revisions\/4446"}],"wp:attachment":[{"href":"https:\/\/multisite.korebots.com\/SearchAssist\/wp-json\/wp\/v2\/media?parent=3851"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/multisite.korebots.com\/SearchAssist\/wp-json\/wp\/v2\/categories?post=3851"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/multisite.korebots.com\/SearchAssist\/wp-json\/wp\/v2\/tags?post=3851"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}