Table of Contents

Class SearchSpec

Namespace
Android.App.Appsearch
Assembly
MASES.Netdroid.dll
public class SearchSpec : Parcelable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IParcelable
Inheritance
SearchSpec
Implements
Inherited Members
Extension Methods

Constructors

SearchSpec(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public SearchSpec(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

CREATOR

public static Parcelable.Creator CREATOR { get; set; }

Property Value

Parcelable.Creator

EMBEDDING_SEARCH_METRIC_TYPE_COSINE

public static int EMBEDDING_SEARCH_METRIC_TYPE_COSINE { get; set; }

Property Value

int

EMBEDDING_SEARCH_METRIC_TYPE_DEFAULT

public static int EMBEDDING_SEARCH_METRIC_TYPE_DEFAULT { get; set; }

Property Value

int

EMBEDDING_SEARCH_METRIC_TYPE_DOT_PRODUCT

public static int EMBEDDING_SEARCH_METRIC_TYPE_DOT_PRODUCT { get; set; }

Property Value

int

EMBEDDING_SEARCH_METRIC_TYPE_EUCLIDEAN

public static int EMBEDDING_SEARCH_METRIC_TYPE_EUCLIDEAN { get; set; }

Property Value

int

GROUPING_TYPE_PER_NAMESPACE

public static int GROUPING_TYPE_PER_NAMESPACE { get; set; }

Property Value

int

GROUPING_TYPE_PER_PACKAGE

public static int GROUPING_TYPE_PER_PACKAGE { get; set; }

Property Value

int

GROUPING_TYPE_PER_SCHEMA

public static int GROUPING_TYPE_PER_SCHEMA { get; set; }

Property Value

int

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

ORDER_ASCENDING

public static int ORDER_ASCENDING { get; set; }

Property Value

int

ORDER_DESCENDING

public static int ORDER_DESCENDING { get; set; }

Property Value

int

PROJECTION_SCHEMA_TYPE_WILDCARD

[Obsolete("Deprecated in JVM")]
public static String PROJECTION_SCHEMA_TYPE_WILDCARD { get; set; }

Property Value

String

RANKING_STRATEGY_ADVANCED_RANKING_EXPRESSION

public static int RANKING_STRATEGY_ADVANCED_RANKING_EXPRESSION { get; set; }

Property Value

int

RANKING_STRATEGY_CREATION_TIMESTAMP

public static int RANKING_STRATEGY_CREATION_TIMESTAMP { get; set; }

Property Value

int

RANKING_STRATEGY_DOCUMENT_SCORE

public static int RANKING_STRATEGY_DOCUMENT_SCORE { get; set; }

Property Value

int

RANKING_STRATEGY_JOIN_AGGREGATE_SCORE

public static int RANKING_STRATEGY_JOIN_AGGREGATE_SCORE { get; set; }

Property Value

int

RANKING_STRATEGY_NONE

public static int RANKING_STRATEGY_NONE { get; set; }

Property Value

int

RANKING_STRATEGY_RELEVANCE_SCORE

public static int RANKING_STRATEGY_RELEVANCE_SCORE { get; set; }

Property Value

int

RANKING_STRATEGY_SYSTEM_USAGE_COUNT

public static int RANKING_STRATEGY_SYSTEM_USAGE_COUNT { get; set; }

Property Value

int

RANKING_STRATEGY_SYSTEM_USAGE_LAST_USED_TIMESTAMP

public static int RANKING_STRATEGY_SYSTEM_USAGE_LAST_USED_TIMESTAMP { get; set; }

Property Value

int

RANKING_STRATEGY_USAGE_COUNT

public static int RANKING_STRATEGY_USAGE_COUNT { get; set; }

Property Value

int

RANKING_STRATEGY_USAGE_LAST_USED_TIMESTAMP

public static int RANKING_STRATEGY_USAGE_LAST_USED_TIMESTAMP { get; set; }

Property Value

int

SCHEMA_TYPE_WILDCARD

public static String SCHEMA_TYPE_WILDCARD { get; set; }

Property Value

String

TERM_MATCH_EXACT_ONLY

public static int TERM_MATCH_EXACT_ONLY { get; set; }

Property Value

int

TERM_MATCH_PREFIX

public static int TERM_MATCH_PREFIX { get; set; }

Property Value

int

Methods

DescribeContents()

public int DescribeContents()

Returns

int

int

GetAdvancedRankingExpression()

public String GetAdvancedRankingExpression()

Returns

String

String

GetDefaultEmbeddingSearchMetricType()

public int GetDefaultEmbeddingSearchMetricType()

Returns

int

int

GetEmbeddingParameters()

public List<EmbeddingVector> GetEmbeddingParameters()

Returns

List<EmbeddingVector>

List

GetFilterDocumentIds()

public List<String> GetFilterDocumentIds()

Returns

List<String>

List

GetFilterNamespaces()

public List<String> GetFilterNamespaces()

Returns

List<String>

List

GetFilterPackageNames()

public List<String> GetFilterPackageNames()

Returns

List<String>

List

GetFilterProperties()

public Map<String, List<String>> GetFilterProperties()

Returns

Map<String, List<String>>

Map

GetFilterSchemas()

public List<String> GetFilterSchemas()

Returns

List<String>

List

GetInformationalRankingExpressions()

public List<String> GetInformationalRankingExpressions()

Returns

List<String>

List

GetJoinSpec()

public JoinSpec GetJoinSpec()

Returns

JoinSpec

JoinSpec

GetMaxSnippetSize()

public int GetMaxSnippetSize()

Returns

int

int

GetOrder()

public int GetOrder()

Returns

int

int

GetProjectionPaths()

public Map<String, List<PropertyPath>> GetProjectionPaths()

Returns

Map<String, List<PropertyPath>>

Map

GetProjections()

public Map<String, List<String>> GetProjections()

Returns

Map<String, List<String>>

Map

GetPropertyWeightPaths()

public Map<String, Map<PropertyPath, Double>> GetPropertyWeightPaths()

Returns

Map<String, Map<PropertyPath, Double>>

Map

GetPropertyWeights()

public Map<String, Map<String, Double>> GetPropertyWeights()

Returns

Map<String, Map<String, Double>>

Map

GetRankingStrategy()

public int GetRankingStrategy()

Returns

int

int

GetResultCountPerPage()

public int GetResultCountPerPage()

Returns

int

int

GetResultGroupingLimit()

public int GetResultGroupingLimit()

Returns

int

int

GetResultGroupingTypeFlags()

public int GetResultGroupingTypeFlags()

Returns

int

int

GetSearchSourceLogTag()

public String GetSearchSourceLogTag()

Returns

String

String

GetSearchStringParameters()

public List<String> GetSearchStringParameters()

Returns

List<String>

List

GetSnippetCount()

public int GetSnippetCount()

Returns

int

int

GetSnippetCountPerProperty()

public int GetSnippetCountPerProperty()

Returns

int

int

GetTermMatch()

public int GetTermMatch()

Returns

int

int

IsListFilterHasPropertyFunctionEnabled()

public bool IsListFilterHasPropertyFunctionEnabled()

Returns

bool

bool

IsListFilterMatchScoreExpressionFunctionEnabled()

public bool IsListFilterMatchScoreExpressionFunctionEnabled()

Returns

bool

bool

IsListFilterQueryLanguageEnabled()

public bool IsListFilterQueryLanguageEnabled()

Returns

bool

bool

IsNumericSearchEnabled()

public bool IsNumericSearchEnabled()

Returns

bool

bool

IsScorablePropertyRankingEnabled()

public bool IsScorablePropertyRankingEnabled()

Returns

bool

bool

IsVerbatimSearchEnabled()

public bool IsVerbatimSearchEnabled()

Returns

bool

bool

WriteToParcel(Parcel, int)

public void WriteToParcel(Parcel arg0, int arg1)

Parameters

arg0 Parcel

Parcel

arg1 int

int