AutoComplete configuration

The root AUTOCOMPLETE node has two children: CODEDEFINITION and COMPONENTS. The AUTOCOMPLETE node defines global settings for the AutoComplete service. Some of the global settings can be overridden for specific components and code definitions.

Note: In a stand-alone installation, the AutoComplete directory and the Infor Public Sector directory will both have their own copies of the AutoComplete configuration. The tables below indicate which of the two configurations will control each attribute. For example, "Stand-alone: AutoComplete" indicates that the configuration in the AutoComplete directory controls the attribute.

The AUTOCOMPLETE node can have these attributes:

Attribute Description
Batch Size Number of records the AutoComplete service will load at a time. The default is 5000.

Stand-alone: AutoComplete

Enable Set to True or False to enable or disable AutoComplete for your Infor Public Sector site.

Stand-alone: IPS

Enable Fuzzy Search Indicates whether the AutoComplete search results will include inexact matches.

Stand-alone: AutoComplete

Filter Manager Type Moniker or fully qualified name of the filter manager.

Stand-alone: AutoComplete

Hansen8 UserName Infor Public Sector user name that the AutoComplete service will use to connect to the data provider.

Stand-alone: AutoComplete

Index Analyzer Index analyzer for the AutoComplete service. The default is Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net.

Stand-alone: AutoComplete

Index Behavior Indicates how the AutoComplete service will manage its indexes. You can specify one of three options:
  • CreateAndRefresh: The service creates indexes and updates them at the interval specified in the Refresh Rate attribute.
  • Recreate: Recreates indexes, but doesn’t refresh them.
  • Load: The service only loads existing indexes, creating them if they don’t exist.

Stand-alone: AutoComplete

Index Folder Name of the folder where the indexes for the AutoComplete service are stored. The default folder name is IndexSearch.

Stand-alone: AutoComplete

Max Buffered DocsMaximum number of documents before the buffer is flushed.

Stand-alone: AutoComplete

Max Merge DocsMaximum number of documents that will be merged with other segments.

Stand-alone: AutoComplete

Maximum Display Results Maximum number of matches that AutoComplete will show. The default is 5.

Stand-alone: AutoComplete

Merge FactorInterval at which segment indexes are merged.

Stand-alone: AutoComplete

Minimum Characters Minimum number of characters the user must type before AutoComplete is activated. The default is 3.

Stand-alone: IPS

Only Top Searches Set to True if you only want AutoComplete to show the top search results.

Stand-alone: AutoComplete

Provider Name Provider name for the Infor Public Sector database.

Stand-alone: AutoComplete

Proximity SearchIndicates whether the AutoComplete service will conduct a proximity search in addition to the regular search.

Stand-alone: AutoComplete

Refresh Rate Interval, in hours, at which the indexes will be updated.

Stand-alone: AutoComplete

Search Analyzer Search analyzer for the AutoComplete service. The default is Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net.

Stand-alone: AutoComplete

Service Url URL of the AutoComplete service.

Stand-alone: IPS

Zero Result Fuzzy Search If fuzzy searching is enabled and this attribute is set to True, then fuzzy searching will only be used if the initial search returns no results.

Stand-alone: AutoComplete

CODEDEFINITION

The CODEDEFINITION node defines AutoComplete settings for the Infor Public Sector code definitions. AutoComplete is preconfigured for all code definitions, so in most cases you won’t edit this node.

The CODEDEFINITION node has these attributes:

Attribute Description
Access ID Permission in Access Control that users must be granted to access the code definitions.
Batch Size Can be used to override the Batch Size attribute of the AUTOCOMPLETE node.

Stand-alone: AutoComplete

Builder Type Index builder to use for the code definitions. The default is Hansen.Core.IndexSearch.LuceneIndexBuilder.

Stand-alone: AutoComplete

Custom Display Used to customize how the AutoComplete service shows search results for the code definitions.

Stand-alone: IPS

Custom Query Used to customize the query that searches for matching code definitions.

Stand-alone: AutoComplete

Enable Set to True or False to enable or disable AutoComplete for the code definitions.

Stand-alone: IPS

Enable Fuzzy Search Used to enable or disable fuzzy searching for the code definitions.

Stand-alone: AutoComplete

Filter Manager Type Moniker or fully qualified name of the filter manager.
Index Analyzer Can be used to override the Index Analyzer attribute of the AUTOCOMPLETE node.

Stand-alone: AutoComplete

Index Manager Type Moniker or fully qualified name of the index manager. To call an external service, specify Hansen.Core.IndexSearch.NetServiceIndexManager.
Index Search Type Moniker or fully qualified name of the index searcher. To call an external service, specify Hansen.Core.IndexSearch.NetServiceIndexSearcher.
Max Buffered Docs Maximum number of documents before the buffer is flushed.

Stand-alone: AutoComplete

Max Merge Docs Maximum number of documents that will be merged with other segments.

Stand-alone: AutoComplete

Maximum Display Results Can be used to override the Maximum Display Results attribute of the AUTOCOMPLETE node.

Stand-alone: AutoComplete

Merge Factor Interval at which segment indexes are merged.

Stand-alone: AutoComplete

Minimum Characters Can be used to override the Minimum Characters attribute of the AUTOCOMPLETE node.

Stand-alone: IPS

Only Top Searches Set to True if you only want AutoComplete to show the top search results for code definitions.

Stand-alone: AutoComplete

