solr express
5.4.0
5.4.0
  • Introduction
  • About SOLR Express
    • Release notes
    • About
      • License
      • Packages
    • Benchmarks
      • Version 3.1.2
      • Version 5.0.0
    • Breaking changes
      • Version 5.0.0
  • Tutorials
    • Getting started
    • Basic Features
      • Queries
      • Fail fast
      • Global settings
      • Local parameter
    • Facets
      • Facet field
      • Facet query
      • Facet range
      • Facet spatial
      • Nested facet
    • Advanced Features
      • Authentication and Authorization
      • Dynamic field behaviour
      • Result interceptors
Powered by GitBook
On this page
  • Feature
  • How to

Was this helpful?

  1. Tutorials
  2. Basic Features

Global settings

Feature

Set settings only once to all searchs using global settings

Useful when use same parameters to all searchs

How to

  1. In your services configurations (used to add Solr Express services in DI provider), invoke method UseOptions

    services
        .AddSolrExpress<TechProduct>(builder => builder
            .UseOptions(options =>
            {
                // ... Global settings
            })
            // ...  Other settings
            );
  1. Set options with necessary parameter, field behaviour or some other feature provided by Solr Express

PreviousFail fastNextLocal parameter

Last updated 6 years ago

Was this helpful?