[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

@@ -22,6 +22,7 @@ public class DiscoverQuery {
private List<String> filterQueries;
private int DSpaceObjectFilter = -1;
private List<String> fieldPresentQueries;
private boolean spellCheck;
private int start = 0;
private int maxResults = -1;
@@ -264,4 +265,12 @@ public class DiscoverQuery {
{
this.hitHighlighting.put(hitHighlighting.getField(), hitHighlighting);
}
public boolean isSpellCheck() {
return spellCheck;
}
public void setSpellCheck(boolean spellCheck) {
this.spellCheck = spellCheck;
}
}