designagencyuk / designagency.bobofacets Goto Github PK
View Code? Open in Web Editor NEWA wrapper around the BoboBrowse.Net framework
A wrapper around the BoboBrowse.Net framework
Hey, we noticed on some projects (where we host on azure and have a prod and preprod slot) the searches done with BoboFacets can be empty at a certain point while the lucene/examine index is still populated.
Currently to change how the query string is parsed to get the facet values requires you to override the entire CreateBrowseRequest method.
When using one of the default indexes it works fine, but as soon as we use a custom index, the facet values dissapear. Any idea why that might be?
I'll try to supply an example later.
When upgrading from Umbraco 7 its best to go to 8.5.5. However for the bobofacets 8.6.0 is needed. Could you publish a package that lowers the Umbraco Requirement a tiny bit?
We're in the situation that we're trying to upgrade to 8.5.5 as an intermediate step. If that works (including the bobostuff) we can upgrade test/production and take the next step to the latest 8.x.
seems if you have a value like
"this is one"
the facets will be
this
one
I'm implementing a custom sort for a field in CreateBrowseRequest, however the sort for this field is ignored. I checked the log and it returns
2021-06-18 16:27:48,919 [P22572/D2/T56] WARN BoboBrowse.Search.LuceneSortDocComparatorFactory - __customSortField: no factory specified, ignored.
Can anyone please advise me what it meant by "no factory specified"?
I've already created a new class (CustomSortComparatorSource) and extended FieldComparatorSource (and within the same class, I had to override the NewComparator). Then in the CreateBrowseRequest, I used AddSortField(new SortField("__customSortField", new CustomSortComparatorSource()))
Am I on the right track for creating a new custom sort for BoboBrowse? If not, how do I go about it? Thanks
It would make it easier to access query string values if the query string parameter was a NameValueCollection
Look into improving the package build process. Currently just using the VS17 Package settings and then just manually editing the NuGet package file (not ideal).
Could be due to ioc ???
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Umbraco.Core.Exceptions.BootFailedException: Boot failed: Umbraco cannot run. See Umbraco's log file for more details.
-> Umbraco.Core.Exceptions.BootFailedException: Boot failed.
-> System.Reflection.ReflectionTypeLoadException: Could not load all types from "DesignAgency.BoboFacets, Version=0.1.1.0, Culture=neutral, PublicKeyToken=null" due to LoaderExceptions, skipping:
. System.TypeLoadException on Umbraco.Core.ObjectResolution.ManyObjectsResolverBase2: Could not load type 'Umbraco.Core.ObjectResolution.ManyObjectsResolverBase
2' from assembly 'Umbraco.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null'.
. System.TypeLoadException on Umbraco.Core.ApplicationEventHandler: Could not load type 'Umbraco.Core.ApplicationEventHandler' from assembly 'Umbraco.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null'.
at Umbraco.Core.Composing.TypeFinder.GetTypesWithFormattedException(Assembly a) in D:\a\1\s\src\Umbraco.Core\Composing\TypeFinder.cs:line 572
at Umbraco.Core.Composing.TypeFinder.GetClassesWithBaseType(Type baseType, IEnumerable1 assemblies, Boolean onlyConcreteClasses, Func
2 additionalFilter) in D:\a\1\s\src\Umbraco.Core\Composing\TypeFinder.cs:line 504
at Umbraco.Core.Composing.TypeLoader.<>c__DisplayClass53_01.<GetTypes>b__1() in D:\a\1\s\src\Umbraco.Core\Composing\TypeLoader.cs:line 586 at Umbraco.Core.Composing.TypeLoader.GetTypesInternalLocked(Type baseType, Type attributeType, Func
1 finder, String action, Boolean cache) in D:\a\1\s\src\Umbraco.Core\Composing\TypeLoader.cs:line 796
at Umbraco.Core.Composing.TypeLoader.GetTypesInternal(Type baseType, Type attributeType, Func1 finder, String action, Boolean cache) in D:\a\1\s\src\Umbraco.Core\Composing\TypeLoader.cs:line 700 at Umbraco.Core.Composing.TypeLoader.GetTypes[T](Boolean cache, IEnumerable
1 specificAssemblies) in D:\a\1\s\src\Umbraco.Core\Composing\TypeLoader.cs:line 584
at Umbraco.Core.Runtime.CoreRuntime.ResolveComposerTypes(TypeLoader typeLoader) in D:\a\1\s\src\Umbraco.Core\Runtime\CoreRuntime.cs:line 306
at Umbraco.Core.Runtime.CoreRuntime.Boot(IRegister register, DisposableTimer timer) in D:\a\1\s\src\Umbraco.Core\Runtime\CoreRuntime.cs:line 172
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.