mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 05:18:58 +00:00
(search) Remove dead code
This commit is contained in:
parent
f9320995d6
commit
c80d3eb812
@ -97,13 +97,6 @@ public class UrlDetails {
|
|||||||
return getFeatureScore()*Math.sqrt(1+rankingId)/Math.max(1E-10, lengthAdjustment *(0.7+0.3*Math.exp(urlQualityAdjustment.getScore())));
|
return getFeatureScore()*Math.sqrt(1+rankingId)/Math.max(1E-10, lengthAdjustment *(0.7+0.3*Math.exp(urlQualityAdjustment.getScore())));
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getGeminiLink() {
|
|
||||||
return url.proto + "://" + url.domain.toString() + url.path.replace(" ", "%20").replace("\"", "%22");
|
|
||||||
}
|
|
||||||
public String getGeminiDescription() {
|
|
||||||
return description.trim();
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean isPlainText() {
|
public boolean isPlainText() {
|
||||||
return "PLAIN".equals(format);
|
return "PLAIN".equals(format);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user