-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
search/bleve: write a custom tokenizer and query creator
the tokenizer is in essence a basic whitespace tokenizer but also splitting on known japanese boundaries by using kagome the query creator is a simple match query but using the correct analyzer this time around (the same as the index creation). the analyzer has been changed to use the new tokenizer and not use shingles anymore. the ngram filter has been changed to not include the original term anymore. some specific handling for cjk has also been removed and instead leans on the new tokenizer and ngram filter (with the removal of the shingles this works reasonably well (so far))
- Loading branch information
Showing
7 changed files
with
371 additions
and
253 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.