- 🇬🇧United Kingdom bezlash@gmail.com
Hi, just wondering if anyone managed to achieve this?
I am not sure if this is the right place to log this - please feel free to move this or comment and close if appears invalid.
Allow OR conjunction between different SOLR facets.
Facets Version: 8.x-1.6
Search API Version: 8.x-1.18
Search API Solr Version: 4.1.10
Search API Solr Admin Version: 4.1.10
We have a 4 level taxonomy Location and the hierarchy is as Region > Country > City > Office.
- APAC
- India
-- Mumbai
--- Mumbai Office
- Japan
-- Tokyo
--- Tokyo Office
The content type JOB
has 4 separate fields to capture the respective information. The application is also using SOLR to allow search for end user. The taxonomy is indexed into solr as region, county, city & office (separate indexes).
The application is also utilizing 4 separate facets to enhance search experience.
The observation is that when user selects input from 2 different facets (say one region APAC
and one city Tokyo
) the result is obtained based on AND operator. I believe the facets are setting up the search to narrow down.
Please note there is no issue with multiple inputs within a single facet - It works with OR operator.
Is there an option to allow OR operator among different facets. Say, a user selects country India and city Tokyo, is there a feasibility to fetch in data tagged with India OR Tokyo. At the moment, I get none as it looks for India AND Tokyo.
NA
NA
NA
NA
NA
I would mention that I am not sure if this request is even valid but some guidance/solution or workaround would be highly appreciated.
Thanks.
Active
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Hi, just wondering if anyone managed to achieve this?