Release notes
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
Notes about releases
A lot of code style
A lot of style fix
A lot of code style
A lot of style fix
Implements Parameter.Equals #145
Refactor file SolrExpressServiceProvider.cs #266 (tks BetterCodeHub)
Refactor file FacetsResult.cs #268(tks BetterCodeHub)
Remove log statement (tks )
Add a 'default' clause in some 'switch' statement (tks )
Implement 'IEquatable' 'GeoCoordinate' (tks )
Static field generic type (tks )
Implement 'IDisposable' (tks )
Change constant to a 'static' read-only property (tks )
Some code style
Some style fix
Update dependencies versions
Fix DI exceptions in .Net Core 2.1 (#262)
Support to .Net Core 2.1 (#261)
Fix DI exceptions in .Net 4.7.1 (#250)
Wrong exception (#251)
Wrong convertions when using DateTime? or GeoCoordinate? (#255)
Wrong validation when use Nullable in FacetRange ()
Set null instead throw exception ()
Wrong parse when use Nullable in FacetRange ()
Support to .Net 4.7.1 (#248)
Update packages references (#249)
Implemented a new Query extension (#252)
Change parameter ascendent of extension ParametersExtension.Sort to default true ()
New extensions _SomeThing_If ()
Make possible start SolrExpress without Solr (#259)
Use SolrExpress.Search.Extension namespace instead SolrExpress.Search.Parameter.Extension to access DocumentSearch extensions
FieldExpression parameter is not being used in some extension methods (#239)
Wrong quotation marks addition in StartsWith method (#240)
Bug when use local parameters (#234)
Support to .Net Core 2.0 (#230)
Support for define local parameters (#222)
Paging using deep page options (#223)
Facet filter ()
Facet hardend ()
Facet prefix and method ( and )
Minor bug fixes and docs updates
See migration guide for informations about migrations
See issue for informations about what, why, how
Thanks people for ideas and contributions:
Updated NewtonSoft.Json and Flurl (tks @Baklap4)
Implements #203 in .Net 4.5 framework (#204)
Implements #203 in .Net 4.5 framework (#204)
Wrong variable used in result Interceptors execution (#197)
Authentication system (#181)
NOTE Basic Auth & Kerberos plugins and Rule-based Authorization plugin was added in 5.3
Wrong facets exclude tags semantics (#194)
DI bugs in full .NET framework (#186)
Better way to find Minimum/Maximum in range facet result in SOLR 5.0 (#131)
Create unit tests to Checker class (#168)
QueryAll in extension class ()
Review package references in .Net Standard 1.6 () - closes ()
Filter using AnyValue in extension class ()
Option to not calculate facet range before and after () - closes ()
Default parameters conflit with configued parameters (#175)
Wrong dependency injection (#173)
Inaccessible internal services when configure multiple Documents (#172)
Create tag property in Facet itens (#166)
Create tag property in Facet itens (#165)
SearchResult.Info.PageNumber not equal to StartParameter.Value (#157)
Create validation when use SolrExpress.Core.Update.AtomicDelete with 0 documentIds (#149)
ISearchParameterBuilder.Filter, parameters 'from' and 'to' must be default null (#152)
Unable to resolve service for type 'IEngine' while attempting to activate 'SearchParameterBuilder` (#154)
SolrExpress.Core.Search.ISolrSearch.Add methods must return itself instance (#150)
ISolrSearch must accept AddRange (#153)
Friendly assembly wont work (#122)
Check if parameter called "parameters" is null in result processors (#142)
Invalid cast when a facet range is created using a field of long type (#143)
Wrong query when using SpatialFilter ()
Cleanup in package.json files (#138)
Create benchmarks (#139)
Create interface to be used in DocumentCollection, SolrQueryable e SolrAtomicUpdate classes (#140)
DI review ()
Code review ()
PAY ATTENTION
To use DocumentCollection
Before
var provider = new Provider("http://localhost:8983/solr/techproducts");
var resolver = new SimpleResolver().Configure();
var configuration = new Configuration();
var techProducts = new DocumentCollection<TechProduct>(provider, resolver, configuration);
After
Using Net.Core
serviceCollection.AddSolrExpress<TechProduct>(builder => builder
.UseHostAddress("http://localhost:8983/solr/techproducts")
.UseOptions(/*options instance*/) // Optionally
.UseSolr5()); // Or UserSolr4()
In some controller/service/however
public ClassConstructor(IDocumentCollection<TechProduct> techProducts)
{
//...
}
Using Net4 or Net4.5
techProducts = new DocumentCollectionBuilder<TechProduct>()
.AddSolrExpress()
.UseHostAddress("http://localhost:8983/solr/techproducts")
.UseOptions(/*options instance*/) // Optionally
.UseSolr5() // Or UserSolr4()
.Create();
To create a new parameter without using ISolrSearch
Before
var parameter = new QueryParameter<TechProductDocument>().Configure(new QueryAll());
After
Using Net.Core
In some controller/service/however
public ClassConstructor(ISearchParameterBuilder<TDocument> parameterBuilder)
{
var parameter = parameterBuilder.Query(new QueryAll());
}
Using Net4 or Net4.5
Sorry bro... continues using the old way :/
Add default parameters (#125)
Create unit test to test validations methods (#129)
Organize changelogs in CHANGELOG.md file (#133)
Change projects dependencies ()
Create mincount using solr field name rather than POCO property name (#128)
In sort validation, must use "index" property rather than "stored" property (#127)
Need encode parameters in FacetRange (#123)
Change all properties in SolrExpress.Core.Query.ParameterValue.* classes to public {get; private set;} (#130)
Use List< IParameter > parameters to calculate gaps and discovery facet types (#46)
Recode Core.Query.ParameterValue.Range<> (#126)
Use min.count = 1 ()
Change base version to 4.0 and add support to 4.5 rather than 4.5.1 (#119)
Rename class Statistic to Info (#116)
Implements random sort ()
Support to .Net Core 1.0 (#109)
Interceptors (Query and Result) and Parameters in global form (#114)
Create handler parameter to avoid string in Execute method (#115)
NOTES All projects are signed by default (no more *.Signed packages)
In Solr 5.5, when 2 sorts parameters are added, a bad format is created and Solr don't process the request (#101)
Description of exception InvalidParameterTypeException is bad formatted (#100)
Atomic update (#106)
Boost parameter ()
Exception description ()
Fix hyperlink to samples in readme.md (#93)
Code cleanup and reorganization
Improves in DI
Atomic update (#94)
Rename ParameterValue classes removing "Value" suffix (#90)
Create SpatialFilterParamaterValue (#91)
Docs updat (#85)
Create a better way to discovery field type in facet ranges ()
Create FreeParameter ()
ThrowHelper ()
Create option to choose request handler ()
Fluent language ()
NuGet mistakes
NuGet mistakes
Wrong query when use MultiValue and SolrQueryConditionType (#76)
Change namespace of class IDocument (#78)
Migrate Fluent Api to core project (#66)
StatisticResultBuilder must result a class (#77)
Update to C# 6.0 ()
All Is Said And Done :)
Read the documentation and if you have some question or find some error, please, contact me