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

Create interface that specifies which fields are searchable within a document.