Class SearchSpec
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
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
CREATOR
public static Parcelable.Creator CREATOR { get; set; }
Property Value
EMBEDDING_SEARCH_METRIC_TYPE_COSINE
public static int EMBEDDING_SEARCH_METRIC_TYPE_COSINE { get; set; }
Property Value
EMBEDDING_SEARCH_METRIC_TYPE_DEFAULT
public static int EMBEDDING_SEARCH_METRIC_TYPE_DEFAULT { get; set; }
Property Value
EMBEDDING_SEARCH_METRIC_TYPE_DOT_PRODUCT
public static int EMBEDDING_SEARCH_METRIC_TYPE_DOT_PRODUCT { get; set; }
Property Value
EMBEDDING_SEARCH_METRIC_TYPE_EUCLIDEAN
public static int EMBEDDING_SEARCH_METRIC_TYPE_EUCLIDEAN { get; set; }
Property Value
GROUPING_TYPE_PER_NAMESPACE
public static int GROUPING_TYPE_PER_NAMESPACE { get; set; }
Property Value
GROUPING_TYPE_PER_PACKAGE
public static int GROUPING_TYPE_PER_PACKAGE { get; set; }
Property Value
GROUPING_TYPE_PER_SCHEMA
public static int GROUPING_TYPE_PER_SCHEMA { get; set; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
ORDER_ASCENDING
public static int ORDER_ASCENDING { get; set; }
Property Value
ORDER_DESCENDING
public static int ORDER_DESCENDING { get; set; }
Property Value
PROJECTION_SCHEMA_TYPE_WILDCARD
[Obsolete("Deprecated in JVM")]
public static String PROJECTION_SCHEMA_TYPE_WILDCARD { get; set; }
Property Value
RANKING_STRATEGY_ADVANCED_RANKING_EXPRESSION
public static int RANKING_STRATEGY_ADVANCED_RANKING_EXPRESSION { get; set; }
Property Value
RANKING_STRATEGY_CREATION_TIMESTAMP
public static int RANKING_STRATEGY_CREATION_TIMESTAMP { get; set; }
Property Value
RANKING_STRATEGY_DOCUMENT_SCORE
public static int RANKING_STRATEGY_DOCUMENT_SCORE { get; set; }
Property Value
RANKING_STRATEGY_JOIN_AGGREGATE_SCORE
public static int RANKING_STRATEGY_JOIN_AGGREGATE_SCORE { get; set; }
Property Value
RANKING_STRATEGY_NONE
public static int RANKING_STRATEGY_NONE { get; set; }
Property Value
RANKING_STRATEGY_RELEVANCE_SCORE
public static int RANKING_STRATEGY_RELEVANCE_SCORE { get; set; }
Property Value
RANKING_STRATEGY_SYSTEM_USAGE_COUNT
public static int RANKING_STRATEGY_SYSTEM_USAGE_COUNT { get; set; }
Property Value
RANKING_STRATEGY_SYSTEM_USAGE_LAST_USED_TIMESTAMP
public static int RANKING_STRATEGY_SYSTEM_USAGE_LAST_USED_TIMESTAMP { get; set; }
Property Value
RANKING_STRATEGY_USAGE_COUNT
public static int RANKING_STRATEGY_USAGE_COUNT { get; set; }
Property Value
RANKING_STRATEGY_USAGE_LAST_USED_TIMESTAMP
public static int RANKING_STRATEGY_USAGE_LAST_USED_TIMESTAMP { get; set; }
Property Value
SCHEMA_TYPE_WILDCARD
public static String SCHEMA_TYPE_WILDCARD { get; set; }
Property Value
TERM_MATCH_EXACT_ONLY
public static int TERM_MATCH_EXACT_ONLY { get; set; }
Property Value
TERM_MATCH_PREFIX
public static int TERM_MATCH_PREFIX { get; set; }
Property Value
Methods
DescribeContents()
public int DescribeContents()
Returns
GetAdvancedRankingExpression()
public String GetAdvancedRankingExpression()
Returns
GetDefaultEmbeddingSearchMetricType()
public int GetDefaultEmbeddingSearchMetricType()
Returns
GetEmbeddingParameters()
public List<EmbeddingVector> GetEmbeddingParameters()
Returns
GetFilterDocumentIds()
https://developer.android.com/reference/android/app/appsearch/SearchSpec.html#getFilterDocumentIds()
public List<String> GetFilterDocumentIds()
Returns
GetFilterNamespaces()
public List<String> GetFilterNamespaces()
Returns
GetFilterPackageNames()
public List<String> GetFilterPackageNames()
Returns
GetFilterProperties()
public Map<String, List<String>> GetFilterProperties()
Returns
GetFilterSchemas()
public List<String> GetFilterSchemas()
Returns
GetInformationalRankingExpressions()
public List<String> GetInformationalRankingExpressions()
Returns
GetJoinSpec()
public JoinSpec GetJoinSpec()
Returns
GetMaxSnippetSize()
public int GetMaxSnippetSize()
Returns
GetOrder()
public int GetOrder()
Returns
GetProjectionPaths()
public Map<String, List<PropertyPath>> GetProjectionPaths()
Returns
GetProjections()
public Map<String, List<String>> GetProjections()
Returns
GetPropertyWeightPaths()
public Map<String, Map<PropertyPath, Double>> GetPropertyWeightPaths()
Returns
GetPropertyWeights()
public Map<String, Map<String, Double>> GetPropertyWeights()
Returns
GetRankingStrategy()
public int GetRankingStrategy()
Returns
GetResultCountPerPage()
public int GetResultCountPerPage()
Returns
GetResultGroupingLimit()
public int GetResultGroupingLimit()
Returns
GetResultGroupingTypeFlags()
public int GetResultGroupingTypeFlags()
Returns
GetSearchSourceLogTag()
public String GetSearchSourceLogTag()
Returns
GetSearchStringParameters()
public List<String> GetSearchStringParameters()
Returns
GetSnippetCount()
public int GetSnippetCount()
Returns
GetSnippetCountPerProperty()
public int GetSnippetCountPerProperty()
Returns
GetTermMatch()
public int GetTermMatch()
Returns
IsListFilterHasPropertyFunctionEnabled()
public bool IsListFilterHasPropertyFunctionEnabled()
Returns
IsListFilterMatchScoreExpressionFunctionEnabled()
public bool IsListFilterMatchScoreExpressionFunctionEnabled()
Returns
IsListFilterQueryLanguageEnabled()
public bool IsListFilterQueryLanguageEnabled()
Returns
IsNumericSearchEnabled()
public bool IsNumericSearchEnabled()
Returns
IsScorablePropertyRankingEnabled()
public bool IsScorablePropertyRankingEnabled()
Returns
IsVerbatimSearchEnabled()
public bool IsVerbatimSearchEnabled()
Returns
WriteToParcel(Parcel, int)
public void WriteToParcel(Parcel arg0, int arg1)