←Select platform

UpsertMasterFormToFullTextSearch Method

Summary

Adds or updates a master form to the full text search database.

Syntax
C#
C++/CLI
Java
Python
public:  
   void UpsertMasterFormToFullTextSearch( 
       FormRecognitionAttributes^ masterAttributes, 
      String^ repositoryName, 
      String^ language, 
      String^ userData, 
      FormProgressCallback^ formCallback, 
      PageProgressCallback^ pageCallback 
   ) 
public void upsertMasterFormToFullTextSearch( 
   FormRecognitionAttributes masterAttributes, 
   java.lang.String repositoryName, 
   java.lang.String language, 
   java.lang.String userData, 
   FormProgressCallback formCallback, 
   PageProgressCallback pageCallback 
); 
def UpsertMasterFormToFullTextSearch(self,masterAttributes,repositoryName,language,userData,formCallback,pageCallback): 

Parameters

masterAttributes

Attributes of the master form. Must not be null.

repositoryName

Repository name. If this value is null or an empty string, then an empty string is used to indicate a default repository without a name.

language

Optional language of the form. Passing null will default to "en-US" (or locale ID 1033).

userData

Optional user data value. This will be saved to the store and can be retrieved later when getting the candidates. Can be null.

formCallback

Status about the progress of the operation at the form level (i.e. page by page). Can be null.

pageCallback

Provides status on the progress of the operation at the page level. Can be null.

Remarks

This method creates a new instance of FullTextSearchItem, fills it up using the values described below and then calls IFullTextSearchManager.Upsert to perform its operation:

Member

Value

RepositoryName

repositoryName parameter.

FormName

Name of the form obtained from masterAttributes.

PageNumber

Will be set from 1 to the number of pages in the forms and repeated.

Language

language parameter.

Content

Content of the page saved during its creation.

UserData

userData parameter.

Call UpsertMasterFormToFullTextSearch after the master form has been created and added to the repository or when the content of the master form has changed.

Call the Index method of FullTextSearchManager after this method returns.

For more information, refer to Speeding Up Forms Recognition Using the Full Text Search Feature.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Recognition Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.