Keyoti SearchUnit API Docs
AddWord Method (word, weight, trimWhiteSpace)
API DocumentationKeyoti.SearchEngine.DocumentsDocumentTextAddWord(String, Int32, Boolean)
Keyoti SearchUnit v6
Convenience method to add a word to the indexed document text.
Declaration Syntax
C#C#Visual BasicVisual BasicVisual C++Visual C++F#F#
public void AddWord(
	string word,
	int weight,
	bool trimWhiteSpace
)
public void AddWord(
	string word,
	int weight,
	bool trimWhiteSpace
)
Public Sub AddWord ( 
	word As String,
	weight As Integer,
	trimWhiteSpace As Boolean
)
Public Sub AddWord ( 
	word As String,
	weight As Integer,
	trimWhiteSpace As Boolean
)
public:
void AddWord(
	String^ word, 
	int weight, 
	bool trimWhiteSpace
)
public:
void AddWord(
	String^ word, 
	int weight, 
	bool trimWhiteSpace
)
member AddWord : 
        word : string * 
        weight : int * 
        trimWhiteSpace : bool -> unit 
member AddWord : 
        word : string * 
        weight : int * 
        trimWhiteSpace : bool -> unit 
Parameters
word (String)
weight (Int32)
trimWhiteSpace (Boolean)
Remarks
Any words added will be indexed with the document content and will be searchable. These words may also be shown in the result summary.

Assembly: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2015.6.15.120