For More Clarification Please
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
TripleM-SearchUI is a configurable Solr Search component for Sitecore 9.2 that can allow the developer to run solr search queries without writing code by using set of settings and operators in sitecore tree.
Solr Search component tested with the following versions:
This is steps of the instructions on setting up your project locally. To get a local copy up and running follow these simple steps.
list things you need to use the component.
- Local instance of Sitecore9.2 up and runing on Solr 8.2.0
- Download sitecore module (Mhasasneh SearchUI-1.0.0.zip)
- Use sitecore installation wizard in order to isntall the module
- That's it we are done :), you should be able to see the follwoing settings template
Now you will be able to create new settings for your search as follwoing:
1- Create setting item from /sitecore/templates/Project/TripleM/Search/Search Settings
2- Create setting scope item in order to get all items with sub children under specific root.
3- Select the root item from the list
4- Create Search Results Setting item from /sitecore/templates/Project/TripleM/Search/Search Results Fields
5- Add the search results fields separated by comma that you want to see in the view result, please make sure they have the same name of the item property.
EX: searching for the news item and i want to show title, name and description
6- Add the search rendering to your page
7- Select the Search Settings that you created as datasource
8- Open your page and check the search result you will get all items and all childrens under the scope
EX: searching for all items under the news scope, in this case you will get all items with different template types
But what if i need only news type? in this case we need to create Queries settings as following:
9- Create Queries settings item from /sitecore/templates/Project/TripleM/Search/Queries
10- Create template id query and fill the value of template id
Reload the page again , you will get the news type only
Also The search component support the follwoing Queries and operators
1- Facets You can create facets for any type of item. EX: news category
2- Queries a) Date Query with 5 operators (< , > , = , <= , >=)
And because the operators build on builder design you can easlly implement new operator
b) Number Query with 5 operators (< , > , = , <= , >=)
3- Multiple Partial Word Query , you can search for multiple word
4- Highlight Query
Distributed under the MIT License. See LICENSE
for more information.
Mohannad Alhasasneh - @MohannadAlhasa2 - [email protected]
Project Link: [https://github.com/hasasnh/Mhasasneh-SearchUI-develop)