trailing wildcard search on split uris

This commit is contained in:
Kyle Spearrin 2018-08-21 09:04:52 -04:00
parent 9cfd693576
commit 75d4db81f7
1 changed files with 1 additions and 0 deletions

View File

@ -133,6 +133,7 @@ export class SearchService implements SearchServiceAbstraction {
q.term(query, { fields: ['name'], wildcard: soWild });
q.term(query, { fields: ['subTitle'], wildcard: soWild });
q.term(query, { fields: ['login.uris'], wildcard: soWild });
q.term(query, { fields: ['login.uris_split'], wildcard: soWild });
lunr.tokenizer(query).forEach((token) => {
q.term(token.toString(), {});
});