How to use solr-query API?

Published: 30 June 2022
on channel: HotWax Developer Network
1,847
8

#ionic #ionicframework #vue #vuejs #javascript #solr

In this video we will see how we retrieve data through solr query in HotWax Commerce apps.

Solr query is an api which takes query in payload, searches the solr index and returns a JSON response. Response consists of a result list along with the facets(optional).

Solr works by gathering, storing and indexing documents from different sources and making them searchable in near real-time. It follows a 3-step process that involves indexing, querying, and finally, ranking the results – all in near real-time, even though it works with huge volumes of data.

Important terms:
filters: filters are to apply some filter conditions.

facets: Faceting allows the search results to be arranged into subsets (or buckets or categories), providing a count for each subset.

query: Solr’s query parameter (query) with a special syntax (*:*) requests all documents in the index. It means any of key and value in the map.

Result grouping groups documents together with a common property and places these documents under a group. It allows you to group search results by specific property.

App links:
https://github.com/hotwax/commerce-hub
https://github.com/hotwax/receiving

Created By : Azkya Khan
LinkedIn :   / azkya-khan-8747171a2  


Watch video How to use solr-query API? online without registration, duration hours minute second in high quality. This video was added by user HotWax Developer Network 30 June 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,84 once and liked it people.