- 🇷🇺Russia _cosmos_ Izhevsk, Russia
I faced with the same issue on Drupal 10.
Why it was closed?Drupal\facets\Exception\InvalidQueryTypeException: Query type range doesn't exist. in Drupal\facets\Entity\Facet->pickQueryType() (line 545 of /app/web/modules/contrib/facets/src/Entity/Facet.php).
Still encountering this issue while selecting the price field to use the facet to sort the products via a price range slider. I am on D10, when I opened another bug report, it said detected spam, why was this issue closed?
- 🇷🇺Russia DD 85
In order to get rid of the error
Drupal\facets\Exception\InvalidQueryTypeException: Query type range doesn't exist. in Drupal\facets\Entity\Facet->pickQueryType() (line 545 of \modules\facets\src\Entity\Facet.php).
You need to set the field type to Integer on the page /admin/config/search/search-api/index/default_index/fields. If the Price field is configured.My Range slider appears, but as soon as I touch it, it disappears along with the search results. No errors appear in the log after disappearance.
I still have a question. Why, after enabling the widget, the Range slider is automatically enabled and the “Ensure that only one result can be displayed” setting becomes disabled?
D10