@@ -0,0 +1,737 @@
+package uk.ac.ebi.quickgo.common;%0A%0Aimport java.util.stream.Stream;%0A%0A/**%0A * Defines which fields are facetable for a given %7B@link QuickGODocument%7D.%0A * @author Ricardo Antunes%0A */%0Apublic interface FacetableField %7B%0A    /**%0A     * Indicates whether the provided %7B@param field%7D is facetable or not.%0A     *%0A     * @param field the field to check%0A     * @return true if the field is facetable, false otherwise%0A     */%0A    boolean isFacetable(String field);%0A%0A    /**%0A     * Returns all facetable fields of a concrete implementation of %7B@link QuickGODocument%7D.%0A     *%0A     * @return an %7B@link Stream%7D of all fields that are facetable for a specific implementation of%0A     * %7B@link QuickGODocument%7D%0A     */%0A    Stream%3CString%3E facetableFields();%0A%7D%0A

Create an interface that indicates which fields are facetable.