Commit 6d8fd0ea authored by Rob Tomsick's avatar Rob Tomsick

Don't limit exact text searches

parent 7c1aa51e
......@@ -171,7 +171,6 @@ implements DictionaryService
.select(nf)
.from(N_TABLE)
.where(nf.containsIgnoreCase(query))
.limit(limit)
.fetch(r -> new Drug(r.get(nf).toUpperCase()))
.stream()
.collect(Collectors.toCollection(HashSet :: new));
......@@ -215,7 +214,6 @@ implements DictionaryService
ids.addAll(this.ctx.select(field(name("id"), UUID.class))
.from(D_TABLE)
.where(field(name("proprietary_name"), String.class).containsIgnoreCase(query))
.limit(limit)
.fetch(field(name("id"), UUID.class)));
/* fuzzy hash search over proprietary names */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment