[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003e\u003ccode\u003eSearchApiLimits\u003c/code\u003e defines the constraints for various properties within the Search API, such as field values and document sizes.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple limits for facets, including the default discovery limit, maximum constraints, depth, discoveries, ranges, and value limit.\u003c/p\u003e\n"],["\u003cp\u003eLimits exist for index-related operations, including the default and maximum number of indexes returned, as well as the maximum offset for the first index.\u003c/p\u003e\n"],["\u003cp\u003eDocument properties such as id, content length and field names are restricted by specific maximum length limits.\u003c/p\u003e\n"],["\u003cp\u003eThere are constraints for searching such as the maximum query length, the default and maximum number of documents to return in results, maximum offset, and maximum number of fields to return.\u003c/p\u003e\n"]]],[],null,["# Class SearchApiLimits (2.0.0)\n\n public class SearchApiLimits\n\nContains limits on field values, document sizes, and other properties of objects in the Search\nAPI. \n\nInheritance\n-----------\n\n[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e SearchApiLimits \n\nInherited Members\n-----------------\n\n[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) \n[Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)\n\nStatic Fields\n-------------\n\n### FACET_DEFAULT_DISCOVERY_LIMIT\n\n public static final int FACET_DEFAULT_DISCOVERY_LIMIT\n\nThe default value for number of discovered facets.\n\n### FACET_MAXIMUM_CONSTRAINTS\n\n public static final int FACET_MAXIMUM_CONSTRAINTS\n\nThe maximum number of facet value constraint can be requested.\n\n### FACET_MAXIMUM_DEPTH\n\n public static final int FACET_MAXIMUM_DEPTH\n\nThe maximum number for facet depth option.\n\n### FACET_MAXIMUM_DISCOVERY_LIMIT\n\n public static final int FACET_MAXIMUM_DISCOVERY_LIMIT\n\nThe maximum number of facet discoveries that can be requested.\n\n### FACET_MAXIMUM_RANGES\n\n public static final int FACET_MAXIMUM_RANGES\n\nThe maximum number of facet ranges can be requested.\n\n### FACET_MAXIMUM_VALUE_LIMIT\n\n public static final int FACET_MAXIMUM_VALUE_LIMIT\n\nThe maximum value for facet value limit option.\n\n### FIELD_NAME_PATTERN\n\n public static final String FIELD_NAME_PATTERN\n\nThe pattern each document field name should match.\n\n### GET_INDEXES_DEFAULT_LIMIT\n\n public static final int GET_INDEXES_DEFAULT_LIMIT\n\nThe default number of indexes we will try to return.\n\n### GET_INDEXES_MAXIMUM_LIMIT\n\n public static final int GET_INDEXES_MAXIMUM_LIMIT\n\nThe maximum number of indexes that can be requested to be returned in\nlist indexes results.\n\n### GET_INDEXES_MAXIMUM_OFFSET\n\n public static final int GET_INDEXES_MAXIMUM_OFFSET\n\nThe maximum offset of the first index returned in list indexes results.\n\n### GET_RANGE_DEFAULT_LIMIT\n\n public static final int GET_RANGE_DEFAULT_LIMIT\n\nThe default number of documents requested for get range requests.\n\n### GET_RANGE_MAXIMUM_LIMIT\n\n public static final int GET_RANGE_MAXIMUM_LIMIT\n\nThe maximum number of documents which can be requested for get range requests.\n\n### MAXIMUM_ATOM_LENGTH\n\n public static final int MAXIMUM_ATOM_LENGTH\n\nThe maximum length of an atom in bytes (500).\n\n### MAXIMUM_CURSOR_LENGTH\n\n public static final int MAXIMUM_CURSOR_LENGTH\n\nThe maximum length of a cursor.\n\n### MAXIMUM_DATE_VALUE\n\n public static final Date MAXIMUM_DATE_VALUE\n\nThe maximum date that can be stored in a date field.\n\n### MAXIMUM_DOCUMENT_ID_LENGTH\n\n public static final int MAXIMUM_DOCUMENT_ID_LENGTH\n\nThe maximum length of a document id.\n\n### MAXIMUM_DOCUMENT_LENGTH\n\n public static final int MAXIMUM_DOCUMENT_LENGTH\n\nThe maximum length of a document.\n\n### MAXIMUM_INDEX_NAME_LENGTH\n\n public static final int MAXIMUM_INDEX_NAME_LENGTH\n\nThe maximum length for an index name.\n\n### MAXIMUM_NAME_LENGTH\n\n public static final int MAXIMUM_NAME_LENGTH\n\nThe maximum length of a field or facet name in bytes (500).\n\n### MAXIMUM_NEGATIVE_LATITUDE\n\n public static final double MAXIMUM_NEGATIVE_LATITUDE\n\nThe maximum negative degrees for latitude.\n\n### MAXIMUM_NEGATIVE_LONGITUDE\n\n public static final double MAXIMUM_NEGATIVE_LONGITUDE\n\nThe maximum negative degrees for longitude.\n\n### MAXIMUM_NUMBER_VALUE\n\n public static final double MAXIMUM_NUMBER_VALUE\n\nThe maximum value that can be stored in a number field (2147483647).\n\n### MAXIMUM_POSITIVE_LATITUDE\n\n public static final double MAXIMUM_POSITIVE_LATITUDE\n\nThe maximum positive degrees for latitude.\n\n### MAXIMUM_POSITIVE_LONGITUDE\n\n public static final double MAXIMUM_POSITIVE_LONGITUDE\n\nThe maximum positive degrees for longitude.\n\n### MAXIMUM_PREFIX_LENGTH\n\n public static final int MAXIMUM_PREFIX_LENGTH\n\nThe maximum length of a prefix field in bytes (500).\n\n### MAXIMUM_QUERY_LENGTH\n\n public static final int MAXIMUM_QUERY_LENGTH\n\nThe maximum length of a query string.\n\n### MAXIMUM_TEXT_LENGTH\n\n public static final int MAXIMUM_TEXT_LENGTH\n\nThe maximum length of a text or HTML in bytes (1048576).\n\n### MINIMUM_DATE_VALUE\n\n public static final Date MINIMUM_DATE_VALUE\n\nThe minimum date that can be stored in a date field.\n\n### MINIMUM_NUMBER_VALUE\n\n public static final double MINIMUM_NUMBER_VALUE\n\nThe minimum value that can be stored in a number field (-2147483647).\n\n### PUT_MAXIMUM_DOCS_PER_REQUEST\n\n public static final int PUT_MAXIMUM_DOCS_PER_REQUEST\n\nThe maximum number of documents allowed per index and delete request.\n\n### SEARCH_DEFAULT_LIMIT\n\n public static final int SEARCH_DEFAULT_LIMIT\n\nThe default limit on the number of documents to return in results.\n\n### SEARCH_DEFAULT_NUMBER_FOUND_ACCURACY\n\n public static final int SEARCH_DEFAULT_NUMBER_FOUND_ACCURACY\n\nThe default found count accuracy is the limit.\n\n### SEARCH_DEFAULT_SORTED_LIMIT\n\n public static final int SEARCH_DEFAULT_SORTED_LIMIT\n\nThe default number of documents to score.\n\n### SEARCH_MAXIMUM_LIMIT\n\n public static final int SEARCH_MAXIMUM_LIMIT\n\nThe maximum number of documents that can be requested\nto be returned in search results.\n\n### SEARCH_MAXIMUM_NUMBER_FOUND_ACCURACY\n\n public static final int SEARCH_MAXIMUM_NUMBER_FOUND_ACCURACY\n\nThe maximum number found accuracy that can be requested.\n\n### SEARCH_MAXIMUM_NUMBER_OF_FIELDS_TO_RETURN\n\n public static final int SEARCH_MAXIMUM_NUMBER_OF_FIELDS_TO_RETURN\n\nThe maximum number of names of fields to return in results.\n\n### SEARCH_MAXIMUM_OFFSET\n\n public static final int SEARCH_MAXIMUM_OFFSET\n\nThe maximum offset into all search results to return results from.\n\n### SEARCH_MAXIMUM_SORTED_LIMIT\n\n public static final int SEARCH_MAXIMUM_SORTED_LIMIT\n\nThe maximum number of documents that can be requested to be scored.\n\n### VECTOR_FIELD_MAX_SIZE\n\n public static final int VECTOR_FIELD_MAX_SIZE\n\nThe maximum size of a vector field."]]