You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
I'm working on a search module and trying to build it around Elasticsearch. I'm having trouble getting accurate results when filtering based on the selected items in a content picker field when the field has multiple options selected. Specifically, only the first item in the field is being indexed properly.
Data
These are the related values that I have stored in the content item:
Outcome
When the commented out section of the query is included, the content item appears in the search result. But without it, no results appear. I want the content item to appear if either value is selected in the filter. I don't believe that my query is the problem, but in how the data is stored in the index.
The text was updated successfully, but these errors were encountered:
Multiple taxonomy terms work fine with this format.
,{
"terms": {
"Article.Category.Inherited": [{% for tax in taxonomy %}"{{tax}}"{% unless forloop.last %},{% endunless %}{% endfor %}]
}
}
Description
I'm working on a search module and trying to build it around Elasticsearch. I'm having trouble getting accurate results when filtering based on the selected items in a content picker field when the field has multiple options selected. Specifically, only the first item in the field is being indexed properly.
Data
These are the related values that I have stored in the content item:
This is what the elastic search index looks like:
And this is the query that I have been using:
Outcome
When the commented out section of the query is included, the content item appears in the search result. But without it, no results appear. I want the content item to appear if either value is selected in the filter. I don't believe that my query is the problem, but in how the data is stored in the index.
The text was updated successfully, but these errors were encountered: