It says that using the MatchScorer for scoring documents can be expensive in billable operations. However, I don't understand how if affects billing. From what I understand, the Search API is billed by the number of queries, regardless of how computationally intensive they are or how long they take. How does it affect billable operations?
David (Cloud Platform Support)
unread,
Jul 22, 2019, 4:47:12 PM7/22/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
Hello,
Scoring documents can be expensive in terms of billable operations and execution time, but it is not always the case. As it depends on the document and term you are searching. The reason of expensive is the extra processing in sorting the value as per the frequency of the search terms. If you turn off the match scoring then in that case, search will use the default order of the sort expression class which is descending.
Akash Eldo
unread,
Jul 22, 2019, 5:21:38 PM7/22/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
Yes but how is it billed? I can't find any documentation on billing per resource usage for the search API.
David (Cloud Platform Support)
unread,
Jul 23, 2019, 2:33:34 PM7/23/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
You can find the pricing for the search API in this link. For more information about pricing, please see this link as well.