Skip to content
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

multivalue and fulltext facets are being treated as _text #974

Open
richardmatthewsdev opened this issue Apr 7, 2020 · 0 comments
Open

Comments

@richardmatthewsdev
Copy link

Hey,

On v2.5.0 I have issues where facets I have defined as multivalue or fulltext are being suffixed with _text instead of _s or _sm when they are sent to Solr. This issue is not present on v2.4.0.

This results in facets looking like this:

collection: {
c: 499,
co: 499,
col: 499,
coll: 499,
colle: 499,
collec: 499,
collect: 499,
u: 499,
un: 499,
unp: 499
},

Instead of this:

collection: {
Unpublished collections: 499
}

Which is caused by this being sent to Solr:

facet.field: [
"collection_text",
],

instead of this:

facet.field: [
"collection_sm",
].

For now I am using the version v2.4.0 of Sunspot.

Thanks!
Richard

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

1 participant