Click or drag to resize

IndexPropertiesIndexedFields Property

The set of possible fields to index and whether or not they are included in the index.

Namespace:  Law.EdaIntegration.Indexing
Assembly:  Law.EdaIntegration (in Law.EdaIntegration.dll) Version: 7.3
Syntax
C#
public IndexedFields IndexedFields { get; set; }

Property Value

Type: IndexedFields
Examples
The following example demonstrates removing three document properties from the indexed fields for a case.
C#
using Law.EdaIntegration;

class Sample
{
    public static void Main()
    {
        string connectionString = @"Data Source=localhost;Initial Catalog=EDA_Management;Integrated Security=False;User ID=myUserId;Password=myPassword";
        EdaIntegration edaIntegration = new EdaIntegration();
        edaIntegration.InitializeEnvironment(connectionString);

        Case edaCase = edaIntegration.Cases.OpenCaseByName("Case 1");
        IndexedFields idxFields = edaCase.Index.Properties.IndexedFields;
        idxFields.IsCompound = false;
        idxFields.IsCompoundChild = false;
        idxFields.Languages = false;

        // Save the changes to the case
        edaCase.Index.Properties.IndexedFields = idxFields;
        edaCase.Index.UpdateProperties();
    }
}
See Also