Fail fast


Throw SearchParameterIsInvalidException when developer use a field in wrong way

Using a collection with 2 fields with follow settings:

Use cases:


See more in field options by use case;

How to

This feature is actived by default

To active/inactive this feature, change your SolrExpressOptions and set FailFast, like below:

        .AddSolrExpress<TechProduct>(builder => builder
            .UseOptions(options =>
                // ... Other settings
                options.FailFast = true
            // ...  Other settings

Last updated