-1

We are getting following Quota limit exception when we are updating textsearch document,

com.google.apphosting.api.ApiProxy$OverQuotaException: The API call search.IndexDocument() required more quota than is available. at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:365) at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:233) at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:209)

and code is

public SearchService searchService = SearchServiceFactory.getSearchService();

public Index index = searchService.getIndex(IndexSpec.newBuilder().setName("contacts"));

Document.Builder docs = Document.newBuilder();

docs.addField(Field.newBuilder().setName("first_name_start").setText(first_name.substring(0, 1)));

index.put(docs);

any suggestion towards resolving it?

Sri
  • 1
  • 2

2 Answers2

0

As you mentioned, one solution to hitting either a space or a throughput quota on App Engine is to get in touch with Google. You can find information about how to do that here.

Will Hayworth
  • 1,272
  • 10
  • 22
0

In our case, it was INDEX Size>10GB, that threw this exception.

Pratap Singh
  • 401
  • 1
  • 4
  • 14