Skip to content
Discussion options

You must be logged in to vote

That's right - you will not be able to add your own algorithms into search. You can only leverage what the library offers.

Keep in mind, we're not talking about semantic search (via nearest neighbor over vectors) here - but it seems we're talking about allowing mistakes from users to still be able to match what was indexed.

Using fuzziness is the way you can achieve this, albeit with a limitation - that we support a max of 2 per token. A character add, a character remove and a character replace are fuzziness properties.

Here's a sample -

package main

import (
	"fmt"
	"os"

	"github.com/blevesearch/bleve/v2"
	"github.com/blevesearch/bleve/v2/analysis/analyzer/custom"
	"github.com/blevesea…

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@Eclextic
Comment options

@abhinavdangeti
Comment options

@Eclextic
Comment options

@Eclextic
Comment options

Comment options

You must be logged in to vote
3 replies
@abhinavdangeti
Comment options

@Eclextic
Comment options

@abhinavdangeti
Comment options

Answer selected by Eclextic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants