Merge pull request #460 from mschoch/morename
BREAKING CHANGE - additional package renaming
This commit is contained in:
commit
c452804e3d
|
@ -11,7 +11,7 @@ package keyword
|
|||
|
||||
import (
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizers/single"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizer/single"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
|
@ -11,8 +11,8 @@ package simple
|
|||
|
||||
import (
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizers/letter"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/lowercase"
|
||||
"github.com/blevesearch/bleve/analysis/token/lowercase"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizer/letter"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
|
@ -12,8 +12,8 @@ package standard
|
|||
import (
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/lang/en"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizers/unicode"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/lowercase"
|
||||
"github.com/blevesearch/bleve/analysis/token/lowercase"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizer/unicode"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
|
@ -12,15 +12,15 @@ package web
|
|||
import (
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/lang/en"
|
||||
webt "github.com/blevesearch/bleve/analysis/tokenizers/web"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/lowercase"
|
||||
"github.com/blevesearch/bleve/analysis/token/lowercase"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizer/web"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
||||
const Name = "web"
|
||||
|
||||
func AnalyzerConstructor(config map[string]interface{}, cache *registry.Cache) (*analysis.Analyzer, error) {
|
||||
tokenizer, err := cache.TokenizerNamed(webt.Name)
|
||||
tokenizer, err := cache.TokenizerNamed(web.Name)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
|
@ -4,7 +4,7 @@ import (
|
|||
"testing"
|
||||
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/analyzers/standard"
|
||||
"github.com/blevesearch/bleve/analysis/analyzer/standard"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
||||
|
|
|
@ -13,9 +13,9 @@ import (
|
|||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
|
||||
"github.com/blevesearch/bleve/analysis/tokenizers/unicode"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/lowercase"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/unicodenorm"
|
||||
"github.com/blevesearch/bleve/analysis/token/lowercase"
|
||||
"github.com/blevesearch/bleve/analysis/token/unicodenorm"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizer/unicode"
|
||||
)
|
||||
|
||||
const AnalyzerName = "ar"
|
||||
|
|
|
@ -11,7 +11,7 @@ package ar
|
|||
|
||||
import (
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/stop"
|
||||
"github.com/blevesearch/bleve/analysis/token/stop"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ package bg
|
|||
|
||||
import (
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/stop"
|
||||
"github.com/blevesearch/bleve/analysis/token/stop"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ import (
|
|||
"fmt"
|
||||
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/elision"
|
||||
"github.com/blevesearch/bleve/analysis/token/elision"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ package ca
|
|||
|
||||
import (
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/stop"
|
||||
"github.com/blevesearch/bleve/analysis/token/stop"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
||||
|
|
|
@ -13,8 +13,8 @@ import (
|
|||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
|
||||
"github.com/blevesearch/bleve/analysis/tokenizers/unicode"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/lowercase"
|
||||
"github.com/blevesearch/bleve/analysis/token/lowercase"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizer/unicode"
|
||||
)
|
||||
|
||||
const AnalyzerName = "cjk"
|
||||
|
|
|
@ -11,8 +11,8 @@ package ckb
|
|||
|
||||
import (
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizers/unicode"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/lowercase"
|
||||
"github.com/blevesearch/bleve/analysis/token/lowercase"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizer/unicode"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ import (
|
|||
"testing"
|
||||
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizers/single"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizer/single"
|
||||
)
|
||||
|
||||
func TestSoraniStemmerFilter(t *testing.T) {
|
||||
|
|
|
@ -11,7 +11,7 @@ package ckb
|
|||
|
||||
import (
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/stop"
|
||||
"github.com/blevesearch/bleve/analysis/token/stop"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ package cs
|
|||
|
||||
import (
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/stop"
|
||||
"github.com/blevesearch/bleve/analysis/token/stop"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ package el
|
|||
|
||||
import (
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/stop"
|
||||
"github.com/blevesearch/bleve/analysis/token/stop"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
||||
|
|
|
@ -20,9 +20,9 @@ import (
|
|||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
|
||||
"github.com/blevesearch/bleve/analysis/tokenizers/unicode"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/lowercase"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/porter"
|
||||
"github.com/blevesearch/bleve/analysis/token/lowercase"
|
||||
"github.com/blevesearch/bleve/analysis/token/porter"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizer/unicode"
|
||||
)
|
||||
|
||||
const AnalyzerName = "en"
|
||||
|
|
|
@ -11,7 +11,7 @@ package en
|
|||
|
||||
import (
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/stop"
|
||||
"github.com/blevesearch/bleve/analysis/token/stop"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ package eu
|
|||
|
||||
import (
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/stop"
|
||||
"github.com/blevesearch/bleve/analysis/token/stop"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
||||
|
|
|
@ -15,8 +15,8 @@ import (
|
|||
|
||||
"github.com/blevesearch/bleve/analysis/char/zerowidthnonjoiner"
|
||||
"github.com/blevesearch/bleve/analysis/lang/ar"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizers/unicode"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/lowercase"
|
||||
"github.com/blevesearch/bleve/analysis/token/lowercase"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizer/unicode"
|
||||
)
|
||||
|
||||
const AnalyzerName = "fa"
|
||||
|
|
|
@ -11,7 +11,7 @@ package fa
|
|||
|
||||
import (
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/stop"
|
||||
"github.com/blevesearch/bleve/analysis/token/stop"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
||||
|
|
|
@ -13,8 +13,8 @@ import (
|
|||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
|
||||
"github.com/blevesearch/bleve/analysis/tokenizers/unicode"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/lowercase"
|
||||
"github.com/blevesearch/bleve/analysis/token/lowercase"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizer/unicode"
|
||||
)
|
||||
|
||||
const AnalyzerName = "fr"
|
||||
|
|
|
@ -13,7 +13,7 @@ import (
|
|||
"fmt"
|
||||
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/elision"
|
||||
"github.com/blevesearch/bleve/analysis/token/elision"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ package fr
|
|||
|
||||
import (
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/stop"
|
||||
"github.com/blevesearch/bleve/analysis/token/stop"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ import (
|
|||
"fmt"
|
||||
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/elision"
|
||||
"github.com/blevesearch/bleve/analysis/token/elision"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ package ga
|
|||
|
||||
import (
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/stop"
|
||||
"github.com/blevesearch/bleve/analysis/token/stop"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ package gl
|
|||
|
||||
import (
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/stop"
|
||||
"github.com/blevesearch/bleve/analysis/token/stop"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
||||
|
|
|
@ -14,8 +14,8 @@ import (
|
|||
"github.com/blevesearch/bleve/registry"
|
||||
|
||||
"github.com/blevesearch/bleve/analysis/lang/in"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizers/unicode"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/lowercase"
|
||||
"github.com/blevesearch/bleve/analysis/token/lowercase"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizer/unicode"
|
||||
)
|
||||
|
||||
const AnalyzerName = "hi"
|
||||
|
|
|
@ -11,7 +11,7 @@ package hi
|
|||
|
||||
import (
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/stop"
|
||||
"github.com/blevesearch/bleve/analysis/token/stop"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ package hy
|
|||
|
||||
import (
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/stop"
|
||||
"github.com/blevesearch/bleve/analysis/token/stop"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ package id
|
|||
|
||||
import (
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/stop"
|
||||
"github.com/blevesearch/bleve/analysis/token/stop"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
||||
|
|
|
@ -13,8 +13,8 @@ import (
|
|||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
|
||||
"github.com/blevesearch/bleve/analysis/tokenizers/unicode"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/lowercase"
|
||||
"github.com/blevesearch/bleve/analysis/token/lowercase"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizer/unicode"
|
||||
)
|
||||
|
||||
const AnalyzerName = "it"
|
||||
|
|
|
@ -13,7 +13,7 @@ import (
|
|||
"fmt"
|
||||
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/elision"
|
||||
"github.com/blevesearch/bleve/analysis/token/elision"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ package it
|
|||
|
||||
import (
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/stop"
|
||||
"github.com/blevesearch/bleve/analysis/token/stop"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
||||
|
|
|
@ -13,8 +13,8 @@ import (
|
|||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
|
||||
"github.com/blevesearch/bleve/analysis/tokenizers/unicode"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/lowercase"
|
||||
"github.com/blevesearch/bleve/analysis/token/lowercase"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizer/unicode"
|
||||
)
|
||||
|
||||
const AnalyzerName = "pt"
|
||||
|
|
|
@ -11,7 +11,7 @@ package pt
|
|||
|
||||
import (
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/tokens/stop"
|
||||
"github.com/blevesearch/bleve/analysis/token/stop"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
"testing"
|
||||
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
_ "github.com/blevesearch/bleve/analysis/tokenizers/unicode"
|
||||
_ "github.com/blevesearch/bleve/analysis/tokenizer/unicode"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
|
@ -13,7 +13,7 @@ import (
|
|||
"unicode"
|
||||
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizers/character"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizer/character"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
|
@ -14,8 +14,8 @@ import (
|
|||
"strings"
|
||||
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizers/exception"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizers/unicode"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizer/exception"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizer/unicode"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
|
@ -13,7 +13,7 @@ import (
|
|||
"unicode"
|
||||
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizers/character"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizer/character"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
)
|
||||
|
|
@ -14,7 +14,7 @@ import (
|
|||
"testing"
|
||||
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizers/character"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizer/character"
|
||||
)
|
||||
|
||||
func TestBoundary(t *testing.T) {
|
|
@ -19,7 +19,7 @@ import (
|
|||
"github.com/blevesearch/bleve/index/store/gtreap"
|
||||
"github.com/blevesearch/bleve/index/upsidedown"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
"github.com/blevesearch/bleve/search/highlight/highlighters/html"
|
||||
"github.com/blevesearch/bleve/search/highlight/highlighter/html"
|
||||
)
|
||||
|
||||
var bleveExpVar = expvar.NewMap("bleve")
|
||||
|
|
|
@ -18,12 +18,12 @@ import (
|
|||
_ "github.com/blevesearch/bleve/search/highlight/format/html"
|
||||
|
||||
// fragmenters
|
||||
_ "github.com/blevesearch/bleve/search/highlight/fragmenters/simple"
|
||||
_ "github.com/blevesearch/bleve/search/highlight/fragmenter/simple"
|
||||
|
||||
// highlighters
|
||||
_ "github.com/blevesearch/bleve/search/highlight/highlighters/ansi"
|
||||
_ "github.com/blevesearch/bleve/search/highlight/highlighters/html"
|
||||
_ "github.com/blevesearch/bleve/search/highlight/highlighters/simple"
|
||||
_ "github.com/blevesearch/bleve/search/highlight/highlighter/ansi"
|
||||
_ "github.com/blevesearch/bleve/search/highlight/highlighter/html"
|
||||
_ "github.com/blevesearch/bleve/search/highlight/highlighter/simple"
|
||||
|
||||
// char filters
|
||||
_ "github.com/blevesearch/bleve/analysis/char/html"
|
||||
|
@ -31,33 +31,33 @@ import (
|
|||
_ "github.com/blevesearch/bleve/analysis/char/zerowidthnonjoiner"
|
||||
|
||||
// analyzers
|
||||
_ "github.com/blevesearch/bleve/analysis/analyzers/custom"
|
||||
_ "github.com/blevesearch/bleve/analysis/analyzers/keyword"
|
||||
_ "github.com/blevesearch/bleve/analysis/analyzers/simple"
|
||||
_ "github.com/blevesearch/bleve/analysis/analyzers/standard"
|
||||
_ "github.com/blevesearch/bleve/analysis/analyzers/web"
|
||||
_ "github.com/blevesearch/bleve/analysis/analyzer/custom"
|
||||
_ "github.com/blevesearch/bleve/analysis/analyzer/keyword"
|
||||
_ "github.com/blevesearch/bleve/analysis/analyzer/simple"
|
||||
_ "github.com/blevesearch/bleve/analysis/analyzer/standard"
|
||||
_ "github.com/blevesearch/bleve/analysis/analyzer/web"
|
||||
|
||||
// token filters
|
||||
_ "github.com/blevesearch/bleve/analysis/tokens/apostrophe"
|
||||
_ "github.com/blevesearch/bleve/analysis/tokens/compound"
|
||||
_ "github.com/blevesearch/bleve/analysis/tokens/edgengram"
|
||||
_ "github.com/blevesearch/bleve/analysis/tokens/elision"
|
||||
_ "github.com/blevesearch/bleve/analysis/tokens/keyword"
|
||||
_ "github.com/blevesearch/bleve/analysis/tokens/length"
|
||||
_ "github.com/blevesearch/bleve/analysis/tokens/lowercase"
|
||||
_ "github.com/blevesearch/bleve/analysis/tokens/ngram"
|
||||
_ "github.com/blevesearch/bleve/analysis/tokens/shingle"
|
||||
_ "github.com/blevesearch/bleve/analysis/tokens/stop"
|
||||
_ "github.com/blevesearch/bleve/analysis/tokens/truncate"
|
||||
_ "github.com/blevesearch/bleve/analysis/tokens/unicodenorm"
|
||||
_ "github.com/blevesearch/bleve/analysis/token/apostrophe"
|
||||
_ "github.com/blevesearch/bleve/analysis/token/compound"
|
||||
_ "github.com/blevesearch/bleve/analysis/token/edgengram"
|
||||
_ "github.com/blevesearch/bleve/analysis/token/elision"
|
||||
_ "github.com/blevesearch/bleve/analysis/token/keyword"
|
||||
_ "github.com/blevesearch/bleve/analysis/token/length"
|
||||
_ "github.com/blevesearch/bleve/analysis/token/lowercase"
|
||||
_ "github.com/blevesearch/bleve/analysis/token/ngram"
|
||||
_ "github.com/blevesearch/bleve/analysis/token/shingle"
|
||||
_ "github.com/blevesearch/bleve/analysis/token/stop"
|
||||
_ "github.com/blevesearch/bleve/analysis/token/truncate"
|
||||
_ "github.com/blevesearch/bleve/analysis/token/unicodenorm"
|
||||
|
||||
// tokenizers
|
||||
_ "github.com/blevesearch/bleve/analysis/tokenizers/exception"
|
||||
_ "github.com/blevesearch/bleve/analysis/tokenizers/regexp"
|
||||
_ "github.com/blevesearch/bleve/analysis/tokenizers/single"
|
||||
_ "github.com/blevesearch/bleve/analysis/tokenizers/unicode"
|
||||
_ "github.com/blevesearch/bleve/analysis/tokenizers/web"
|
||||
_ "github.com/blevesearch/bleve/analysis/tokenizers/whitespace"
|
||||
_ "github.com/blevesearch/bleve/analysis/tokenizer/exception"
|
||||
_ "github.com/blevesearch/bleve/analysis/tokenizer/regexp"
|
||||
_ "github.com/blevesearch/bleve/analysis/tokenizer/single"
|
||||
_ "github.com/blevesearch/bleve/analysis/tokenizer/unicode"
|
||||
_ "github.com/blevesearch/bleve/analysis/tokenizer/web"
|
||||
_ "github.com/blevesearch/bleve/analysis/tokenizer/whitespace"
|
||||
|
||||
// date time parsers
|
||||
_ "github.com/blevesearch/bleve/analysis/datetime/flexible"
|
||||
|
|
|
@ -17,7 +17,7 @@ import (
|
|||
|
||||
"github.com/blevesearch/bleve/mapping"
|
||||
"github.com/blevesearch/bleve/search"
|
||||
"github.com/blevesearch/bleve/search/highlight/highlighters/ansi"
|
||||
"github.com/blevesearch/bleve/search/highlight/highlighter/ansi"
|
||||
)
|
||||
|
||||
var indexMapping mapping.IndexMapping
|
||||
|
|
|
@ -3,7 +3,7 @@ package smolder
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/blevesearch/bleve/analysis/analyzers/standard"
|
||||
"github.com/blevesearch/bleve/analysis/analyzer/standard"
|
||||
"github.com/blevesearch/bleve/document"
|
||||
"github.com/blevesearch/bleve/index"
|
||||
"github.com/blevesearch/bleve/index/store/null"
|
||||
|
|
|
@ -14,7 +14,7 @@ import (
|
|||
"strconv"
|
||||
"testing"
|
||||
|
||||
_ "github.com/blevesearch/bleve/analysis/analyzers/standard"
|
||||
_ "github.com/blevesearch/bleve/analysis/analyzer/standard"
|
||||
"github.com/blevesearch/bleve/document"
|
||||
"github.com/blevesearch/bleve/index"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
|
|
|
@ -19,8 +19,8 @@ import (
|
|||
"time"
|
||||
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/analyzers/standard"
|
||||
regexpTokenizer "github.com/blevesearch/bleve/analysis/tokenizers/regexp"
|
||||
"github.com/blevesearch/bleve/analysis/analyzer/standard"
|
||||
regexpTokenizer "github.com/blevesearch/bleve/analysis/tokenizer/regexp"
|
||||
"github.com/blevesearch/bleve/document"
|
||||
"github.com/blevesearch/bleve/index"
|
||||
"github.com/blevesearch/bleve/index/store/boltdb"
|
||||
|
|
|
@ -3,7 +3,7 @@ package upsidedown
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/blevesearch/bleve/analysis/analyzers/standard"
|
||||
"github.com/blevesearch/bleve/analysis/analyzer/standard"
|
||||
"github.com/blevesearch/bleve/document"
|
||||
"github.com/blevesearch/bleve/index"
|
||||
"github.com/blevesearch/bleve/index/store/null"
|
||||
|
|
|
@ -14,7 +14,7 @@ import (
|
|||
"strconv"
|
||||
"testing"
|
||||
|
||||
_ "github.com/blevesearch/bleve/analysis/analyzers/standard"
|
||||
_ "github.com/blevesearch/bleve/analysis/analyzer/standard"
|
||||
"github.com/blevesearch/bleve/document"
|
||||
"github.com/blevesearch/bleve/index"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
|
|
|
@ -19,8 +19,8 @@ import (
|
|||
"time"
|
||||
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/analyzers/standard"
|
||||
regexpTokenizer "github.com/blevesearch/bleve/analysis/tokenizers/regexp"
|
||||
"github.com/blevesearch/bleve/analysis/analyzer/standard"
|
||||
regexpTokenizer "github.com/blevesearch/bleve/analysis/tokenizer/regexp"
|
||||
"github.com/blevesearch/bleve/document"
|
||||
"github.com/blevesearch/bleve/index"
|
||||
"github.com/blevesearch/bleve/index/store/boltdb"
|
||||
|
|
|
@ -26,8 +26,8 @@ import (
|
|||
"github.com/blevesearch/bleve/mapping"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
"github.com/blevesearch/bleve/search"
|
||||
"github.com/blevesearch/bleve/search/collectors"
|
||||
"github.com/blevesearch/bleve/search/facets"
|
||||
"github.com/blevesearch/bleve/search/collector"
|
||||
"github.com/blevesearch/bleve/search/facet"
|
||||
"github.com/blevesearch/bleve/search/highlight"
|
||||
)
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ import (
|
|||
|
||||
"strconv"
|
||||
|
||||
"github.com/blevesearch/bleve/analysis/analyzers/keyword"
|
||||
"github.com/blevesearch/bleve/analysis/analyzer/keyword"
|
||||
"github.com/blevesearch/bleve/index"
|
||||
"github.com/blevesearch/bleve/index/store/null"
|
||||
"github.com/blevesearch/bleve/mapping"
|
||||
|
|
|
@ -14,7 +14,7 @@ import (
|
|||
"fmt"
|
||||
|
||||
"github.com/blevesearch/bleve/analysis"
|
||||
"github.com/blevesearch/bleve/analysis/analyzers/standard"
|
||||
"github.com/blevesearch/bleve/analysis/analyzer/standard"
|
||||
"github.com/blevesearch/bleve/analysis/datetime/optional"
|
||||
"github.com/blevesearch/bleve/document"
|
||||
"github.com/blevesearch/bleve/registry"
|
||||
|
|
|
@ -15,8 +15,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/blevesearch/bleve/analysis/tokenizers/exception"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizers/regexp"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizer/exception"
|
||||
"github.com/blevesearch/bleve/analysis/tokenizer/regexp"
|
||||
"github.com/blevesearch/bleve/document"
|
||||
)
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue