[DS-1683] Add spell checker to discovery

This commit is contained in:
KevinVdV
2013-10-04 10:26:38 +02:00
parent 3db23c0987
commit 7dbd71543b
14 changed files with 185 additions and 31 deletions

View File

@@ -27,6 +27,7 @@ public class DiscoverResult {
private int maxResults = -1;
private int searchTime;
private Map<String, DSpaceObjectHighlightResult> highlightedResults;
private String spellCheckQuery;
public DiscoverResult() {
@@ -150,6 +151,14 @@ public class DiscoverResult {
}
}
public String getSpellCheckQuery() {
return spellCheckQuery;
}
public void setSpellCheckQuery(String spellCheckQuery) {
this.spellCheckQuery = spellCheckQuery;
}
public static final class DSpaceObjectHighlightResult
{
private DSpaceObject dso;