Signed-off-by: Valerian Saliou <valerian@valeriansaliou.name>
This commit is contained in:
Valerian Saliou
2019-03-23 23:26:46 +01:00
parent f788fda3f3
commit c02942dc19
128 changed files with 137 additions and 151 deletions

View File

@@ -3,7 +3,7 @@ name = "sonic-server"
version = "1.1.0"
description = "Fast, lightweight and schema-less search backend."
readme = "README.md"
license-file = "LICENSE.md"
license = "MPL-2.0"
edition = "2018"
homepage = "https://github.com/valeriansaliou/sonic"
repository = "https://github.com/valeriansaliou/sonic.git"

View File

@@ -1,20 +1,5 @@
Sonic OSS License Version 1.0
=============================
0. Important Points
-------------------
0.1. This license is based on Mozilla Public License 2.0. It has been
renamed and modified according to the terms of MPL 2.0. The license
steward has also been changed, according to the terms of MPL 2.0.
0.2. Re-selling of the software is forbidden. It means that it is forbidden
to sell a service that builds its core value on the software. The
software can be used for commercial purposes, but it should not be sold
as-a-service (to make things clear, you are not allowed to build an
Algolia competitor based on the licensed source code; ie. Algolia is
an hosted search service sold as a SaaS). This statement does not apply
for core project contributors.
Mozilla Public License Version 2.0
==================================
1. Definitions
--------------
@@ -333,10 +318,10 @@ shall not be used to construe this License against a Contributor.
10.1. New Versions
Valerian Saliou (a natural person) is the license steward. Except as
provided in Sectio 10.3, no one other than the license steward has
the right to modify or publish new versions of this License. Each
version will be given a distinguishing version number.
Mozilla Foundation is the license steward. Except as provided in Section
10.3, no one other than the license steward has the right to modify or
publish new versions of this License. Each version will be given a
distinguishing version number.
10.2. Effect of New Versions
@@ -363,8 +348,9 @@ notice described in Exhibit B of this License must be attached.
Exhibit A - Source Code Form License Notice
-------------------------------------------
This Source Code Form is subject to the terms of the Sonic OSS
License, v. 1.0.
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
If it is not possible or desirable to put the notice in a particular
file, then You may include the notice in a location (such as a LICENSE
@@ -377,4 +363,4 @@ Exhibit B - "Incompatible With Secondary Licenses" Notice
---------------------------------------------------------
This Source Code Form is "Incompatible With Secondary Licenses", as
defined by the Sonic OSS License, v. 1.0.
defined by the Mozilla Public License, v. 2.0.

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
use hashbrown::HashMap;
use rand::distributions::Alphanumeric;

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub fn unescape(text: &str) -> String {
// Pre-reserve a byte-aware required capacity as to avoid heap resizes (30% performance \

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
use std::io::{ErrorKind, Read, Write};
use std::net::TcpStream;

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
use std::net::TcpListener;
use std::process;

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
#[macro_export]
macro_rules! gen_channel_message_mode_handle {

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
use std::io::Write;
use std::net::TcpStream;

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
#[macro_use]
mod macros;

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub enum ChannelMode {
Search,

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
use std::net::SocketAddr;
use std::path::PathBuf;

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
use std::net::SocketAddr;
use std::path::PathBuf;

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
use log;
use log::{Level, LevelFilter, Metadata, Record, SetLoggerError};

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
mod defaults;

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
use std::fs::File;
use std::io::Read;

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
use crate::store::fst::StoreFSTPool;
use crate::store::fst::{StoreFSTActionBuilder, StoreFSTMisc};

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
use crate::store::fst::StoreFSTActionBuilder;
use crate::store::item::StoreItem;

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
use crate::store::fst::StoreFSTActionBuilder;
use crate::store::item::StoreItem;

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
use crate::store::item::StoreItem;
use crate::store::kv::{StoreKVAcquireMode, StoreKVActionBuilder, StoreKVPool};

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
#[macro_export]
macro_rules! executor_ensure_op {

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
#[macro_use]
mod macros;

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
use linked_hash_set::LinkedHashSet;
use std::iter::FromIterator;

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
use linked_hash_set::LinkedHashSet;
use std::iter::FromIterator;

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
use linked_hash_set::LinkedHashSet;
use std::iter::FromIterator;

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
use crate::lexer::token::TokenLexer;
use crate::query::types::{QuerySearchID, QuerySearchLimit};

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
mod stopwords;

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
use hashbrown::HashSet;
use whatlang::{Lang, Script};

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
use hashbrown::HashSet;
use std::time::Instant;

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
#![cfg_attr(feature = "benchmark", feature(test))]

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
use super::query::Query;
use crate::lexer::token::{TokenLexerBuilder, TokenLexerMode};

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub mod builder;
pub mod query;

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
use super::types::*;
use crate::lexer::token::TokenLexer;

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub type QuerySearchID<'a> = &'a str;
pub type QuerySearchLimit = u16;

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_AFR: &[&'static str] = &[
"'n", "aan", "af", "al", "as", "baie", "by", "daar", "dag", "dat", "die", "dit", "een", "ek",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
// Notice: we do not have stopwords for this language yet.
pub static STOPWORDS_AKA: &[&'static str] = &[];

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
// Notice: we do not have stopwords for this language yet.
pub static STOPWORDS_AMH: &[&'static str] = &[];

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_ARB: &[&'static str] = &[
"،",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_AZJ: &[&'static str] = &[
"a",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
// Notice: we do not have stopwords for this language yet.
pub static STOPWORDS_BEL: &[&'static str] = &[];

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_BEN: &[&'static str] = &[
"অতএব",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
// Notice: we do not have stopwords for this language yet.
pub static STOPWORDS_BHO: &[&'static str] = &[];

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_BUL: &[&'static str] = &[
"ð°",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
// Notice: we do not have stopwords for this language yet.
pub static STOPWORDS_CEB: &[&'static str] = &[];

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_CES: &[&'static str] = &[
"a",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_CMN: &[&'static str] = &[
"",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_DAN: &[&'static str] = &[
"ad", "af", "aldrig", "alle", "alt", "anden", "andet", "andre", "at", "bare", "begge", "blev",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_DEU: &[&'static str] = &[
"a",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_ELL: &[&'static str] = &[
"αλλα",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_ENG: &[&'static str] = &[
"'ll",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_EPO: &[&'static str] = &[
"adiaŭ",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_EST: &[&'static str] = &[
"aga", "ei", "et", "ja", "jah", "kas", "kui", "kõik", "ma", "me", "mida", "midagi", "mind",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_FIN: &[&'static str] = &[
"aiemmin",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_FRA: &[&'static str] = &[
"a",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
// Notice: we do not have stopwords for this language yet.
pub static STOPWORDS_GUJ: &[&'static str] = &[];

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
// Notice: we do not have stopwords for this language yet.
pub static STOPWORDS_HAT: &[&'static str] = &[];

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_HAU: &[&'static str] = &[
"a", "amma", "ba", "ban", "ce", "cikin", "da", "don", "ga", "in", "ina", "ita", "ji", "ka",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_HEB: &[&'static str] = &[
"אבל",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_HIN: &[&'static str] = &[
"अंदर",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_HRV: &[&'static str] = &[
"a", "ako", "ali", "bi", "bih", "bila", "bili", "bilo", "bio", "bismo", "biste", "biti",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_HUN: &[&'static str] = &[
"a",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
// Notice: we do not have stopwords for this language yet.
pub static STOPWORDS_IBO: &[&'static str] = &[];

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
// Notice: we do not have stopwords for this language yet.
pub static STOPWORDS_ILO: &[&'static str] = &[];

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_IND: &[&'static str] = &[
"ada",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_ITA: &[&'static str] = &[
"a",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
// Notice: we do not have stopwords for this language yet.
pub static STOPWORDS_JAV: &[&'static str] = &[];

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_JPN: &[&'static str] = &[
"あそこ",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
// Notice: we do not have stopwords for this language yet.
pub static STOPWORDS_KAN: &[&'static str] = &[];

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
// Notice: we do not have stopwords for this language yet.
pub static STOPWORDS_KAT: &[&'static str] = &[];

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_KHM: &[&'static str] = &[
"",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
// Notice: we do not have stopwords for this language yet.
pub static STOPWORDS_KIN: &[&'static str] = &[];

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_KOR: &[&'static str] = &[
"!",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_KUR: &[&'static str] = &[
"ئێمە",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_LAV: &[&'static str] = &[
"aiz",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_LIT: &[&'static str] = &[
"abi",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
// Notice: we do not have stopwords for this language yet.
pub static STOPWORDS_MAI: &[&'static str] = &[];

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
// Notice: we do not have stopwords for this language yet.
pub static STOPWORDS_MAL: &[&'static str] = &[];

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_MAR: &[&'static str] = &[
"अधिक",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
// Notice: we do not have stopwords for this language yet.
pub static STOPWORDS_MKD: &[&'static str] = &[];

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
// Notice: we do not have stopwords for this language yet.
pub static STOPWORDS_MLG: &[&'static str] = &[];

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
// All stopwords are sourced from: https://github.com/stopwords-iso
// Last update: 7th March 2019

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_MYA: &[&'static str] = &[
"အပေါ်",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_NEP: &[&'static str] = &[
"",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_NLD: &[&'static str] = &[
"aan",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
// Notice: we do not have stopwords for this language yet.
pub static STOPWORDS_NNO: &[&'static str] = &[];

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
// Notice: we do not have stopwords for this language yet.
pub static STOPWORDS_NOB: &[&'static str] = &[];

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
// Notice: we do not have stopwords for this language yet.
pub static STOPWORDS_NYA: &[&'static str] = &[];

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
// Notice: we do not have stopwords for this language yet.
pub static STOPWORDS_ORI: &[&'static str] = &[];

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
// Notice: we do not have stopwords for this language yet.
pub static STOPWORDS_ORM: &[&'static str] = &[];

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_PAN: &[&'static str] = &[
"ਦੇ",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_PES: &[&'static str] = &[
"!",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_POL: &[&'static str] = &[
"a",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_POR: &[&'static str] = &[
"a",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_RON: &[&'static str] = &[
"a",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
// Notice: we do not have stopwords for this language yet.
pub static STOPWORDS_RUN: &[&'static str] = &[];

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_RUS: &[&'static str] = &[
"c",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
// Notice: we do not have stopwords for this language yet.
pub static STOPWORDS_SIN: &[&'static str] = &[];

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
// Notice: we do not have stopwords for this language yet.
pub static STOPWORDS_SKR: &[&'static str] = &[];

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_SLV: &[&'static str] = &[
"a",

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
// Notice: we do not have stopwords for this language yet.
pub static STOPWORDS_SNA: &[&'static str] = &[];

View File

@@ -2,7 +2,7 @@
//
// Fast, lightweight and schema-less search backend
// Copyright: 2019, Valerian Saliou <valerian@valeriansaliou.name>
// License: Sonic OSS License v1.0 (SOSSL v1.0)
// License: Mozilla Public License v2.0 (MPL v2.0)
pub static STOPWORDS_SOM: &[&'static str] = &[
"aad",

Some files were not shown because too many files have changed in this diff Show More