Represents a facet
A facet is a filter for searching It consists of a type, an operation, and a value
// Facet where the version is "1.16.5"new Facet(FacetType.Versions, FacetOperation.EQUALS, "1.16.5") Copy
// Facet where the version is "1.16.5"new Facet(FacetType.Versions, FacetOperation.EQUALS, "1.16.5")
// Facet where the downloads are greater than 1000new Facet(FacetType.Downloads, FacetOperation.GREATER_THAN, "1000") Copy
// Facet where the downloads are greater than 1000new Facet(FacetType.Downloads, FacetOperation.GREATER_THAN, "1000")
Creates a new Facet
The type of the facet
The operation of the facet
The value of the facet
Gets the operation of the facet
Gets the type of the facet
Gets the value of the facet
Stringifies the facet
The stringified facet
Represents a facet
A facet is a filter for searching It consists of a type, an operation, and a value
Example
Example