[[["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-09-03 UTC."],[[["\u003cp\u003eFacetRange defines a range with an inclusive start and an exclusive end.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ewithEnd(Double end)\u003c/code\u003e creates a FacetRange that matches any value less than the specified \u003ccode\u003eend\u003c/code\u003e value.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ewithStart(Double start)\u003c/code\u003e creates a FacetRange that matches any value greater than or equal to the given \u003ccode\u003estart\u003c/code\u003e value.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ewithStartEnd(Double start, Double end)\u003c/code\u003e creates a FacetRange that matches any value within the specified range, greater than or equal to \u003ccode\u003estart\u003c/code\u003e but less than \u003ccode\u003eend\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egetStart()\u003c/code\u003e and \u003ccode\u003egetEnd()\u003c/code\u003e methods return string representations of the lower and upper bounds of the range, respectively, or null if there is no bound.\u003c/p\u003e\n"]]],[],null,["# Class FacetRange (2.0.0)\n\n public final class FacetRange\n\nA FacetRange is a range with a start (inclusive) and an end (exclusive). \n\nInheritance\n-----------\n\n[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e FacetRange \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 Methods\n--------------\n\n### withEnd(Double end)\n\n public static FacetRange withEnd(Double end)\n\nCreates a numeric [FacetRange](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.search.FacetRange) that matches any value less than `end`.\n\n### withStart(Double start)\n\n public static FacetRange withStart(Double start)\n\nCreates a numeric [FacetRange](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.search.FacetRange) that matches any value greater than or equal to\n`start`.\n\n### withStartEnd(Double start, Double end)\n\n public static FacetRange withStartEnd(Double start, Double end)\n\nCreates a numeric [FacetRange](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.search.FacetRange) that matches\nany value greater than or equal to `start` but less than `end`.\n\nMethods\n-------\n\n### getEnd()\n\n public String getEnd()\n\nReturns the string representation of the upper bound of the range or null if there is\nno upper bound.\n\n### getStart()\n\n public String getStart()\n\nReturns the string representation of the lower bound of the range or null if there is\nno lower bound.\n\n### toString()\n\n public String toString()\n\n**Overrides** \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--)"]]