At the moment when you call on the facets to create the filters they are not listening to the ordering in the backend. Also no additional data is given where we could do some ordering with.
2. Naming of the filters
When you call the facets the name of the facet is given directly as a string directly from the datatype name. I see the need to be able to translate the name and/or customize the name.
3. Values of enum datatype as facets
I use the enum datatype in some facets and here we get for example the number back istead of the value. Is there somewhere a helper in the API?
No i'm afraid this is not possible out of the box. I believe they are returned in the same way as they are persisted in RavenDB. The naming of the facets should match ProductDefinitionFields so maybe you can hold it against the ordering there.
Otherwise you need to enter the raven database on port 1337, login and change the ordering. All facets are persisted in a facet document.
No helper. Can you show me the code from question 3 where you get a wrong value. All values should be translated to the corresponding language.
Facets and enum types
Hi there,
I have a question regarding faceted search.
1. Ordering of the filters
At the moment when you call on the facets to create the filters they are not listening to the ordering in the backend. Also no additional data is given where we could do some ordering with.
2. Naming of the filters
When you call the facets the name of the facet is given directly as a string directly from the datatype name. I see the need to be able to translate the name and/or customize the name.
3. Values of enum datatype as facets
I use the enum datatype in some facets and here we get for example the number back istead of the value. Is there somewhere a helper in the API?
I am also looking for a good solution for this :)
Best regards,
Domenique
Hello,
No i'm afraid this is not possible out of the box. I believe they are returned in the same way as they are persisted in RavenDB. The naming of the facets should match ProductDefinitionFields so maybe you can hold it against the ordering there.
Otherwise you need to enter the raven database on port 1337, login and change the ordering. All facets are persisted in a facet document.
No helper. Can you show me the code from question 3 where you get a wrong value. All values should be translated to the corresponding language.
Sorry for the late reply.
Regards
Morten
is working on a reply...