summaryrefslogtreecommitdiff
path: root/core/src/main/java/org/elasticsearch/index/query/RegexpFlag.java
diff options
context:
space:
mode:
authorAreek Zillur <areek.zillur@elasticsearch.com>2015-10-31 01:59:21 -0400
committerAreek Zillur <areek.zillur@elasticsearch.com>2015-11-07 17:46:27 -0500
commitdd1c687ace953c82f3671363dd077c1c99b1fc8e (patch)
tree383402288e296ca292926a1813c51e3d334c2f4f /core/src/main/java/org/elasticsearch/index/query/RegexpFlag.java
parentd0f5950c80044bd174629cf9da8cf8e1b97084dd (diff)
Completion Suggester V2
The completion suggester provides auto-complete/search-as-you-type functionality. This is a navigational feature to guide users to relevant results as they are typing, improving search precision. It is not meant for spell correction or did-you-mean functionality like the term or phrase suggesters. The completions are indexed as a weighted FST (finite state transducer) to provide fast Top N prefix-based searches suitable for serving relevant results as a user types. closes #10746
Diffstat (limited to 'core/src/main/java/org/elasticsearch/index/query/RegexpFlag.java')
-rw-r--r--core/src/main/java/org/elasticsearch/index/query/RegexpFlag.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/java/org/elasticsearch/index/query/RegexpFlag.java b/core/src/main/java/org/elasticsearch/index/query/RegexpFlag.java
index 45f58c47da..1ebf44e23f 100644
--- a/core/src/main/java/org/elasticsearch/index/query/RegexpFlag.java
+++ b/core/src/main/java/org/elasticsearch/index/query/RegexpFlag.java
@@ -108,7 +108,7 @@ public enum RegexpFlag {
* @param flags A string representing a list of regular expression flags
* @return The combined OR'ed value for all the flags
*/
- static int resolveValue(String flags) {
+ public static int resolveValue(String flags) {
if (flags == null || flags.isEmpty()) {
return RegExp.ALL;
}