mirror of
https://github.com/nextapps-de/flexsearch.git
synced 2025-08-29 08:40:45 +02:00
update bundle
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Index } from "flexsearch/esm";
|
||||
import { Index } from "flexsearch";
|
||||
|
||||
// you will need to keep the index configuration
|
||||
// they will not export, also every change to the
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { Index } from "flexsearch/esm";
|
||||
import { Index } from "flexsearch";
|
||||
import Sqlite from "flexsearch/db/sqlite";
|
||||
// import Postgres from "flexsearch/db/postgres";
|
||||
// import MongoDB from "flexsearch/db/mongodb";
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { Index } from "flexsearch/esm";
|
||||
import { Index } from "flexsearch";
|
||||
|
||||
// create a simple index which can store id-content-pairs
|
||||
const index = new Index({
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { Index } from "flexsearch/esm";
|
||||
import { Index } from "flexsearch";
|
||||
|
||||
// create a simple index which can store id-content-pairs
|
||||
const index = new Index({
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { Encoder } from "flexsearch/esm";
|
||||
import { Encoder } from "flexsearch";
|
||||
import { promises as fs } from "fs";
|
||||
|
||||
(async function(){
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { Worker as WorkerIndex } from "flexsearch/esm";
|
||||
import { Worker as WorkerIndex } from "flexsearch";
|
||||
const dirname = import.meta.dirname;
|
||||
|
||||
// you will need to keep the index configuration
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { Encoder } from "flexsearch/esm";
|
||||
import { Encoder } from "flexsearch";
|
||||
|
||||
export default {
|
||||
tokenize: "forward",
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { Worker as WorkerIndex } from "flexsearch/esm";
|
||||
import { Worker as WorkerIndex } from "flexsearch";
|
||||
const dirname = import.meta.dirname;
|
||||
|
||||
(async function(){
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { Worker as WorkerIndex } from "flexsearch/esm";
|
||||
import { Worker as WorkerIndex } from "flexsearch";
|
||||
|
||||
(async function(){
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { Index } from "flexsearch/esm";
|
||||
import { Index } from "flexsearch";
|
||||
|
||||
// create a simple index which can store id-content-pairs
|
||||
const index = new Index({
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { Document, Charset } from "flexsearch/esm";
|
||||
import { Document, Charset } from "flexsearch";
|
||||
import { promises as fs } from "fs";
|
||||
|
||||
const dirname = import.meta.dirname;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { Document, Charset } from "flexsearch/esm";
|
||||
import { Document, Charset } from "flexsearch";
|
||||
import { promises as fs } from "fs";
|
||||
const dirname = import.meta.dirname;
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { Encoder, Charset } from "flexsearch/esm";
|
||||
import EnglishPreset from "flexsearch/esm/lang/en";
|
||||
import { Encoder, Charset } from "flexsearch";
|
||||
import EnglishPreset from "flexsearch/lang/en";
|
||||
import { promises as fs } from "fs";
|
||||
|
||||
(async function(){
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { Encoder, Charset } from "flexsearch/esm";
|
||||
import EnglishPreset from "flexsearch/esm/lang/en";
|
||||
import { Encoder, Charset } from "flexsearch";
|
||||
import EnglishPreset from "flexsearch/lang/en";
|
||||
import { promises as fs } from "fs";
|
||||
|
||||
(async function(){
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { Document } from "flexsearch/esm";
|
||||
import { Document } from "flexsearch";
|
||||
import { promises as fs } from "fs";
|
||||
const dirname = import.meta.dirname;
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { Encoder, Charset } from "flexsearch/esm";
|
||||
import EnglishPreset from "flexsearch/esm/lang/en";
|
||||
import { Encoder, Charset } from "flexsearch";
|
||||
import EnglishPreset from "flexsearch/lang/en";
|
||||
|
||||
export default {
|
||||
tokenize: "forward",
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { Encoder, Charset } from "flexsearch/esm";
|
||||
import EnglishPreset from "flexsearch/esm/lang/en";
|
||||
import { Encoder, Charset } from "flexsearch";
|
||||
import EnglishPreset from "flexsearch/lang/en";
|
||||
|
||||
export default {
|
||||
tokenize: "forward",
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { Document } from "flexsearch/esm";
|
||||
import { Document } from "flexsearch";
|
||||
import { promises as fs } from "fs";
|
||||
const dirname = import.meta.dirname;
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { Document } from "flexsearch/esm";
|
||||
import { Document } from "flexsearch";
|
||||
import { promises as fs } from "fs";
|
||||
const dirname = import.meta.dirname;
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { Document, Charset } from "flexsearch/esm";
|
||||
import { Document, Charset } from "flexsearch";
|
||||
import fs from "fs";
|
||||
|
||||
const dirname = import.meta.dirname;
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { Index, Encoder, Charset } from "flexsearch/esm";
|
||||
import EnglishPreset from "flexsearch/esm/lang/en";
|
||||
import { Index, Encoder, Charset } from "flexsearch";
|
||||
import EnglishPreset from "flexsearch/lang/en";
|
||||
|
||||
const encoder = new Encoder(
|
||||
Charset.LatinSimple,
|
||||
|
Reference in New Issue
Block a user