Documentation > CMS Template API Library > SearchG2JsonParams

CrownPeak.CMSAPI.SearchG2JsonParams

Parameters to be used in SearchG2Context JsonParams property which generates a JSON string for updating content in a Search G2 Collection. See https://wiki.apache.org/solr/UpdateJSON for more details on the JSON format, this class will create the JSON for you. The collection updated is based on the Search G2 Server configured on the Publishing Package.

NameDescriptionType
Add

Add an AssetPropertyNames value to your update JSON string.

Method
Add

Add an Asset content field value to your update JSON string.

Method
AddFixed

Add multiple hardcoded string values to your update JSON string.

Method
AddFixed

Add a hardcoded string value to your update JSON string.

Method
AddFixed

Add multiple hardcoded string values to your update JSON string.

Method
Asset

Asset used to retrieve AssetPropertyNames and content field values from.

Property
CommitWithin

Number of miliseconds to commit the document within.

Property
Fields

An Enumerator over the collection of Json property names with Asset field names that will be used to retrieve data from the asset.

Property
Fixeds

An Enumerator over the collection of Json property names with string values that will be added to the update string.

Property
Id

Unique key describing the document.

Property
Operation

Type of content change Operation to perform with this data.

Property
Overwrite

Specifies whether to first check for existing documents with the same unique key before updating.

Property
Properties

An Enumerator over the collection of Json property names with AssetPropertyNames that will be used to retrieve data from the asset.

Property
Query

Specify a query used to delete multiple documents.

Property

Connect with Crownpeak