Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • ffz 5 posts 25 karma points
    Jan 08, 2014 @ 09:56
    ffz
    0

    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?

  • Domenique 10 posts 40 karma points
    Jan 08, 2014 @ 17:05
    Domenique
    0

    I am also looking for a good solution for this :)

    Best regards, 

    Domenique

  • Morten Skjoldager 440 posts 1499 karma points
    Jan 13, 2014 @ 09:46
    Morten Skjoldager
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft