Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,7 @@ public VectorEmbeddingPolicyDefinition WithVectorEmbeddingPolicy(
/// <param name="defaultLanguage">A string indicating the default language.</param>
/// <param name="fullTextPaths">List of full text paths to include in the policy definition.</param>
/// <returns>An instance of <see cref="FullTextPolicyDefinition"/>.</returns>
#if PREVIEW
public
#else
internal
#endif
FullTextPolicyDefinition WithFullTextPolicy(
public FullTextPolicyDefinition WithFullTextPolicy(
string defaultLanguage,
Collection<FullTextPath> fullTextPaths)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,7 @@ namespace Microsoft.Azure.Cosmos.Fluent
/// Full text index fluent definition.
/// </summary>
/// <seealso cref="FullTextIndexPath"/>
#if PREVIEW
public
#else
internal
#endif
class FullTextIndexDefinition<T>
public class FullTextIndexDefinition<T>
{
private readonly FullTextIndexPath fullTextIndexPath = new ();
private readonly T parent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,7 @@ namespace Microsoft.Azure.Cosmos.Fluent
/// <summary>
/// <see cref="FullTextPolicyDefinition"/> fluent definition.
/// </summary>
#if PREVIEW
public
#else
internal
#endif
class FullTextPolicyDefinition
public class FullTextPolicyDefinition
{
private readonly ContainerBuilder parent;
private readonly Action<FullTextPolicy> attachCallback;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,7 @@ public VectorIndexDefinition<IndexingPolicyDefinition<T>> WithVectorIndex()
/// Defines a <see cref="FullTextIndexPath"/> in the current <see cref="Container"/>'s definition.
/// </summary>
/// <returns>An instance of <see cref="FullTextIndexDefinition{T}"/>.</returns>
#if PREVIEW
public
#else
internal
#endif
FullTextIndexDefinition<IndexingPolicyDefinition<T>> WithFullTextIndex()
public FullTextIndexDefinition<IndexingPolicyDefinition<T>> WithFullTextIndex()
{
return new FullTextIndexDefinition<IndexingPolicyDefinition<T>>(
this,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -366,12 +366,7 @@ public Collection<ComputedProperty> ComputedProperties
/// </para>
/// </remarks>
[JsonIgnore]
#if PREVIEW
public
#else
internal
#endif
FullTextPolicy FullTextPolicy
public FullTextPolicy FullTextPolicy
{
get => this.fullTextPolicyInternal;
set => this.fullTextPolicyInternal = value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,7 @@ namespace Microsoft.Azure.Cosmos
/// }
/// ]]>
/// </example>
#if PREVIEW
public
#else
internal
#endif
sealed class FullTextIndexPath
public sealed class FullTextIndexPath
{
/// <summary>
/// Gets or sets the full path in a document used for full text indexing.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,7 @@ namespace Microsoft.Azure.Cosmos
/// }
/// ]]>
/// </example>
#if PREVIEW
public
#else
internal
#endif
sealed class FullTextPath : IEquatable<FullTextPath>
public class FullTextPath : IEquatable<FullTextPath>
{
/// <summary>
/// Gets or sets a string containing the path of the full text index.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,7 @@ namespace Microsoft.Azure.Cosmos
/// Represents the full text policy configuration for specifying the full text paths on items in the container in the Azure Cosmos DB service.
/// </summary>
/// <seealso cref="ContainerProperties"/>
#if PREVIEW
public
#else
internal
#endif
sealed class FullTextPolicy
public sealed class FullTextPolicy
{
[JsonProperty(PropertyName = "fullTextPaths", NullValueHandling = NullValueHandling.Ignore)]
private Collection<FullTextPath> fullTextPathsInternal;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,13 +160,7 @@ public IndexingPolicy()
/// ]]>
/// </example>
[JsonProperty(PropertyName = "fullTextIndexes", NullValueHandling = NullValueHandling.Ignore)]
#if PREVIEW

public
#else
internal
#endif
Collection<FullTextIndexPath> FullTextIndexes{ get; set; } = new Collection<FullTextIndexPath>();
public Collection<FullTextIndexPath> FullTextIndexes{ get; set; } = new Collection<FullTextIndexPath>();

/// <summary>
/// This contains additional values for scenarios where the SDK is not aware of new fields.
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading