You can increase the size of fields in the Catalogs tool. For example, to use the catalog
search relevancy feature you can increase the size of the Keyword field on
the Catalogs tool Category page.
Procedure
In this example, the default size of the Keyword field is
increased from the default value of 254 to a value of 32500.
Update the CatalogCommonObjectDefinitions.def file.
-
Start WebSphere Commerce Developer.
-
Open the J2EE perspective and select the Enterprise
Explorer view.
-
Go to .
-
Open the CatalogCommonObjectDefinitions.def file for editing.
Locate the following snippet in the
Keyword
section:
<!--- Keyword -->
<PropertyDefinition displayName="${catalogResources.catalogGroupDescriptionKeywords_DisplayName}"
maximumSize="254" propertyName="keyword" type="string"/>
Change
the
maximumSize
value:
<!--- Keyword -->
<PropertyDefinition displayName="${catalogResources.catalogGroupDescriptionKeywords_DisplayName}"
maximumSize="32500" propertyName="keyword" type="string"/>
-
Save your changes and close the file.