diff --git a/x-api/posts/search/integrate/build-a-query.mdx b/x-api/posts/search/integrate/build-a-query.mdx index 6ad3ab7e1..98d168dc1 100644 --- a/x-api/posts/search/integrate/build-a-query.mdx +++ b/x-api/posts/search/integrate/build-a-query.mdx @@ -147,9 +147,9 @@ When [building filtered stream rules](/x-api/posts/filtered-stream/integrate/bui ## Long posts -Search queries are matched against a Post's `text` field. For long posts (more than 280 characters), `text` contains only the first ~280 characters, so keywords, phrases, hashtags, and other text that appear only after that point are not matched. +Recent search, full-archive search, and Post counts match long posts (more than 280 characters) on their full text, not only the first ~280 characters. Repost matching is the exception: a Repost is matched on its own shortened `RT @user:` text, so words that appear only further into the original Post do not match the Repost. To match on that text, query for the original Post instead. -To get the full text of a long post in the response, request `tweet.fields=note_tweet`. The full text is returned in `note_tweet.text`, but it is not used for matching. +In the response, the top-level `text` field of a long post is still shortened. To get the full text, request `tweet.fields=note_tweet`. The full text is returned in `note_tweet.text`. --- diff --git a/x-api/posts/search/integrate/overview.mdx b/x-api/posts/search/integrate/overview.mdx index 9cd1f3d9c..ccd24ff68 100644 --- a/x-api/posts/search/integrate/overview.mdx +++ b/x-api/posts/search/integrate/overview.mdx @@ -47,7 +47,7 @@ Queries use operators to match Posts. Combine operators with boolean logic: | Enterprise | 4,096 chars | 4,096 chars | -These limits count characters. The full percent-encoded request URL must also stay under about 16 KB, which non-ASCII queries can reach well before the character limit. Long posts are matched only on their first ~280 characters. See [Build a query](/x-api/posts/search/integrate/build-a-query#request-size) for details. +These limits count characters. The full percent-encoded request URL must also stay under about 16 KB, which non-ASCII queries can reach well before the character limit. See [Build a query](/x-api/posts/search/integrate/build-a-query#request-size) for details. Long posts are matched on their full text; see [Long posts](/x-api/posts/search/integrate/build-a-query#long-posts). ### Operator types