do not prepend asterisks before words in search
An asterisk is a special FTS4 operator when appended to a word but has no special meaning when prepended.
This commit is contained in:
parent
b327548c85
commit
501cdd5edf
|
@ -66,7 +66,7 @@ public class FtsUtils {
|
|||
} else if (term.contains("*") || term.startsWith("-")) {
|
||||
builder.append(term);
|
||||
} else {
|
||||
builder.append('*').append(term).append('*');
|
||||
builder.append(term).append('*');
|
||||
}
|
||||
}
|
||||
return builder.toString();
|
||||
|
|
Loading…
Reference in New Issue