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.

  • Nikolaj Hjelm Kaplan 5 posts 25 karma points
    Sep 04, 2014 @ 15:56
    Nikolaj Hjelm Kaplan
    0

    Could not find facets document: facets/ProductFacets/en

    I'm getting an exception when calling the GetFacetsFor method:

    SearchLibrary.GetFacetsFor(Category.FirstOrDefault(c => c.Name == "Bilprodukter"), new List<Facet>());

    Stacktrace:

    [InvalidOperationException: Could not find facets document: facets/ProductFacets/en]
       Raven.Database.Queries.FacetedQueryRunnerExtensions.ExecuteGetTermsQuery(DocumentDatabase self, String index, IndexQuery query, String facetSetupDoc, Int32 start, Nullable`1 pageSize) +321
       Raven.Client.Linq.RavenQueryInspector`1.GetFacets(String facetSetupDoc, Int32 start, Nullable`1 pageSize) +72
       UCommerce.Search.RavenDB.RavenFacetProvider.GetFacets(IFacetedQueryable`1 facetedQueryable) +533
       UCommerce.Search.SearchLibraryInternal.GetFacetsFor(Category category, IList`1 facets) +728
       Castle.Proxies.Invocations.SearchLibraryInternal_GetFacetsFor.InvokeMethodOnTarget() +128
       Castle.DynamicProxy.AbstractInvocation.Proceed() +116
       UCommerce.Infrastructure.Interceptor.ExceptionLoggingInterceptor.Intercept(IInvocation invocation) +625
       Castle.DynamicProxy.AbstractInvocation.Proceed() +595
       Castle.Proxies.SearchLibraryInternalProxy.GetFacetsFor(Category category, IList`1 facets) +194

    Any ideas how to solve this? I'm not having much luck with google.

    Should I do anything else than create some facet-fields in my product definitions?

  • Nikolaj Hjelm Kaplan 5 posts 25 karma points
    Sep 05, 2014 @ 11:02
    Nikolaj Hjelm Kaplan
    0

    Problem solved. Index everything from scratch.

Please Sign in or register to post replies

Write your reply to:

Draft