mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-14 05:23:14 +00:00
[DS-1683] Add spell checker to discovery
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user