Skip to content

Commit 78f14a1

Browse files
committed
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.
1 parent 2245ab7 commit 78f14a1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/main/java/org/codejive/jpm/search/Search.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ public interface Search {
3434

3535
enum Backends {
3636
rest_smo,
37-
rest_csc,
38-
smo_smo,
39-
smo_csc;
37+
rest_csc;
38+
// smo_smo,
39+
// smo_csc;
4040
}
4141

4242
static Search getBackend(Backends backend) {
@@ -46,10 +46,10 @@ static Search getBackend(Backends backend) {
4646
return SearchSolrRestImpl.createSmo();
4747
case rest_csc:
4848
return SearchSolrRestImpl.createCsc();
49-
case smo_smo:
50-
return SearchSmoApiImpl.createSmo();
51-
case smo_csc:
52-
return SearchSmoApiImpl.createCsc();
49+
// case smo_smo:
50+
// return SearchSmoApiImpl.createSmo();
51+
// case smo_csc:
52+
// return SearchSmoApiImpl.createCsc();
5353
}
5454
}
5555
return SearchSolrRestImpl.createSmo();

0 commit comments

Comments
 (0)