This guide was created with Scribe in 3 minutes. Sign in and create your own!
SearchBox(Solr as search backend) workflow
Siddharth Kothari |
0 step |
3 minutes
First step is to make sure that Solr pipeline is configured, go to `Pipelines -> View Pipelines` section and check that a pipeline for `_reactivesearch` routes is enabled. Read pipeline in details at [https://docs.reactivesearch.io/docs/pipelines/concepts/](https://docs.reactivesearch.io/docs/pipelines/concepts/)
Zoom Saved
2
It is also possible to edit the search pipeline, for example you want to configure an authentication stage or record Analytics using a third party API.
Zoom Saved
3
Now, we would create a Searchbox to build a document search experience with popular, recent, featured & endpoint (index) suggestions.
Go to UI Builder section in ReactiveSearch Dashboard and click on Searchbox sub-section.
Zoom Saved
4
Create Searchbox
Zoom Saved
5
Define Searchbox ID (unique identifier) and description [optional], searchbox ID can be used in ReactiveSearch API to apply the suggestions settings. Read more at [https://docs.reactivesearch.io/docs/search/reactivesearch-api/reference/elasticsearch/#searchboxid](https://docs.reactivesearch.io/docs/search/reactivesearch-api/reference/elasticsearch/#searchboxid)
Zoom Saved
6
Select an existing API credentials or create a new one at 'Dashboard -> API Credentials' section. We recommend using read-only credentials for your public applications. Read more at [https://docs.reactivesearch.io/docs/security/credentials/](https://docs.reactivesearch.io/docs/security/credentials/)
Zoom Saved
7
In this step we would create a section, a section is a collection of featured suggestions.
Zoom Saved
8
Define section label to be displayed in searchbox UI
Zoom Saved
9
Let's create a featured suggestion for `Quick start guide` section
Zoom Saved
10
Fill all the fields to define a suggestion to feature react integration with Reactivesearch
Zoom Saved
11
Create second suggestion to feature vue integration with Reactivesearch
Zoom Saved
12
Fill all the fields and save
Zoom Saved
13
We have added two featured suggestions, let's have a look at what we build so far by clicking on Live Preview.
Zoom Saved
14
You can view all the featured suggestions when searchbox is empty
Zoom Saved
15
Let's search with some value, and you can see the relevant suggestions.
Zoom Saved
16
Configure popular suggestions, popular suggestions are the most searched queries by all the users. Read more at [https://docs.reactivesearch.io/docs/analytics/popular-recent-suggestions/](https://docs.reactivesearch.io/docs/analytics/popular-recent-suggestions/)
Zoom Saved
17
Enable popular suggestions
Zoom Saved
18
Let's check live preview, when we search for same value you can see the popular suggestions with trending icon at bottom
Zoom Saved
19
Let's configure recent suggestions. Recent suggestions represent the last searched queries by a particular user. Read more at [https://docs.reactivesearch.io/docs/analytics/popular-recent-suggestions/](https://docs.reactivesearch.io/docs/analytics/popular-recent-suggestions/)
Zoom Saved
20
Enable recent suggestions
Zoom Saved
Want to make guides like this in seconds? Yes, it's really that fast.
Show Me How
Have something to say?Create an account to leave messages for the author to see!Create an account
Feedback
This Scribe is in tip-top shape!Leave feedback if there are any issues with this Scribe