Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaffter committed Apr 18, 2024
1 parent 73f11af commit 554792a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ public class EdamSectionValueBridge implements ValueBridge<String, String> {
@Override
public String toIndexedValue(String value, ValueBridgeToIndexedValueContext context) {
for (EdamSectionDto section : EdamSectionDto.values()) {
// The first condition is used to map EDAM concept class IDs to concept sections during mass
// indexing. This value bridge is also called when sending search queries to Elasticsearch,
// which is why the second condition is required to map the user input to an existing EDAM
// concept.
// The first condition is used to map EDAM concept class IDs to concept sections when new
// concept are created (e.g. during mass indexing). This value bridge is also called when
// sending search queries to Elasticsearch, which is why the second condition is required to
// map the user input to an existing EDAM concept.
if (value.contains("/" + section.getValue() + "_") || section.getValue().equals(value)) {
return section.getValue();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<include resource="logback-common.xml" />

<logger name="org.hibernate" level="info" />
<logger name="org.hibernate.search.query" level="trace" />
<logger name="org.hibernate.search.query" level="info" />

<!-- <logger name="org.apache.kafka" level="debug" /> -->
</configuration>

0 comments on commit 554792a

Please sign in to comment.