Fail fast
Last updated
Last updated
Throw SearchParameterIsInvalidException when developer use a field in wrong way
Using a collection with 2 fields with follow settings:
Use cases:
NOTE
See more in field options by use case;
This feature is actived by default
To active/inactive this feature, change your SolrExpressOptions and set FailFast, like below:
Field
Indexed
Stored
Field1
False
True
Field2
True
False
Use case
Using method
Field1
Field2
Faceting
FacetField
Throws exception
Works well
Faceting
FacetQuery
Throws exception
Works well
Faceting
FacetRange
Throws exception
Works well
Filtering
Filter
Throws exception
Works well
Get contents
Fields
Works well
Throws exception
Search
Query
Throws exception
Works well
Sorting
Sort
Throws exception
Works well