Click or drag to resize
LuceneSearchDocumentHelperToLuceneSearchDocument Method
Converts object of general purpose type SearchDocument to Lucene search specific ILuceneSearchDocument.

Namespace: CMS.Search
Assembly: CMS.Search (in CMS.Search.dll) Version: 13.0.131
Syntax
C#
public static ILuceneSearchDocument ToLuceneSearchDocument(
	SearchDocument searchDocument
)

Parameters

searchDocument
Type: CMS.DataEngineSearchDocument
Search document to convert.

Return Value

Type: ILuceneSearchDocument
Lucene search document created from search document.
Remarks
The default system implementation converts all search document field values to string and adds them to ILuceneSearchDocument by calling AddGeneralField(String, Object, Boolean, Boolean). Initialization fields of search document are added via Add(String, String, Boolean, Boolean) call.
See Also