Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class SearchHelper {
add("species");
add("tags");
add("assays");
add("anatomicalExpression");
add("anatomicalExpressionSlim");
add("sex");
// add("stage"); will be implemented in the future
}
Expand Down Expand Up @@ -97,7 +97,7 @@ public class SearchHelper {

public Map<String, String> highlightCollapseMap = new HashMap<>() {
{
put("anatomicalExpression", "expression");
put("anatomicalExpressionSlim", "expression");
put("anatomicalExpressionWithParents", "expression");
put("cellularComponentExpression", "expression");
put("cellularComponentExpressionWithParents", "expression");
Expand Down Expand Up @@ -131,8 +131,8 @@ public List<String> getSearchFields() {
add("alleles");
add("alleles.text");
add("alleles.autocomplete");
add("anatomicalExpression");
add("anatomicalExpression.keyword");
add("anatomicalExpressionSlim");
add("anatomicalExpressionSlim.keyword");
add("anatomicalExpressionWithParents");
add("anatomicalExpressionWithParents.keyword");
add("associatedSpecies");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ protected void buildSharedSearchableDocumentMappings() throws IOException {
new FieldBuilder(builder, "object.curie", "text").keyword().sort().build(); // gene_disease_annotation, allele_disease_annotation, agm_disease_annotation
new FieldBuilder(builder, "subject.primaryExternalId", "text").keyword().sort().build(); // gene_disease_annotation, allele_disease_annotation, agm_disease_annotation

new FieldBuilder(builder, "anatomicalExpression", "text").keyword().build(); // gene, dataset
new FieldBuilder(builder, "anatomicalExpressionSlim", "text").keyword().build(); // gene, dataset
new FieldBuilder(builder, "whereExpressed", "text").keyword().build(); // gene, dataset

new FieldBuilder(builder, "associatedSpecies", "text").keyword().synonym().sort().build(); // go, disease
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<maven-checkstyle-plugin.version>3.3.1</maven-checkstyle-plugin.version>
<checkstyle.version>10.17.0</checkstyle.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<curation.version>v0.47.16</curation.version>
<curation.version>v0.47.17</curation.version>
</properties>
<dependencyManagement>
<dependencies>
Expand Down
Loading