public class

DidYouMeanSearcherInitialisation

extends Object
implements SearcherInitialisation
java.lang.Object
   ↳ com.atlassian.confluence.search.didyoumean.lucene.DidYouMeanSearcherInitialisation

Class Overview

Configures the searcher to use a customized Similarity class. The purpose of which is to negate the idf for n-gram matches (as we consider all n-gram matches to be equal).

Summary

Public Constructors
DidYouMeanSearcherInitialisation()
Public Methods
void initialise(IndexSearcher searcher)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.bonnie.search.SearcherInitialisation

Public Constructors

public DidYouMeanSearcherInitialisation ()

Public Methods

public void initialise (IndexSearcher searcher)