<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>KB-2213 Expression search fails with "CdtQueryRequest" error</title><link>https://community.appian.com/support/w/kb/2536/kb-2213-expression-search-fails-with-cdtqueryrequest-error</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-2213 Expression search fails with "CdtQueryRequest" error</title><link>https://community.appian.com/support/w/kb/2536/kb-2213-expression-search-fails-with-cdtqueryrequest-error</link><pubDate>Tue, 12 Apr 2022 16:15:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:75ab4aea-387a-4119-8a5b-8e998d9f24d4</guid><dc:creator>Elly Meng</dc:creator><comments>https://community.appian.com/support/w/kb/2536/kb-2213-expression-search-fails-with-cdtqueryrequest-error#comments</comments><description>Current Revision posted to Appian Knowledge Base by Elly Meng on 4/12/2022 4:15:31 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Searching by expression in &lt;code&gt;/design/objects&lt;/code&gt;&amp;nbsp;fails with the following error&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;img alt=" " border="0" src="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-11/Edit.jpg" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Additionally, the following error appears in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.rest.shared.AppianExceptionMapper - Internal Server Error on REST API invocation. &lt;br /&gt;&lt;br /&gt;com.appiancorp.exceptions.LocalizedAppianRuntimeException$LocalizedAppianException: Expression evaluation error [evaluation ID = &amp;lt;EVALUATION_ID&amp;gt;] : Query failed [request=CdtQueryRequest{from=ObjectInfo (id=-10), timeZone=null, query=Query[Selection[uuid (show)], criteria[CdtSearch{field=expressions, searchQuery=753, searchType=prefix, isHighlightResults=true, startTag=&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;96&amp;gt;, endTag=&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;, snippetLength=100}], PagingInfo[startIndex=0, batchSize=10000, sort=[Sort[#RELEVANCE# desc]]]]}, ES SearchRequest=SearchRequest{searchType=QUERY_THEN_FETCH, indices=[designer-objects-ia-7-5], indicesOptions=IndicesOptions[ignore_unavailable=false, allow_no_indices=true, expand_wildcards_open=true, expand_wildcards_closed=false, expand_wildcards_hidden=false, allow_aliases_to_multiple_indices=true, forbid_closed_indices=true, ignore_aliases=false, ignore_throttled=true], types=[], routing=&amp;#39;null&amp;#39;, preference=&amp;#39;null&amp;#39;, requestCache=null, scroll=null, maxConcurrentShardRequests=0, batchedReduceSize=512, preFilterShardSize=null, allowPartialSearchResults=null, localClusterAlias=null, getOrCreateAbsoluteStartMillis=-1, ccsMinimizeRoundtrips=true, source={&amp;quot;from&amp;quot;:0,&amp;quot;size&amp;quot;:10000,&amp;quot;query&amp;quot;:{&amp;quot;bool&amp;quot;:{&amp;quot;must&amp;quot;:[{&amp;quot;bool&amp;quot;:{&amp;quot;must&amp;quot;:[{"match_phrase_prefix":{"expressions":{"query":"753","slop":0,"max_expansions":50,"boost":1.0}}}],&amp;quot;adjust_pure_negative&amp;quot;:true,&amp;quot;boost&amp;quot;:1.0}}],&amp;quot;filter&amp;quot;:[{"term":{"_t":{"value":"DTObjectInfo","boost":1.0}}}],&amp;quot;adjust_pure_negative&amp;quot;:true,&amp;quot;boost&amp;quot;:1.0}},&amp;quot;version&amp;quot;:true,&amp;quot;_source&amp;quot;:{&amp;quot;includes&amp;quot;:["uuid"],&amp;quot;excludes&amp;quot;:[]},&amp;quot;sort&amp;quot;:[{"_score":{"order":"desc"}}],&amp;quot;track_total_hits&amp;quot;:2147483647,&amp;quot;highlight&amp;quot;:{&amp;quot;pre_tags&amp;quot;:["&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;96&amp;gt;"],&amp;quot;post_tags&amp;quot;:["&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;"],&amp;quot;fields&amp;quot;:{&amp;quot;expressions&amp;quot;:{&amp;quot;fragment_size&amp;quot;:100}}}}}] (APNX-1-4198-000)&lt;br /&gt;...&lt;br /&gt;&lt;span&gt;Caused by: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=The length of [expressions] field of [&amp;lt;OBJECT_UUID&amp;gt;] doc of [designer-objects-ia-7-5] index has exceeded [1000000] - maximum allowed to be analyzed for highlighting. This maximum can be set by changing the [index.highlight.max_analyzed_offset] index level setting. For large texts, indexing with offsets or term vectors is recommended!]]&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;An object was found which exceeded the Search Server&amp;#39;s maximum content size limit of 1,000,000 characters. Using objects with content size over 1,000,000 may cause issues.&lt;/p&gt;
&lt;p&gt;A product use case to improve handling of objects with content size greater than 1,000,000 characters&amp;nbsp;&lt;span&gt;has been logged to the Appian Product Team for consideration to add this functionality in the product.&amp;nbsp;Please&amp;nbsp;note it is not Appian Support&amp;rsquo;s policy to disclose how or when a product use case will be implemented.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Search the bottom of the stacktrace for mention of object UUID:&lt;br /&gt;&lt;/span&gt;
&lt;pre&gt;&lt;span&gt;Caused by: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=The length of [expressions] field of [&amp;lt;OBJECT_UUID&amp;gt;] doc of [designer-objects-ia-7-5] index has exceeded [1000000] - maximum allowed to be analyzed for highlighting. This maximum can be set by changing the [index.highlight.max_analyzed_offset] index level setting. For large texts, indexing with offsets or term vectors is recommended!]]&lt;/span&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Delete the object with matching UUID, or remove/reduce it&amp;#39;s contents.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: February&amp;nbsp;2022&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application design, product use cases, open use cases&lt;/div&gt;
</description></item><item><title>KB-2211 Expression search fails with "CdtQueryRequest" error</title><link>https://community.appian.com/support/w/kb/2536/kb-2213-expression-search-fails-with-cdtqueryrequest-error/revision/10</link><pubDate>Tue, 12 Apr 2022 16:11:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:75ab4aea-387a-4119-8a5b-8e998d9f24d4</guid><dc:creator>Elly Meng</dc:creator><comments>https://community.appian.com/support/w/kb/2536/kb-2213-expression-search-fails-with-cdtqueryrequest-error#comments</comments><description>Revision 10 posted to Appian Knowledge Base by Elly Meng on 4/12/2022 4:11:06 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Searching by expression in &lt;code&gt;/design/objects&lt;/code&gt;&amp;nbsp;fails with the following error&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;img alt=" " border="0" src="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-11/Edit.jpg" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Additionally, the following error appears in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.rest.shared.AppianExceptionMapper - Internal Server Error on REST API invocation. &lt;br /&gt;&lt;br /&gt;com.appiancorp.exceptions.LocalizedAppianRuntimeException$LocalizedAppianException: Expression evaluation error [evaluation ID = &amp;lt;EVALUATION_ID&amp;gt;] : Query failed [request=CdtQueryRequest{from=ObjectInfo (id=-10), timeZone=null, query=Query[Selection[uuid (show)], criteria[CdtSearch{field=expressions, searchQuery=753, searchType=prefix, isHighlightResults=true, startTag=&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;96&amp;gt;, endTag=&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;, snippetLength=100}], PagingInfo[startIndex=0, batchSize=10000, sort=[Sort[#RELEVANCE# desc]]]]}, ES SearchRequest=SearchRequest{searchType=QUERY_THEN_FETCH, indices=[designer-objects-ia-7-5], indicesOptions=IndicesOptions[ignore_unavailable=false, allow_no_indices=true, expand_wildcards_open=true, expand_wildcards_closed=false, expand_wildcards_hidden=false, allow_aliases_to_multiple_indices=true, forbid_closed_indices=true, ignore_aliases=false, ignore_throttled=true], types=[], routing=&amp;#39;null&amp;#39;, preference=&amp;#39;null&amp;#39;, requestCache=null, scroll=null, maxConcurrentShardRequests=0, batchedReduceSize=512, preFilterShardSize=null, allowPartialSearchResults=null, localClusterAlias=null, getOrCreateAbsoluteStartMillis=-1, ccsMinimizeRoundtrips=true, source={&amp;quot;from&amp;quot;:0,&amp;quot;size&amp;quot;:10000,&amp;quot;query&amp;quot;:{&amp;quot;bool&amp;quot;:{&amp;quot;must&amp;quot;:[{&amp;quot;bool&amp;quot;:{&amp;quot;must&amp;quot;:[{"match_phrase_prefix":{"expressions":{"query":"753","slop":0,"max_expansions":50,"boost":1.0}}}],&amp;quot;adjust_pure_negative&amp;quot;:true,&amp;quot;boost&amp;quot;:1.0}}],&amp;quot;filter&amp;quot;:[{"term":{"_t":{"value":"DTObjectInfo","boost":1.0}}}],&amp;quot;adjust_pure_negative&amp;quot;:true,&amp;quot;boost&amp;quot;:1.0}},&amp;quot;version&amp;quot;:true,&amp;quot;_source&amp;quot;:{&amp;quot;includes&amp;quot;:["uuid"],&amp;quot;excludes&amp;quot;:[]},&amp;quot;sort&amp;quot;:[{"_score":{"order":"desc"}}],&amp;quot;track_total_hits&amp;quot;:2147483647,&amp;quot;highlight&amp;quot;:{&amp;quot;pre_tags&amp;quot;:["&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;96&amp;gt;"],&amp;quot;post_tags&amp;quot;:["&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;"],&amp;quot;fields&amp;quot;:{&amp;quot;expressions&amp;quot;:{&amp;quot;fragment_size&amp;quot;:100}}}}}] (APNX-1-4198-000)&lt;br /&gt;...&lt;br /&gt;&lt;span&gt;Caused by: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=The length of [expressions] field of [&amp;lt;OBJECT_UUID&amp;gt;] doc of [designer-objects-ia-7-5] index has exceeded [1000000] - maximum allowed to be analyzed for highlighting. This maximum can be set by changing the [index.highlight.max_analyzed_offset] index level setting. For large texts, indexing with offsets or term vectors is recommended!]]&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;An object was found which exceeded the Search Server&amp;#39;s maximum content size limit of 1,000,000 characters. Using objects with content size over 1,000,000 may cause issues.&lt;/p&gt;
&lt;p&gt;A product use case to improve handling of objects with content size greater than 1,000,000 characters&amp;nbsp;&lt;span&gt;has been logged to the Appian Product Team for consideration to add this functionality in the product.&amp;nbsp;Please&amp;nbsp;note it is not Appian Support&amp;rsquo;s policy to disclose how or when a product use case will be implemented.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Search the bottom of the stacktrace for mention of object UUID:&lt;br /&gt;&lt;/span&gt;
&lt;pre&gt;&lt;span&gt;Caused by: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=The length of [expressions] field of [&amp;lt;OBJECT_UUID&amp;gt;] doc of [designer-objects-ia-7-5] index has exceeded [1000000] - maximum allowed to be analyzed for highlighting. This maximum can be set by changing the [index.highlight.max_analyzed_offset] index level setting. For large texts, indexing with offsets or term vectors is recommended!]]&lt;/span&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Delete the object with matching UUID, or remove/reduce it&amp;#39;s contents.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: February&amp;nbsp;2022&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application design, product use cases, open use cases&lt;/div&gt;
</description></item><item><title>KB-2210 Expression search fails with "CdtQueryRequest" error</title><link>https://community.appian.com/support/w/kb/2536/kb-2213-expression-search-fails-with-cdtqueryrequest-error/revision/9</link><pubDate>Tue, 12 Apr 2022 16:09:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:75ab4aea-387a-4119-8a5b-8e998d9f24d4</guid><dc:creator>Elly Meng</dc:creator><comments>https://community.appian.com/support/w/kb/2536/kb-2213-expression-search-fails-with-cdtqueryrequest-error#comments</comments><description>Revision 9 posted to Appian Knowledge Base by Elly Meng on 4/12/2022 4:09:13 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Searching by expression in &lt;code&gt;/design/objects&lt;/code&gt;&amp;nbsp;fails with the following error&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;img alt=" " border="0" src="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-11/Edit.jpg" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Additionally, the following error appears in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.rest.shared.AppianExceptionMapper - Internal Server Error on REST API invocation. &lt;br /&gt;&lt;br /&gt;com.appiancorp.exceptions.LocalizedAppianRuntimeException$LocalizedAppianException: Expression evaluation error [evaluation ID = &amp;lt;EVALUATION_ID&amp;gt;] : Query failed [request=CdtQueryRequest{from=ObjectInfo (id=-10), timeZone=null, query=Query[Selection[uuid (show)], criteria[CdtSearch{field=expressions, searchQuery=753, searchType=prefix, isHighlightResults=true, startTag=&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;96&amp;gt;, endTag=&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;, snippetLength=100}], PagingInfo[startIndex=0, batchSize=10000, sort=[Sort[#RELEVANCE# desc]]]]}, ES SearchRequest=SearchRequest{searchType=QUERY_THEN_FETCH, indices=[designer-objects-ia-7-5], indicesOptions=IndicesOptions[ignore_unavailable=false, allow_no_indices=true, expand_wildcards_open=true, expand_wildcards_closed=false, expand_wildcards_hidden=false, allow_aliases_to_multiple_indices=true, forbid_closed_indices=true, ignore_aliases=false, ignore_throttled=true], types=[], routing=&amp;#39;null&amp;#39;, preference=&amp;#39;null&amp;#39;, requestCache=null, scroll=null, maxConcurrentShardRequests=0, batchedReduceSize=512, preFilterShardSize=null, allowPartialSearchResults=null, localClusterAlias=null, getOrCreateAbsoluteStartMillis=-1, ccsMinimizeRoundtrips=true, source={&amp;quot;from&amp;quot;:0,&amp;quot;size&amp;quot;:10000,&amp;quot;query&amp;quot;:{&amp;quot;bool&amp;quot;:{&amp;quot;must&amp;quot;:[{&amp;quot;bool&amp;quot;:{&amp;quot;must&amp;quot;:[{"match_phrase_prefix":{"expressions":{"query":"753","slop":0,"max_expansions":50,"boost":1.0}}}],&amp;quot;adjust_pure_negative&amp;quot;:true,&amp;quot;boost&amp;quot;:1.0}}],&amp;quot;filter&amp;quot;:[{"term":{"_t":{"value":"DTObjectInfo","boost":1.0}}}],&amp;quot;adjust_pure_negative&amp;quot;:true,&amp;quot;boost&amp;quot;:1.0}},&amp;quot;version&amp;quot;:true,&amp;quot;_source&amp;quot;:{&amp;quot;includes&amp;quot;:["uuid"],&amp;quot;excludes&amp;quot;:[]},&amp;quot;sort&amp;quot;:[{"_score":{"order":"desc"}}],&amp;quot;track_total_hits&amp;quot;:2147483647,&amp;quot;highlight&amp;quot;:{&amp;quot;pre_tags&amp;quot;:["&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;96&amp;gt;"],&amp;quot;post_tags&amp;quot;:["&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;"],&amp;quot;fields&amp;quot;:{&amp;quot;expressions&amp;quot;:{&amp;quot;fragment_size&amp;quot;:100}}}}}] (APNX-1-4198-000)&lt;br /&gt;...&lt;br /&gt;&lt;span&gt;Caused by: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=The length of [expressions] field of [&amp;lt;OBJECT_UUID&amp;gt;] doc of [designer-objects-ia-7-5] index has exceeded [1000000] - maximum allowed to be analyzed for highlighting. This maximum can be set by changing the [index.highlight.max_analyzed_offset] index level setting. For large texts, indexing with offsets or term vectors is recommended!]]&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;An object was found which exceeded the Search Server&amp;#39;s maximum content size limit of 1,000,000 characters. Using objects with content size over 1,000,000 may cause issues.&lt;/p&gt;
&lt;p&gt;A product use case to improve handling of objects with content size greater than 1,000,000 characters&amp;nbsp;&lt;span&gt;has been logged to the Appian Product Team for consideration to add this functionality in the product.&amp;nbsp;Please&amp;nbsp;note it is not Appian Support&amp;rsquo;s policy to disclose how or when a product use case will be implemented.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Search the bottom of the stacktrace for mention of object UUID:&lt;br /&gt;&lt;/span&gt;
&lt;pre&gt;&lt;span&gt;Caused by: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=The length of [expressions] field of [&amp;lt;OBJECT_UUID&amp;gt;] doc of [designer-objects-ia-7-5] index has exceeded [1000000] - maximum allowed to be analyzed for highlighting. This maximum can be set by changing the [index.highlight.max_analyzed_offset] index level setting. For large texts, indexing with offsets or term vectors is recommended!]]&lt;/span&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Delete the object with matching UUID, or remove/reduce it&amp;#39;s contents.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: February&amp;nbsp;2022&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application design, product use cases, open use cases&lt;/div&gt;
</description></item><item><title>KB-2209 Expression search fails with "CdtQueryRequest" error</title><link>https://community.appian.com/support/w/kb/2536/kb-2213-expression-search-fails-with-cdtqueryrequest-error/revision/7</link><pubDate>Fri, 18 Feb 2022 03:37:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:75ab4aea-387a-4119-8a5b-8e998d9f24d4</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/2536/kb-2213-expression-search-fails-with-cdtqueryrequest-error#comments</comments><description>Revision 7 posted to Appian Knowledge Base by Parmida Borhani on 2/18/2022 3:37:32 AM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Searching by expression in &lt;code&gt;/design/objects&lt;/code&gt;&amp;nbsp;fails with the following error&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;img alt=" " border="0" src="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-13/Edit.jpg" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Additionally, the following error appears in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.rest.shared.AppianExceptionMapper - Internal Server Error on REST API invocation. &lt;br /&gt;&lt;br /&gt;com.appiancorp.exceptions.LocalizedAppianRuntimeException$LocalizedAppianException: Expression evaluation error [evaluation ID = &amp;lt;EVALUATION_ID&amp;gt;] : Query failed [request=CdtQueryRequest{from=ObjectInfo (id=-10), timeZone=null, query=Query[Selection[uuid (show)], criteria[CdtSearch{field=expressions, searchQuery=753, searchType=prefix, isHighlightResults=true, startTag=&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;96&amp;gt;, endTag=&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;, snippetLength=100}], PagingInfo[startIndex=0, batchSize=10000, sort=[Sort[#RELEVANCE# desc]]]]}, ES SearchRequest=SearchRequest{searchType=QUERY_THEN_FETCH, indices=[designer-objects-ia-7-5], indicesOptions=IndicesOptions[ignore_unavailable=false, allow_no_indices=true, expand_wildcards_open=true, expand_wildcards_closed=false, expand_wildcards_hidden=false, allow_aliases_to_multiple_indices=true, forbid_closed_indices=true, ignore_aliases=false, ignore_throttled=true], types=[], routing=&amp;#39;null&amp;#39;, preference=&amp;#39;null&amp;#39;, requestCache=null, scroll=null, maxConcurrentShardRequests=0, batchedReduceSize=512, preFilterShardSize=null, allowPartialSearchResults=null, localClusterAlias=null, getOrCreateAbsoluteStartMillis=-1, ccsMinimizeRoundtrips=true, source={&amp;quot;from&amp;quot;:0,&amp;quot;size&amp;quot;:10000,&amp;quot;query&amp;quot;:{&amp;quot;bool&amp;quot;:{&amp;quot;must&amp;quot;:[{&amp;quot;bool&amp;quot;:{&amp;quot;must&amp;quot;:[{"match_phrase_prefix":{"expressions":{"query":"753","slop":0,"max_expansions":50,"boost":1.0}}}],&amp;quot;adjust_pure_negative&amp;quot;:true,&amp;quot;boost&amp;quot;:1.0}}],&amp;quot;filter&amp;quot;:[{"term":{"_t":{"value":"DTObjectInfo","boost":1.0}}}],&amp;quot;adjust_pure_negative&amp;quot;:true,&amp;quot;boost&amp;quot;:1.0}},&amp;quot;version&amp;quot;:true,&amp;quot;_source&amp;quot;:{&amp;quot;includes&amp;quot;:["uuid"],&amp;quot;excludes&amp;quot;:[]},&amp;quot;sort&amp;quot;:[{"_score":{"order":"desc"}}],&amp;quot;track_total_hits&amp;quot;:2147483647,&amp;quot;highlight&amp;quot;:{&amp;quot;pre_tags&amp;quot;:["&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;96&amp;gt;"],&amp;quot;post_tags&amp;quot;:["&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;"],&amp;quot;fields&amp;quot;:{&amp;quot;expressions&amp;quot;:{&amp;quot;fragment_size&amp;quot;:100}}}}}] (APNX-1-4198-000)&lt;br /&gt;...&lt;br /&gt;&lt;span&gt;Caused by: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=The length of [expressions] field of [&amp;lt;OBJECT_UUID&amp;gt;] doc of [designer-objects-ia-7-5] index has exceeded [1000000] - maximum allowed to be analyzed for highlighting. This maximum can be set by changing the [index.highlight.max_analyzed_offset] index level setting. For large texts, indexing with offsets or term vectors is recommended!]]&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;An object was found which exceeded the Search Server&amp;#39;s maximum content size limit of 1,000,000 characters. Using objects with content size over 1,000,000 may cause issues.&lt;/p&gt;
&lt;p&gt;A product use case to improve handling of objects with content size greater than 1,000,000 characters&amp;nbsp;&lt;span&gt;has been logged to the Appian Product Team for consideration to add this functionality in the product.&amp;nbsp;Please&amp;nbsp;note it is not Appian Support&amp;rsquo;s policy to disclose how or when a product use case will be implemented.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Search the bottom of the stacktrace for mention of object UUID:&lt;br /&gt;&lt;/span&gt;
&lt;pre&gt;&lt;span&gt;Caused by: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=The length of [expressions] field of [&amp;lt;OBJECT_UUID&amp;gt;] doc of [designer-objects-ia-7-5] index has exceeded [1000000] - maximum allowed to be analyzed for highlighting. This maximum can be set by changing the [index.highlight.max_analyzed_offset] index level setting. For large texts, indexing with offsets or term vectors is recommended!]]&lt;/span&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Delete the object with matching UUID, or remove/reduce it&amp;#39;s contents.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: February&amp;nbsp;2022&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application design, product use cases, open use cases&lt;/div&gt;
</description></item><item><title>KB-2209 Expression search fails with "CdtQueryRequest" error</title><link>https://community.appian.com/support/w/kb/2536/kb-2213-expression-search-fails-with-cdtqueryrequest-error/revision/8</link><pubDate>Fri, 18 Feb 2022 03:37:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:75ab4aea-387a-4119-8a5b-8e998d9f24d4</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/2536/kb-2213-expression-search-fails-with-cdtqueryrequest-error#comments</comments><description>Revision 8 posted to Appian Knowledge Base by Parmida Borhani on 2/18/2022 3:37:32 AM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Searching by expression in &lt;code&gt;/design/objects&lt;/code&gt;&amp;nbsp;fails with the following error&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;img alt=" " border="0" src="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-11/Edit.jpg" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Additionally, the following error appears in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.rest.shared.AppianExceptionMapper - Internal Server Error on REST API invocation. &lt;br /&gt;&lt;br /&gt;com.appiancorp.exceptions.LocalizedAppianRuntimeException$LocalizedAppianException: Expression evaluation error [evaluation ID = &amp;lt;EVALUATION_ID&amp;gt;] : Query failed [request=CdtQueryRequest{from=ObjectInfo (id=-10), timeZone=null, query=Query[Selection[uuid (show)], criteria[CdtSearch{field=expressions, searchQuery=753, searchType=prefix, isHighlightResults=true, startTag=&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;96&amp;gt;, endTag=&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;, snippetLength=100}], PagingInfo[startIndex=0, batchSize=10000, sort=[Sort[#RELEVANCE# desc]]]]}, ES SearchRequest=SearchRequest{searchType=QUERY_THEN_FETCH, indices=[designer-objects-ia-7-5], indicesOptions=IndicesOptions[ignore_unavailable=false, allow_no_indices=true, expand_wildcards_open=true, expand_wildcards_closed=false, expand_wildcards_hidden=false, allow_aliases_to_multiple_indices=true, forbid_closed_indices=true, ignore_aliases=false, ignore_throttled=true], types=[], routing=&amp;#39;null&amp;#39;, preference=&amp;#39;null&amp;#39;, requestCache=null, scroll=null, maxConcurrentShardRequests=0, batchedReduceSize=512, preFilterShardSize=null, allowPartialSearchResults=null, localClusterAlias=null, getOrCreateAbsoluteStartMillis=-1, ccsMinimizeRoundtrips=true, source={&amp;quot;from&amp;quot;:0,&amp;quot;size&amp;quot;:10000,&amp;quot;query&amp;quot;:{&amp;quot;bool&amp;quot;:{&amp;quot;must&amp;quot;:[{&amp;quot;bool&amp;quot;:{&amp;quot;must&amp;quot;:[{"match_phrase_prefix":{"expressions":{"query":"753","slop":0,"max_expansions":50,"boost":1.0}}}],&amp;quot;adjust_pure_negative&amp;quot;:true,&amp;quot;boost&amp;quot;:1.0}}],&amp;quot;filter&amp;quot;:[{"term":{"_t":{"value":"DTObjectInfo","boost":1.0}}}],&amp;quot;adjust_pure_negative&amp;quot;:true,&amp;quot;boost&amp;quot;:1.0}},&amp;quot;version&amp;quot;:true,&amp;quot;_source&amp;quot;:{&amp;quot;includes&amp;quot;:["uuid"],&amp;quot;excludes&amp;quot;:[]},&amp;quot;sort&amp;quot;:[{"_score":{"order":"desc"}}],&amp;quot;track_total_hits&amp;quot;:2147483647,&amp;quot;highlight&amp;quot;:{&amp;quot;pre_tags&amp;quot;:["&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;96&amp;gt;"],&amp;quot;post_tags&amp;quot;:["&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;"],&amp;quot;fields&amp;quot;:{&amp;quot;expressions&amp;quot;:{&amp;quot;fragment_size&amp;quot;:100}}}}}] (APNX-1-4198-000)&lt;br /&gt;...&lt;br /&gt;&lt;span&gt;Caused by: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=The length of [expressions] field of [&amp;lt;OBJECT_UUID&amp;gt;] doc of [designer-objects-ia-7-5] index has exceeded [1000000] - maximum allowed to be analyzed for highlighting. This maximum can be set by changing the [index.highlight.max_analyzed_offset] index level setting. For large texts, indexing with offsets or term vectors is recommended!]]&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;An object was found which exceeded the Search Server&amp;#39;s maximum content size limit of 1,000,000 characters. Using objects with content size over 1,000,000 may cause issues.&lt;/p&gt;
&lt;p&gt;A product use case to improve handling of objects with content size greater than 1,000,000 characters&amp;nbsp;&lt;span&gt;has been logged to the Appian Product Team for consideration to add this functionality in the product.&amp;nbsp;Please&amp;nbsp;note it is not Appian Support&amp;rsquo;s policy to disclose how or when a product use case will be implemented.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Search the bottom of the stacktrace for mention of object UUID:&lt;br /&gt;&lt;/span&gt;
&lt;pre&gt;&lt;span&gt;Caused by: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=The length of [expressions] field of [&amp;lt;OBJECT_UUID&amp;gt;] doc of [designer-objects-ia-7-5] index has exceeded [1000000] - maximum allowed to be analyzed for highlighting. This maximum can be set by changing the [index.highlight.max_analyzed_offset] index level setting. For large texts, indexing with offsets or term vectors is recommended!]]&lt;/span&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Delete the object with matching UUID, or remove/reduce it&amp;#39;s contents.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: February&amp;nbsp;2022&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application design, product use cases, open use cases&lt;/div&gt;
</description></item><item><title>DRAFT KB-[SP-6416] Expression search fails with "CdtQueryRequest" error</title><link>https://community.appian.com/support/w/kb/2536/kb-2213-expression-search-fails-with-cdtqueryrequest-error/revision/6</link><pubDate>Thu, 17 Feb 2022 14:40:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:75ab4aea-387a-4119-8a5b-8e998d9f24d4</guid><dc:creator>Zach Puderbach</dc:creator><comments>https://community.appian.com/support/w/kb/2536/kb-2213-expression-search-fails-with-cdtqueryrequest-error#comments</comments><description>Revision 6 posted to Appian Knowledge Base by Zach Puderbach on 2/17/2022 2:40:32 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Searching by expression in &lt;code&gt;/design/objects&lt;/code&gt;&amp;nbsp;fails with the following error&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;img alt=" " border="0" src="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-13/Edit.jpg" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Additionally, the following error appears in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.rest.shared.AppianExceptionMapper - Internal Server Error on REST API invocation. &lt;br /&gt;&lt;br /&gt;com.appiancorp.exceptions.LocalizedAppianRuntimeException$LocalizedAppianException: Expression evaluation error [evaluation ID = &amp;lt;EVALUATION_ID&amp;gt;] : Query failed [request=CdtQueryRequest{from=ObjectInfo (id=-10), timeZone=null, query=Query[Selection[uuid (show)], criteria[CdtSearch{field=expressions, searchQuery=753, searchType=prefix, isHighlightResults=true, startTag=&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;96&amp;gt;, endTag=&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;, snippetLength=100}], PagingInfo[startIndex=0, batchSize=10000, sort=[Sort[#RELEVANCE# desc]]]]}, ES SearchRequest=SearchRequest{searchType=QUERY_THEN_FETCH, indices=[designer-objects-ia-7-5], indicesOptions=IndicesOptions[ignore_unavailable=false, allow_no_indices=true, expand_wildcards_open=true, expand_wildcards_closed=false, expand_wildcards_hidden=false, allow_aliases_to_multiple_indices=true, forbid_closed_indices=true, ignore_aliases=false, ignore_throttled=true], types=[], routing=&amp;#39;null&amp;#39;, preference=&amp;#39;null&amp;#39;, requestCache=null, scroll=null, maxConcurrentShardRequests=0, batchedReduceSize=512, preFilterShardSize=null, allowPartialSearchResults=null, localClusterAlias=null, getOrCreateAbsoluteStartMillis=-1, ccsMinimizeRoundtrips=true, source={&amp;quot;from&amp;quot;:0,&amp;quot;size&amp;quot;:10000,&amp;quot;query&amp;quot;:{&amp;quot;bool&amp;quot;:{&amp;quot;must&amp;quot;:[{&amp;quot;bool&amp;quot;:{&amp;quot;must&amp;quot;:[{"match_phrase_prefix":{"expressions":{"query":"753","slop":0,"max_expansions":50,"boost":1.0}}}],&amp;quot;adjust_pure_negative&amp;quot;:true,&amp;quot;boost&amp;quot;:1.0}}],&amp;quot;filter&amp;quot;:[{"term":{"_t":{"value":"DTObjectInfo","boost":1.0}}}],&amp;quot;adjust_pure_negative&amp;quot;:true,&amp;quot;boost&amp;quot;:1.0}},&amp;quot;version&amp;quot;:true,&amp;quot;_source&amp;quot;:{&amp;quot;includes&amp;quot;:["uuid"],&amp;quot;excludes&amp;quot;:[]},&amp;quot;sort&amp;quot;:[{"_score":{"order":"desc"}}],&amp;quot;track_total_hits&amp;quot;:2147483647,&amp;quot;highlight&amp;quot;:{&amp;quot;pre_tags&amp;quot;:["&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;96&amp;gt;"],&amp;quot;post_tags&amp;quot;:["&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;"],&amp;quot;fields&amp;quot;:{&amp;quot;expressions&amp;quot;:{&amp;quot;fragment_size&amp;quot;:100}}}}}] (APNX-1-4198-000)&lt;br /&gt;...&lt;br /&gt;&lt;span&gt;Caused by: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=The length of [expressions] field of [&amp;lt;OBJECT_UUID&amp;gt;] doc of [designer-objects-ia-7-5] index has exceeded [1000000] - maximum allowed to be analyzed for highlighting. This maximum can be set by changing the [index.highlight.max_analyzed_offset] index level setting. For large texts, indexing with offsets or term vectors is recommended!]]&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;An object was found which exceeded the Search Server&amp;#39;s maximum content size limit of 1,000,000 characters. Using objects with content size over 1,000,000 may cause issues. A product use case to improve handling of objects with content size greater than 1,000,000 characters&amp;nbsp;&lt;span&gt;has been logged to the Appian Product Team for consideration to add this functionality in the product.&amp;nbsp;Please&amp;nbsp;note it is not Appian Support&amp;rsquo;s policy to disclose how or when a product use case will be implemented.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Search the bottom of the stacktrace for mention of object UUID:&lt;br /&gt;&lt;/span&gt;
&lt;pre&gt;&lt;span&gt;Caused by: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=The length of [expressions] field of [&amp;lt;OBJECT_UUID&amp;gt;] doc of [designer-objects-ia-7-5] index has exceeded [1000000] - maximum allowed to be analyzed for highlighting. This maximum can be set by changing the [index.highlight.max_analyzed_offset] index level setting. For large texts, indexing with offsets or term vectors is recommended!]]&lt;/span&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Delete the object with matching UUID, or remove/reduce it&amp;#39;s contents.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: February&amp;nbsp;2022&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application design&lt;/div&gt;
</description></item><item><title>DRAFT KB-[SP-6416] Expression search fails with "CdtQueryRequest" error</title><link>https://community.appian.com/support/w/kb/2536/kb-2213-expression-search-fails-with-cdtqueryrequest-error/revision/5</link><pubDate>Wed, 16 Feb 2022 18:04:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:75ab4aea-387a-4119-8a5b-8e998d9f24d4</guid><dc:creator>Zach Puderbach</dc:creator><comments>https://community.appian.com/support/w/kb/2536/kb-2213-expression-search-fails-with-cdtqueryrequest-error#comments</comments><description>Revision 5 posted to Appian Knowledge Base by Zach Puderbach on 2/16/2022 6:04:41 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Searching by expression in &lt;code&gt;/design/objects&lt;/code&gt;&amp;nbsp;fails with the following error&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;img alt=" " border="0" src="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-13/Edit.jpg" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Additionally, the following error appears in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.rest.shared.AppianExceptionMapper - Internal Server Error on REST API invocation. &lt;br /&gt;&lt;br /&gt;com.appiancorp.exceptions.LocalizedAppianRuntimeException$LocalizedAppianException: Expression evaluation error [evaluation ID = &amp;lt;EVALUATION_ID&amp;gt;] : Query failed [request=CdtQueryRequest{from=ObjectInfo (id=-10), timeZone=null, query=Query[Selection[uuid (show)], criteria[CdtSearch{field=expressions, searchQuery=753, searchType=prefix, isHighlightResults=true, startTag=&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;96&amp;gt;, endTag=&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;, snippetLength=100}], PagingInfo[startIndex=0, batchSize=10000, sort=[Sort[#RELEVANCE# desc]]]]}, ES SearchRequest=SearchRequest{searchType=QUERY_THEN_FETCH, indices=[designer-objects-ia-7-5], indicesOptions=IndicesOptions[ignore_unavailable=false, allow_no_indices=true, expand_wildcards_open=true, expand_wildcards_closed=false, expand_wildcards_hidden=false, allow_aliases_to_multiple_indices=true, forbid_closed_indices=true, ignore_aliases=false, ignore_throttled=true], types=[], routing=&amp;#39;null&amp;#39;, preference=&amp;#39;null&amp;#39;, requestCache=null, scroll=null, maxConcurrentShardRequests=0, batchedReduceSize=512, preFilterShardSize=null, allowPartialSearchResults=null, localClusterAlias=null, getOrCreateAbsoluteStartMillis=-1, ccsMinimizeRoundtrips=true, source={&amp;quot;from&amp;quot;:0,&amp;quot;size&amp;quot;:10000,&amp;quot;query&amp;quot;:{&amp;quot;bool&amp;quot;:{&amp;quot;must&amp;quot;:[{&amp;quot;bool&amp;quot;:{&amp;quot;must&amp;quot;:[{"match_phrase_prefix":{"expressions":{"query":"753","slop":0,"max_expansions":50,"boost":1.0}}}],&amp;quot;adjust_pure_negative&amp;quot;:true,&amp;quot;boost&amp;quot;:1.0}}],&amp;quot;filter&amp;quot;:[{"term":{"_t":{"value":"DTObjectInfo","boost":1.0}}}],&amp;quot;adjust_pure_negative&amp;quot;:true,&amp;quot;boost&amp;quot;:1.0}},&amp;quot;version&amp;quot;:true,&amp;quot;_source&amp;quot;:{&amp;quot;includes&amp;quot;:["uuid"],&amp;quot;excludes&amp;quot;:[]},&amp;quot;sort&amp;quot;:[{"_score":{"order":"desc"}}],&amp;quot;track_total_hits&amp;quot;:2147483647,&amp;quot;highlight&amp;quot;:{&amp;quot;pre_tags&amp;quot;:["&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;96&amp;gt;"],&amp;quot;post_tags&amp;quot;:["&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;"],&amp;quot;fields&amp;quot;:{&amp;quot;expressions&amp;quot;:{&amp;quot;fragment_size&amp;quot;:100}}}}}] (APNX-1-4198-000)&lt;br /&gt;...&lt;br /&gt;&lt;span&gt;aused by: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=The length of [expressions] field of [&amp;lt;OBJECT_UUID&amp;gt;] doc of [designer-objects-ia-7-5] index has exceeded [1000000] - maximum allowed to be analyzed for highlighting. This maximum can be set by changing the [index.highlight.max_analyzed_offset] index level setting. For large texts, indexing with offsets or term vectors is recommended!]]&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;An object was found which exceeded the Search Server&amp;#39;s maximum content size limit of 1,000,000 characters. Using objects with content size over 1,000,000 may cause issues. A product use case to improve handling of objects with content size greater than 1,000,000 characters&amp;nbsp;&lt;span&gt;has been logged to the Appian Product Team for consideration to add this functionality in the product.&amp;nbsp;Please&amp;nbsp;note it is not Appian Support&amp;rsquo;s policy to disclose how or when a product use case will be implemented.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Search the bottom of the stacktrace for mention of object UUID:&lt;br /&gt;&lt;/span&gt;
&lt;pre&gt;&lt;span&gt;Caused by: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=The length of [expressions] field of [&amp;lt;OBJECT_UUID&amp;gt;] doc of [designer-objects-ia-7-5] index has exceeded [1000000] - maximum allowed to be analyzed for highlighting. This maximum can be set by changing the [index.highlight.max_analyzed_offset] index level setting. For large texts, indexing with offsets or term vectors is recommended!]]&lt;/span&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Delete the object with matching UUID, or remove/reduce it&amp;#39;s contents.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: February&amp;nbsp;2022&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application design&lt;/div&gt;
</description></item><item><title>DRAFT KB-[SP-6416] Expression search fails with "CdtQueryRequest" error</title><link>https://community.appian.com/support/w/kb/2536/kb-2213-expression-search-fails-with-cdtqueryrequest-error/revision/4</link><pubDate>Wed, 16 Feb 2022 18:00:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:75ab4aea-387a-4119-8a5b-8e998d9f24d4</guid><dc:creator>Zach Puderbach</dc:creator><comments>https://community.appian.com/support/w/kb/2536/kb-2213-expression-search-fails-with-cdtqueryrequest-error#comments</comments><description>Revision 4 posted to Appian Knowledge Base by Zach Puderbach on 2/16/2022 6:00:49 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Searching by expression in &lt;code&gt;/design/objects&lt;/code&gt;&amp;nbsp;fails with the following error&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " border="0" src="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-13/Screenshot-2022_2D00_02_2D00_02-093037.jpg" /&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Additionally, the following error appears in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.rest.shared.AppianExceptionMapper - Internal Server Error on REST API invocation. &lt;br /&gt;&lt;br /&gt;com.appiancorp.exceptions.LocalizedAppianRuntimeException$LocalizedAppianException: Expression evaluation error [evaluation ID = &amp;lt;EVALUATION_ID&amp;gt;] : Query failed [request=CdtQueryRequest{from=ObjectInfo (id=-10), timeZone=null, query=Query[Selection[uuid (show)], criteria[CdtSearch{field=expressions, searchQuery=753, searchType=prefix, isHighlightResults=true, startTag=&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;96&amp;gt;, endTag=&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;, snippetLength=100}], PagingInfo[startIndex=0, batchSize=10000, sort=[Sort[#RELEVANCE# desc]]]]}, ES SearchRequest=SearchRequest{searchType=QUERY_THEN_FETCH, indices=[designer-objects-ia-7-5], indicesOptions=IndicesOptions[ignore_unavailable=false, allow_no_indices=true, expand_wildcards_open=true, expand_wildcards_closed=false, expand_wildcards_hidden=false, allow_aliases_to_multiple_indices=true, forbid_closed_indices=true, ignore_aliases=false, ignore_throttled=true], types=[], routing=&amp;#39;null&amp;#39;, preference=&amp;#39;null&amp;#39;, requestCache=null, scroll=null, maxConcurrentShardRequests=0, batchedReduceSize=512, preFilterShardSize=null, allowPartialSearchResults=null, localClusterAlias=null, getOrCreateAbsoluteStartMillis=-1, ccsMinimizeRoundtrips=true, source={&amp;quot;from&amp;quot;:0,&amp;quot;size&amp;quot;:10000,&amp;quot;query&amp;quot;:{&amp;quot;bool&amp;quot;:{&amp;quot;must&amp;quot;:[{&amp;quot;bool&amp;quot;:{&amp;quot;must&amp;quot;:[{"match_phrase_prefix":{"expressions":{"query":"753","slop":0,"max_expansions":50,"boost":1.0}}}],&amp;quot;adjust_pure_negative&amp;quot;:true,&amp;quot;boost&amp;quot;:1.0}}],&amp;quot;filter&amp;quot;:[{"term":{"_t":{"value":"DTObjectInfo","boost":1.0}}}],&amp;quot;adjust_pure_negative&amp;quot;:true,&amp;quot;boost&amp;quot;:1.0}},&amp;quot;version&amp;quot;:true,&amp;quot;_source&amp;quot;:{&amp;quot;includes&amp;quot;:["uuid"],&amp;quot;excludes&amp;quot;:[]},&amp;quot;sort&amp;quot;:[{"_score":{"order":"desc"}}],&amp;quot;track_total_hits&amp;quot;:2147483647,&amp;quot;highlight&amp;quot;:{&amp;quot;pre_tags&amp;quot;:["&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;96&amp;gt;"],&amp;quot;post_tags&amp;quot;:["&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;"],&amp;quot;fields&amp;quot;:{&amp;quot;expressions&amp;quot;:{&amp;quot;fragment_size&amp;quot;:100}}}}}] (APNX-1-4198-000)&lt;br /&gt;...&lt;br /&gt;&lt;span&gt;aused by: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=The length of [expressions] field of [&amp;lt;OBJECT_UUID&amp;gt;] doc of [designer-objects-ia-7-5] index has exceeded [1000000] - maximum allowed to be analyzed for highlighting. This maximum can be set by changing the [index.highlight.max_analyzed_offset] index level setting. For large texts, indexing with offsets or term vectors is recommended!]]&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;An object was found which exceeded the Search Server&amp;#39;s maximum content size limit of 1,000,000 characters. Using objects with content size over 1,000,000 may cause issues. A product use case to improve handling of objects with content size greater than 1,000,000 characters&amp;nbsp;&lt;span&gt;has been logged to the Appian Product Team for consideration to add this functionality in the product.&amp;nbsp;Please&amp;nbsp;note it is not Appian Support&amp;rsquo;s policy to disclose how or when a product use case will be implemented.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Search the bottom of the stacktrace for mention of object UUID:&lt;br /&gt;&lt;/span&gt;
&lt;pre&gt;&lt;span&gt;Caused by: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=The length of [expressions] field of [&amp;lt;OBJECT_UUID&amp;gt;] doc of [designer-objects-ia-7-5] index has exceeded [1000000] - maximum allowed to be analyzed for highlighting. This maximum can be set by changing the [index.highlight.max_analyzed_offset] index level setting. For large texts, indexing with offsets or term vectors is recommended!]]&lt;/span&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Delete the object with matching UUID, or remove/reduce it&amp;#39;s contents.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: February&amp;nbsp;2022&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application design&lt;/div&gt;
</description></item><item><title>DRAFT KB-[SP-6416] Expression search fails with "CdtQueryRequest" error</title><link>https://community.appian.com/support/w/kb/2536/kb-2213-expression-search-fails-with-cdtqueryrequest-error/revision/3</link><pubDate>Wed, 16 Feb 2022 17:58:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:75ab4aea-387a-4119-8a5b-8e998d9f24d4</guid><dc:creator>Zach Puderbach</dc:creator><comments>https://community.appian.com/support/w/kb/2536/kb-2213-expression-search-fails-with-cdtqueryrequest-error#comments</comments><description>Revision 3 posted to Appian Knowledge Base by Zach Puderbach on 2/16/2022 5:58:39 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Searching by expression in &lt;code&gt;/design/objects&lt;/code&gt;&amp;nbsp;fails with the following error&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " border="0" src="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-13/Screenshot-2022_2D00_02_2D00_02-093037.jpg" /&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Additionally, the following error appears in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.rest.shared.AppianExceptionMapper - Internal Server Error on REST API invocation. &lt;br /&gt;&lt;br /&gt;com.appiancorp.exceptions.LocalizedAppianRuntimeException$LocalizedAppianException: Expression evaluation error [evaluation ID = &amp;lt;EVALUATION_ID&amp;gt;] : Query failed [request=CdtQueryRequest{from=ObjectInfo (id=-10), timeZone=null, query=Query[Selection[uuid (show)], criteria[CdtSearch{field=expressions, searchQuery=753, searchType=prefix, isHighlightResults=true, startTag=&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;96&amp;gt;, endTag=&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;, snippetLength=100}], PagingInfo[startIndex=0, batchSize=10000, sort=[Sort[#RELEVANCE# desc]]]]}, ES SearchRequest=SearchRequest{searchType=QUERY_THEN_FETCH, indices=[designer-objects-ia-7-5], indicesOptions=IndicesOptions[ignore_unavailable=false, allow_no_indices=true, expand_wildcards_open=true, expand_wildcards_closed=false, expand_wildcards_hidden=false, allow_aliases_to_multiple_indices=true, forbid_closed_indices=true, ignore_aliases=false, ignore_throttled=true], types=[], routing=&amp;#39;null&amp;#39;, preference=&amp;#39;null&amp;#39;, requestCache=null, scroll=null, maxConcurrentShardRequests=0, batchedReduceSize=512, preFilterShardSize=null, allowPartialSearchResults=null, localClusterAlias=null, getOrCreateAbsoluteStartMillis=-1, ccsMinimizeRoundtrips=true, source={&amp;quot;from&amp;quot;:0,&amp;quot;size&amp;quot;:10000,&amp;quot;query&amp;quot;:{&amp;quot;bool&amp;quot;:{&amp;quot;must&amp;quot;:[{&amp;quot;bool&amp;quot;:{&amp;quot;must&amp;quot;:[{"match_phrase_prefix":{"expressions":{"query":"753","slop":0,"max_expansions":50,"boost":1.0}}}],&amp;quot;adjust_pure_negative&amp;quot;:true,&amp;quot;boost&amp;quot;:1.0}}],&amp;quot;filter&amp;quot;:[{"term":{"_t":{"value":"DTObjectInfo","boost":1.0}}}],&amp;quot;adjust_pure_negative&amp;quot;:true,&amp;quot;boost&amp;quot;:1.0}},&amp;quot;version&amp;quot;:true,&amp;quot;_source&amp;quot;:{&amp;quot;includes&amp;quot;:["uuid"],&amp;quot;excludes&amp;quot;:[]},&amp;quot;sort&amp;quot;:[{"_score":{"order":"desc"}}],&amp;quot;track_total_hits&amp;quot;:2147483647,&amp;quot;highlight&amp;quot;:{&amp;quot;pre_tags&amp;quot;:["&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;96&amp;gt;"],&amp;quot;post_tags&amp;quot;:["&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;"],&amp;quot;fields&amp;quot;:{&amp;quot;expressions&amp;quot;:{&amp;quot;fragment_size&amp;quot;:100}}}}}] (APNX-1-4198-000)&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;An object was found which exceeded the Search Server&amp;#39;s maximum content size limit of 1,000,000 characters. Using objects with content size over 1,000,000 may cause issues. A product use case to improve handling of objects with content size greater than 1,000,000 characters&amp;nbsp;&lt;span&gt;has been logged to the Appian Product Team for consideration to add this functionality in the product.&amp;nbsp;Please&amp;nbsp;note it is not Appian Support&amp;rsquo;s policy to disclose how or when a product use case will be implemented.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Search the bottom of the stacktrace for mention of object UUID:&lt;br /&gt;&lt;/span&gt;
&lt;pre&gt;&lt;span&gt;Caused by: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=The length of [expressions] field of [&amp;lt;OBJECT_UUID&amp;gt;] doc of [designer-objects-ia-7-5] index has exceeded [1000000] - maximum allowed to be analyzed for highlighting. This maximum can be set by changing the [index.highlight.max_analyzed_offset] index level setting. For large texts, indexing with offsets or term vectors is recommended!]]&lt;/span&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Delete the object with matching UUID, or remove/reduce it&amp;#39;s contents.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: February&amp;nbsp;2022&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application design&lt;/div&gt;
</description></item><item><title>DRAFT KB-[SP-6416] Expression search fails with "CdtQueryRequest" error</title><link>https://community.appian.com/support/w/kb/2536/kb-2213-expression-search-fails-with-cdtqueryrequest-error/revision/2</link><pubDate>Wed, 02 Feb 2022 15:40:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:75ab4aea-387a-4119-8a5b-8e998d9f24d4</guid><dc:creator>Zach Puderbach</dc:creator><comments>https://community.appian.com/support/w/kb/2536/kb-2213-expression-search-fails-with-cdtqueryrequest-error#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Zach Puderbach on 2/2/2022 3:40:26 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Searching by expression in &lt;code&gt;/design/objects&lt;/code&gt;&amp;nbsp;fails with the following error&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " border="0" src="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-13/Screenshot-2022_2D00_02_2D00_02-093037.jpg" /&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Additionally, the following error appears in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.rest.shared.AppianExceptionMapper - Internal Server Error on REST API invocation. &lt;br /&gt;&lt;br /&gt;com.appiancorp.exceptions.LocalizedAppianRuntimeException$LocalizedAppianException: Expression evaluation error [evaluation ID = &amp;lt;EVALUATION_ID&amp;gt;] : Query failed [request=CdtQueryRequest{from=ObjectInfo (id=-10), timeZone=null, query=Query[Selection[uuid (show)], criteria[CdtSearch{field=expressions, searchQuery=753, searchType=prefix, isHighlightResults=true, startTag=&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;96&amp;gt;, endTag=&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;, snippetLength=100}], PagingInfo[startIndex=0, batchSize=10000, sort=[Sort[#RELEVANCE# desc]]]]}, ES SearchRequest=SearchRequest{searchType=QUERY_THEN_FETCH, indices=[designer-objects-ia-7-5], indicesOptions=IndicesOptions[ignore_unavailable=false, allow_no_indices=true, expand_wildcards_open=true, expand_wildcards_closed=false, expand_wildcards_hidden=false, allow_aliases_to_multiple_indices=true, forbid_closed_indices=true, ignore_aliases=false, ignore_throttled=true], types=[], routing=&amp;#39;null&amp;#39;, preference=&amp;#39;null&amp;#39;, requestCache=null, scroll=null, maxConcurrentShardRequests=0, batchedReduceSize=512, preFilterShardSize=null, allowPartialSearchResults=null, localClusterAlias=null, getOrCreateAbsoluteStartMillis=-1, ccsMinimizeRoundtrips=true, source={&amp;quot;from&amp;quot;:0,&amp;quot;size&amp;quot;:10000,&amp;quot;query&amp;quot;:{&amp;quot;bool&amp;quot;:{&amp;quot;must&amp;quot;:[{&amp;quot;bool&amp;quot;:{&amp;quot;must&amp;quot;:[{"match_phrase_prefix":{"expressions":{"query":"753","slop":0,"max_expansions":50,"boost":1.0}}}],&amp;quot;adjust_pure_negative&amp;quot;:true,&amp;quot;boost&amp;quot;:1.0}}],&amp;quot;filter&amp;quot;:[{"term":{"_t":{"value":"DTObjectInfo","boost":1.0}}}],&amp;quot;adjust_pure_negative&amp;quot;:true,&amp;quot;boost&amp;quot;:1.0}},&amp;quot;version&amp;quot;:true,&amp;quot;_source&amp;quot;:{&amp;quot;includes&amp;quot;:["uuid"],&amp;quot;excludes&amp;quot;:[]},&amp;quot;sort&amp;quot;:[{"_score":{"order":"desc"}}],&amp;quot;track_total_hits&amp;quot;:2147483647,&amp;quot;highlight&amp;quot;:{&amp;quot;pre_tags&amp;quot;:["&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;96&amp;gt;"],&amp;quot;post_tags&amp;quot;:["&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;"],&amp;quot;fields&amp;quot;:{&amp;quot;expressions&amp;quot;:{&amp;quot;fragment_size&amp;quot;:100}}}}}] (APNX-1-4198-000)&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;An object was found which exceeded the Search Server&amp;#39;s maximum content size limit of 1,000,000 characters. Using objects with content size over 1,000,000 may cause issues.&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Search the bottom of the stacktrace for mention of object UUID:&lt;br /&gt;&lt;/span&gt;
&lt;pre&gt;&lt;span&gt;Caused by: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=The length of [expressions] field of [&amp;lt;OBJECT_UUID&amp;gt;] doc of [designer-objects-ia-7-5] index has exceeded [1000000] - maximum allowed to be analyzed for highlighting. This maximum can be set by changing the [index.highlight.max_analyzed_offset] index level setting. For large texts, indexing with offsets or term vectors is recommended!]]&lt;/span&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Delete the object with matching UUID, or remove/reduce it&amp;#39;s contents.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: February&amp;nbsp;2022&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application design&lt;/div&gt;
</description></item><item><title>DRAFT KB-[SP-6416] Expression search fails with "CdtQueryRequest" error</title><link>https://community.appian.com/support/w/kb/2536/kb-2213-expression-search-fails-with-cdtqueryrequest-error/revision/1</link><pubDate>Wed, 02 Feb 2022 15:35:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:75ab4aea-387a-4119-8a5b-8e998d9f24d4</guid><dc:creator>Zach Puderbach</dc:creator><comments>https://community.appian.com/support/w/kb/2536/kb-2213-expression-search-fails-with-cdtqueryrequest-error#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Zach Puderbach on 2/2/2022 3:35:07 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Searching by expression in &lt;code&gt;/design/objects &lt;/code&gt;fails with the following error&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " border="0" src="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-13/Screenshot-2022_2D00_02_2D00_02-093037.jpg" /&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Additionally, the following error appears in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.rest.shared.AppianExceptionMapper - Internal Server Error on REST API invocation. &lt;br /&gt;&lt;br /&gt;com.appiancorp.exceptions.LocalizedAppianRuntimeException$LocalizedAppianException: Expression evaluation error [evaluation ID = &amp;lt;EVALUATION_ID&amp;gt;] : Query failed [request=CdtQueryRequest{from=ObjectInfo (id=-10), timeZone=null, query=Query[Selection[uuid (show)], criteria[CdtSearch{field=expressions, searchQuery=753, searchType=prefix, isHighlightResults=true, startTag=&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;96&amp;gt;, endTag=&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;, snippetLength=100}], PagingInfo[startIndex=0, batchSize=10000, sort=[Sort[#RELEVANCE# desc]]]]}, ES SearchRequest=SearchRequest{searchType=QUERY_THEN_FETCH, indices=[designer-objects-ia-7-5], indicesOptions=IndicesOptions[ignore_unavailable=false, allow_no_indices=true, expand_wildcards_open=true, expand_wildcards_closed=false, expand_wildcards_hidden=false, allow_aliases_to_multiple_indices=true, forbid_closed_indices=true, ignore_aliases=false, ignore_throttled=true], types=[], routing=&amp;#39;null&amp;#39;, preference=&amp;#39;null&amp;#39;, requestCache=null, scroll=null, maxConcurrentShardRequests=0, batchedReduceSize=512, preFilterShardSize=null, allowPartialSearchResults=null, localClusterAlias=null, getOrCreateAbsoluteStartMillis=-1, ccsMinimizeRoundtrips=true, source={&amp;quot;from&amp;quot;:0,&amp;quot;size&amp;quot;:10000,&amp;quot;query&amp;quot;:{&amp;quot;bool&amp;quot;:{&amp;quot;must&amp;quot;:[{&amp;quot;bool&amp;quot;:{&amp;quot;must&amp;quot;:[{"match_phrase_prefix":{"expressions":{"query":"753","slop":0,"max_expansions":50,"boost":1.0}}}],&amp;quot;adjust_pure_negative&amp;quot;:true,&amp;quot;boost&amp;quot;:1.0}}],&amp;quot;filter&amp;quot;:[{"term":{"_t":{"value":"DTObjectInfo","boost":1.0}}}],&amp;quot;adjust_pure_negative&amp;quot;:true,&amp;quot;boost&amp;quot;:1.0}},&amp;quot;version&amp;quot;:true,&amp;quot;_source&amp;quot;:{&amp;quot;includes&amp;quot;:["uuid"],&amp;quot;excludes&amp;quot;:[]},&amp;quot;sort&amp;quot;:[{"_score":{"order":"desc"}}],&amp;quot;track_total_hits&amp;quot;:2147483647,&amp;quot;highlight&amp;quot;:{&amp;quot;pre_tags&amp;quot;:["&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;96&amp;gt;"],&amp;quot;post_tags&amp;quot;:["&amp;lt;EE&amp;gt;&amp;lt;89&amp;gt;&amp;lt;95&amp;gt;"],&amp;quot;fields&amp;quot;:{&amp;quot;expressions&amp;quot;:{&amp;quot;fragment_size&amp;quot;:100}}}}}] (APNX-1-4198-000)&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;An object was found which exceeded the Search Server&amp;#39;s maximum content size limit.&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Search the bottom of the stacktrace for mention of object UUID:&lt;br /&gt;&lt;/span&gt;
&lt;pre&gt;&lt;span&gt;Caused by: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=The length of [expressions] field of [&amp;lt;OBJECT_UUID&amp;gt;] doc of [designer-objects-ia-7-5] index has exceeded [1000000] - maximum allowed to be analyzed for highlighting. This maximum can be set by changing the [index.highlight.max_analyzed_offset] index level setting. For large texts, indexing with offsets or term vectors is recommended!]]&lt;/span&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Delete the object with matching UUID, or remove/reduce it&amp;#39;s contents.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: February&amp;nbsp;2022&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application design&lt;/div&gt;
</description></item></channel></rss>