added build tag 'icu' to enable functionality dependent on it
This commit is contained in:
parent
21ef6e9878
commit
e8959d03ae
|
@ -6,6 +6,9 @@
|
|||
// License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
// either express or implied. See the License for the specific language governing permissions
|
||||
// and limitations under the License.
|
||||
|
||||
// +build icu full
|
||||
|
||||
package ckb
|
||||
|
||||
import (
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
// License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
// either express or implied. See the License for the specific language governing permissions
|
||||
// and limitations under the License.
|
||||
|
||||
// +build icu full
|
||||
|
||||
package ckb
|
||||
|
||||
import (
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package da
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package da
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package de
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package de
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package en
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package en
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package es
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package es
|
||||
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
// License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
// either express or implied. See the License for the specific language governing permissions
|
||||
// and limitations under the License.
|
||||
|
||||
// +build icu full
|
||||
|
||||
package fa
|
||||
|
||||
import (
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
// License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
// either express or implied. See the License for the specific language governing permissions
|
||||
// and limitations under the License.
|
||||
|
||||
// +build icu full
|
||||
|
||||
package fa
|
||||
|
||||
import (
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package fi
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package fi
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package fr
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package fr
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package hu
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package hu
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package it
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package it
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package nl
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package nl
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package no
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package no
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package pt
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package pt
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package ro
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package ro
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package ru
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package ru
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package sv
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package sv
|
||||
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
// License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
// either express or implied. See the License for the specific language governing permissions
|
||||
// and limitations under the License.
|
||||
|
||||
// +build icu full
|
||||
|
||||
package th
|
||||
|
||||
import (
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
// License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
// either express or implied. See the License for the specific language governing permissions
|
||||
// and limitations under the License.
|
||||
|
||||
// +build icu full
|
||||
|
||||
package th
|
||||
|
||||
import (
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
// License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
// either express or implied. See the License for the specific language governing permissions
|
||||
// and limitations under the License.
|
||||
|
||||
// +build icu full
|
||||
|
||||
package th
|
||||
|
||||
import (
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package tr
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package tr
|
||||
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
// License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
// either express or implied. See the License for the specific language governing permissions
|
||||
// and limitations under the License.
|
||||
|
||||
// +build icu full
|
||||
|
||||
package unicode_word_boundary
|
||||
|
||||
// #cgo LDFLAGS: -licuuc -licudata
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
// License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
// either express or implied. See the License for the specific language governing permissions
|
||||
// and limitations under the License.
|
||||
|
||||
// +build icu full
|
||||
|
||||
package unicode_word_boundary
|
||||
|
||||
import (
|
||||
|
|
|
@ -39,7 +39,6 @@ import (
|
|||
// tokenizers
|
||||
_ "github.com/couchbaselabs/bleve/analysis/tokenizers/regexp_tokenizer"
|
||||
_ "github.com/couchbaselabs/bleve/analysis/tokenizers/single_token"
|
||||
_ "github.com/couchbaselabs/bleve/analysis/tokenizers/unicode_word_boundary"
|
||||
_ "github.com/couchbaselabs/bleve/analysis/tokenizers/whitespace_tokenizer"
|
||||
|
||||
// date time parsers
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
// Copyright (c) 2014 Couchbase, Inc.
|
||||
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
|
||||
// except in compliance with the License. You may obtain a copy of the License at
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// Unless required by applicable law or agreed to in writing, software distributed under the
|
||||
// License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
// either express or implied. See the License for the specific language governing permissions
|
||||
// and limitations under the License.
|
||||
|
||||
// +build icu full
|
||||
|
||||
package bleve
|
||||
|
||||
import (
|
||||
_ "github.com/couchbaselabs/bleve/analysis/tokenizers/unicode_word_boundary"
|
||||
)
|
|
@ -8,6 +8,8 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build cld2 full
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package main
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// and limitations under the License.
|
||||
|
||||
// +build libstemmer full
|
||||
// +build icu full
|
||||
|
||||
package bleve
|
||||
|
||||
|
|
Loading…
Reference in New Issue