Property Property for which you’re setting up AutoComplete. The default property for the code definitions is Code.

Stand-alone: AutoComplete

Proximity Indicates whether the AutoComplete service will conduct a proximity search in addition to the regular search.

Stand-alone: AutoComplete

Refresh Rate Can be used to override the Refresh Rate attribute of the AUTOCOMPLETE node.

Stand-alone: AutoComplete

Search Analyzer Can be used to override the Search Analyzer attribute of the AUTOCOMPLETE node.

Stand-alone: AutoComplete

Service Profile Name Service profile to use for AutoComplete. The service profile can be used to call an external online service, bypassing the standard Infor Public Sector AutoComplete service.
Service Url Can be used to override the Service Url attribute of the AUTOCOMPLETE node.

Stand-alone: IPS

Zero Result Fuzzy Search If fuzzy searching is enabled and this attribute is set to True, then fuzzy searching will only be used if the initial search returns no results.

Stand-alone: AutoComplete

COMPONENTS

The COMPONENTS node has a number of COMPONENT nodes as children. Each COMPONENT node adds the AutoComplete feature to a specific field, as identified by the combination of a component moniker and a property.

Each COMPONENT node can have these attributes:

Attribute Description
Access ID Permission in Access Control that users must be granted to access the component.
Batch Size Can be used to override the Batch Size attribute of the AUTOCOMPLETE node.

Stand-alone: AutoComplete

Bind Moniker Moniker of the component the AutoComplete feature will search in, if different from the Component Moniker.

For example, for the address street name field, the AutoComplete service must search for street names in the AddressStreetName table rather than the Address table. In the default configuration for the US locale, the component moniker for this field is Hansen.Property.USAddress and the bind moniker is Hansen.Property.USAddressStreetName.

Stand-alone: AutoComplete

Builder Type Index builder to use for this component. The default is Hansen.Core.IndexSearch.LuceneIndexBuilder.

Stand-alone: AutoComplete

Component Moniker Moniker of the component for which you’re setting up AutoComplete. The combination of the Component Moniker and Property attributes specifies the field to which you’re adding AutoComplete.

Stand-alone: AutoComplete

Custom Display Can be used to customize how the AutoComplete service shows the search results for this field. By default, the service shows a list of values for the property specified by the Property attribute that match the characters the user has typed so far.

You can also show additional properties of the same component to help users select the correct value. For example, the default AutoComplete for the work order activity field shows both the activity code and the description, because users might find it easier to identify the correct activity based on the description. To show a property, specify its name in curly brackets, such as {ActivityCode} - {Description}.

Stand-alone: IPS

Custom Query Can be used to search for matches based on properties other than the one specified in the Property attribute. This attribute uses Lucene.net query syntax, with the names of the properties you want to search on enclosed in curly brackets.

For example, the default configuration for the work order activity field has its Custom Query attribute set to {ActivityCode}* OR {Description}*. This means that when you begin typing in an Activity field, the AutoComplete service will show both activity codes that match the characters you’ve typed and codes whose descriptions match the characters you’ve typed.

Stand-alone: AutoComplete

Enable Set to True or False to enable or disable AutoComplete for this component.

Stand-alone: IPS

Enable Fuzzy Search Used to enable or disable fuzzy searching for this component.

Stand-alone: AutoComplete

Filter Manager Type Moniker or fully qualified name of the filter manager.
Index Analyzer Can be used to override the Index Analyzer attribute of the AUTOCOMPLETE node.

Stand-alone: AutoComplete

Index Manager Type Moniker or fully qualified name of the index manager. To call an external service, specify Hansen.Core.IndexSearch.NetServiceIndexManager.
Index Search Type Moniker or fully qualified name of the index searcher. To call an external service, specify Hansen.Core.IndexSearch.NetServiceIndexSearcher.
Max Buffered Docs Maximum number of documents before the buffer is flushed.

Stand-alone: AutoComplete

Max Merge Docs Maximum number of documents that will be merged with other segments.

Stand-alone: AutoComplete

Maximum Display Results Can be used to override the Maximum Display Results attribute of the AUTOCOMPLETE node.

Stand-alone: AutoComplete

Merge Factor Interval at which segment indexes are merged.

Stand-alone: AutoComplete

Minimum Characters Can be used to override the Minimum Characters attribute of the AUTOCOMPLETE node.

Stand-alone: IPS

Only Top Searches Set to True if you only want AutoComplete to show the top search results for this component.

Stand-alone: AutoComplete

Property Property for which you’re setting up AutoComplete. This must be a property of the object specified by the Component Moniker attribute.

Stand-alone: AutoComplete

Proximity Indicates whether the AutoComplete service will conduct a proximity search in addition to the regular search.

Stand-alone: AutoComplete

Refresh Rate Can be used to override the Refresh Rate attribute of the AUTOCOMPLETE node.

Stand-alone: AutoComplete

Search Analyzer Can be used to override the Search Analyzer attribute of the AUTOCOMPLETE node.

Stand-alone: AutoComplete

Service Profile Name Service profile to use for AutoComplete. The service profile can be used to call an external online service, bypassing the standard Infor Public Sector AutoComplete service.
Service Url Can be used to override the Service Url attribute of the AUTOCOMPLETE node.

Stand-alone: IPS

Zero Result Fuzzy Search If fuzzy searching is enabled and this attribute is set to True, then fuzzy searching will only be used if the initial search returns no results.

Stand-alone: AutoComplete