-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extract price properties and index as double #2
base: main
Are you sure you want to change the base?
Conversation
Looks good. I just wish |
@mattbrailsford do you mean something like this? The documentation shows an example where |
I tried Not sure if it is related to any specific implementation in Umbraco, but it seems it may be possible to use DI of an service? |
Yea, I've hit this issue in another solution. The problem is these things are registered at registration time and so the DI container hasn't been built yet. The logger works because it's explicitly constructed that early and is available to be passed in. It's not actually being resolved by DI. |
Ahh okay, I see. I noticed the demostore project has this in but I only see
|
@mattbrailsford if you want to try out facets on demostore (maybe a new branch?) there a local NuGet package for Examine v4: Shazwazza/Examine#310 (comment) ... but soon there will be a public beta (pre-release) NuGet package. |
While playing with the upcoming facets in Examine v4, I found we can't use the existing indexed "price" field as facet field.
Shazwazza/Examine#310
https://github.com/Shazwazza/Examine/blob/release/4.0/docs/v2/articles/configuration.md
With facets the index configuration would look something like this: