Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
chore: disabled smo_smo and smo_csc backends
They use the exact same endpoints as the other two
backends while giving worse results. Just not worth
keeping them around. Won't remove the code yet.
  • Loading branch information
quintesse committed Sep 3, 2025
commit 550f45d79c2484063a6199173f0176cfe45f250d
14 changes: 7 additions & 7 deletions src/main/java/org/codejive/jpm/search/Search.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ public interface Search {

enum Backends {
rest_smo,
rest_csc,
smo_smo,
smo_csc;
rest_csc;
// smo_smo,
// smo_csc;
}

static Search getBackend(Backends backend) {
Expand All @@ -46,10 +46,10 @@ static Search getBackend(Backends backend) {
return SearchSolrRestImpl.createSmo();
case rest_csc:
return SearchSolrRestImpl.createCsc();
case smo_smo:
return SearchSmoApiImpl.createSmo();
case smo_csc:
return SearchSmoApiImpl.createCsc();
// case smo_smo:
// return SearchSmoApiImpl.createSmo();
// case smo_csc:
// return SearchSmoApiImpl.createCsc();
}
}
return SearchSolrRestImpl.createSmo();
Expand Down
Loading