DefaultTextSearchResultMapper Class

  • java.lang.Object
    • com.microsoft.semantickernel.data.textsearch.DefaultTextSearchResultMapper

Implements

public class DefaultTextSearchResultMapper
implements TextSearchResultMapper

Default implementation of TextSearchResultMapper.

Constructor Summary

Constructor Description
DefaultTextSearchResultMapper()

Method Summary

Modifier and Type Method and Description
TextSearchResult fromResultToTextSearchResult(Object result)

Maps a search result to a TextSearchResult.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

DefaultTextSearchResultMapper

public DefaultTextSearchResultMapper()

Method Details

fromResultToTextSearchResult

public TextSearchResult fromResultToTextSearchResult(Object result)

Maps a search result to a TextSearchResult.

Parameters:

result - The search result.

Returns:

Applies to