searchColumn = "DOCUMENT.FULLTEXT$FULLTEXT";
}else {
searchColumn = "DOCUMENT.TEXT$FULLTEXT";
}
try {
<BUG>filter = new JSONObject(context.getString("filter"));
if(filter.has("word")) {
String word = filter.getString("word");
</BUG>
if(!word.isEmpty()) {

searchColumn = "DOCUMENT.FULLTEXT$FULLTEXT";
}else {
searchColumn = "DOCUMENT.TEXT$FULLTEXT";
}
try {
filter = new JSONObject(context.getString("filter"));
MySQLEncoder me = new MySQLEncoder();
if(filter.has("word")) {
String word = me.encode(filter.getString("word"));
if(!word.isEmpty()) {
