-
-
Save umeshdangat/a4c142c8b02d296f2731f3a69dd47e51 to your computer and use it in GitHub Desktop.
Interfaces
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface ScorerFactory { | |
Scorer createScorer(Map<String, Object> params); | |
} | |
public interface Scorer { | |
double score(Document document); | |
} | |
public interface Document { | |
<T> T get(Class<T> clz, String field); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment