Skip to content

Scope on Facet doesn't work in 0.90 #278

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

Closed
q42jaap opened this issue Jun 3, 2013 · 3 comments
Closed

Scope on Facet doesn't work in 0.90 #278

q42jaap opened this issue Jun 3, 2013 · 3 comments

Comments

@q42jaap
Copy link
Contributor

q42jaap commented Jun 3, 2013

client.Search<Product>(s => s
  .Query(q => q .....)
  .FacetTerm(af => af
    .Scope("aap")
    .OnField(...))

gives:
Parse Failure [the [scope] support in facets have been removed]

@Mpdreamz
Copy link
Member

Mpdreamz commented Jun 3, 2013

You need to repeat the same filter as facet_filter see:

elastic/elasticsearch#2606

Will add a <remark> to the vsdocs.

@q42jaap
Copy link
Contributor Author

q42jaap commented Jun 3, 2013

I think remarks are invisible, aren't they? Maybe add [Obsolete]?

@Mpdreamz
Copy link
Member

Mpdreamz commented Jun 3, 2013

You're right but an obsolete is too invasive since many people are still using < 0.90 either by choice or because their Search As A Service provider has not yet moved.

I'll put it in <summary> :)

@q42jaap q42jaap closed this as completed Jun 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants