Clear filters
Date
Type
  • Forum reply (4108)
  • Forum topic (754)
  • topic-tag (257)
  • Guide (152)
  • Forum (86)
  • manual_kb_tag (79)
  • manualknowledgebasecat (47)
  • page (26)
  • post_tag (16)
  • category (13)
  • manualdocumentationcategory (9)
  • knowledge base (8)
  • manualfaqcategory (5)
  • Show more Show less
Color
Showing 1 to 9 results out of 186
Facets layouts: Range slider A Range Slider is an intuitive user interface to position a number within a range. A typical Range Slider usually can be used to filter results between two prices, or two dates. WPSOLR uses the ion.rangeSlider javascript library to render the Range Slider control user interface. This library is very popular, and very flexible. As we will see, WPSOLR is able to accept all the ion.rangeSlider parameters, to customize your slider filters with tens of features. The WPSOLR Range Slider can work both with numbers and dates. Both are described below in their own chapter. 1) Activate the Advanced Layout add-on Range sliders are part of the Advanced Layout add-on (also name "Theme" add-on). You need to activate it, to be able to select and configure the Range Slider facets. Theme add-on activation 2) Numbers Range Slider a) Select the custom field(s) (like WooCommerce "_price", or "rating", or "_stock", ...), which contain numbers and are configured with type "Integer" or "Float" in screen 2.2 b) Save c) Set a field label if necessary, and select the "Range Slider" layout. You can also translate your field label with WPML/Polylang string modules d) Save e) Select the Range Slider "Skin". The skins are predefined css applied to the slider. f) Set the ion.rangeSlider javascript options to customize how your slider will look like (money prefix, decimal separators, grid ....). You can also translate your javascript options with WPML/Polylang string modules. For instance, to show a "$" prefix for language "en-US", and "€" for language "fr-FR". For instance, to round decimals: wpsolr_ion_range_slider_options = { grid: true, prefix: "€", prettify: function my_prettify (n) { return Math.floor(n); }}; g) Save h) Add the "WPSOLR Facets" widget to your search Ion.rangeSlider: configure number custom field Here is how your search facets could look like, then: Ion.rangeSlider: number filters 3) Dates Range Slider Ion.rangeSlider: configure date filters with different locales Ion.rangeSlider: results with date filters and different locales displaydate_dt is the post type modification date. Let's format it as a US formatted date: wpsolr_ion_range_slider_options = { grid: true, prettify: function tsToDate (ts) { var lang = "en-US"; var d = new Date(ts); return d.toLocaleDateString(lang, { year: 'numeric', month: 'long', day: 'numeric' }); } }; Ion.rangeSlider: date formatted with "us-US" locale displaymodified_dt is the post type creation date. Let's format it as a Japanese formatted date: wpsolr_ion_range_slider_options = { grid: true, prettify: function tsToDate (ts) { var lang = "ja-JA"; var d = new Date(ts); return d.toLocaleDateString(lang, { year: 'numeric', month: 'long', day: 'numeric' }); } }; Ion.rangeSlider: date formatted with Japanese "ja-JA" locale wpsolr_date_custom_field is a custom field, configured in screen 2.2 with a date type. Let's format it as a French formatted date: Ion.rangeSlider: format a custom field as a date wpsolr_ion_range_slider_options = { grid: true, prettify: function tsToDate (ts) { var lang = "fr-FR"; var d = new Date(ts); return d.toLocaleDateString(lang, { year: 'numeric', month: 'long', day: 'numeric' }); } }; Ion.rangeSlider: date formatted with French "fr-FR" locale WPSOLR - User guide...
By wpsolr , on 01/22/2019

The Jobify add-on for WPSOLR is deceptively simple. Configure WPSOLR as usual, activate the add-on, and that's it. All your jobs search are now accelerated as if by magic. No extra-setup, no knowledge of Elasticsearch or Solr are even required. Below are explained the steps to activate the add-on. Notice that most steps are optional. If you prefer watching the full tutorial showing the setup of WPSOLR with Jobify: With Elasticsearch: 1) Create an index For Elasticsearch: Video: Create an Elasticsearch index automatically For Solr: Video: Create an Apache Solr index semi-automatically For SolrCloud: Video: Create an Apache SolrCloud index automatically You can also want to search for more informations on index creation, Elasticsearch, Apache Solr, or Elasticsearch/Solr hosting providers. Or just browse the Elasticsearch/Solr forums. 2) Activate the Jobify add-on The only action required for the add-on is to activate it. The add-on will then operate in the background to transform mySQL queries in Elasticsearch or Solr queries. Therefore, no other Jobify configuration is necessary. Jobify add-on activation 3) Select the archive types to speed up Pick the archive search page (which you want to accelerate with WPSOLR), among the 8 archive types. 4) Index the "Jobs" post type This step is mandatory. Select the "Jobs" post type, and its taxonomies and custom fields in screen 2.2: items will be indexed, and only then their custom fields can be used as a facet or a sort in Elasticsearch or Solr. Jobify add-on: index "Jobs" post type 5) Index your content You created your index, configured it. It's now time to fill it with your data (selected in screen 2.2): Index your Jobify jobs 8) Nothing else! Yes, that's it. From now on, WPSOLR will replace your Jobify MySQL queries with faster Elasticsearch/Solr queries. WPSOLR - User guide...
By wpsolr , on 01/18/2019

WPSOLR PRO + Jobify Theme + Elasticsearch This video suppose you already have installed a local Elasticsearch. You will see how to setup WPSOLR PRO to speedup the Listify search, including geolocation, with: Jobify Theme Your local Elasticsearch What is the "Jobify Theme" extension ? Jobify is made for huge jobs searches, including geolocation. As soon as the number of jobs grows, so is the time to display search results to visitors. WPSOLR PRO transparently replaces Jobify searches and sorting with Elasticsearch searches. The best way to speed up jobs searches, whatever the number of jobs, even millions. What is in the video ? The video shows how to: Import the Jobify data examples Create and configure automatically an Elasticsearch index Activate and set up the WPSOLR PRO Jobify Theme extension Browse live searches and filters, including location and categories WPSOLR - Video Tutorials...
By wpsolr , on 01/18/2019

WPSOLR PRO + Directory+ Theme + Elasticsearch This video suppose you already have installed a local Elasticsearch. You will see how to setup WPSOLR PRO to speedup the Directory+ search, including geolocation, with: Directory+ Theme Your local Elasticsearch What is the "Directory+ Theme" extension ? Directory+ is made for huge items searches, including geolocation. As soon as the number of items grows, so is the time to display search results to visitors. WPSOLR PRO transparently replaces Directory+ searches and sorting with Elasticsearch searches. The best way to speed up items searches, whatever the number of items, even millions. What is in the video ? The video shows how to: Import the Directory+ data examples Create and configure automatically an Elasticsearch index Activate and set up the WPSOLR PRO Directory+ Theme extension Browse live searches and filters, including geolocation and distance filters WPSOLR - Video Tutorials...
By wpsolr , on 01/17/2019

The Listify add-on for WPSOLR is deceptively simple. Configure WPSOLR as usual, activate the add-on, and that's it. All your listings search are now accelerated as if by magic. No extra-setup, no knowledge of Elasticsearch or Solr are even required. Below are explained the steps to activate the add-on. Notice that most steps are optional. If you prefer watching the full tutorial showing the setup of WPSOLR with Listify: With Elasticsearch: With Apache Solr: 1) Create an index For Elasticsearch: Video: Create an Elasticsearch index automatically For Solr: Video: Create an Apache Solr index semi-automatically For SolrCloud: Video: Create an Apache SolrCloud index automatically You can also want to search for more informations on index creation, Elasticsearch, Apache Solr, or Elasticsearch/Solr hosting providers. Or just browse the Elasticsearch/Solr forums. 2) Activate the Listify add-on The only action required for the add-on is to activate it. The add-on will then operate in the background to transform mySQL queries in Elasticsearch or Solr queries. Therefore, no other Listify configuration is necessary. Listify add-on activation 3) Select the archive types to speed up Pick the archive search page (which you want to accelerate with WPSOLR), among the 8 archive types. 4) Index the "Listings" post type This step is mandatory. Select the "Listings" post type, and its taxonomies and custom fields in screen 2.2: items will be indexed, and only then their custom fields can be used as a facet or a sort in Elasticsearch or Solr. Listify add-on: index "Listings" post type 5) Index your content You created your index, configured it. It's now time to fill it with your data (selected in screen 2.2): Index your Listify listings 8) Nothing else! Yes, that's it. From now on, WPSOLR will replace your Listify MySQL queries with faster Elasticsearch/Solr queries. WPSOLR - User guide...
By wpsolr , on 01/17/2019

The Directory+ add-on for WPSOLR is deceptively simple. Configure WPSOLR as usual, activate the add-on, and that's it. All your items listings search are now accelerated as if by magic. No extra-setup, no knowledge of Elasticsearch or Solr are even required. Below are explained the steps to activate the add-on. Notice that most steps are optional. If you prefer watching the full tutorial showing the setup of WPSOLR with Directory+: 1) Create an index For Elasticsearch: Video: Create an Elasticsearch index automatically For Solr: Video: Create an Apache Solr index semi-automatically For SolrCloud: Video: Create an Apache SolrCloud index automatically You can also want to search for more informations on index creation, Elasticsearch, Apache Solr, or Elasticsearch/Solr hosting providers. Or just browse the Elasticsearch/Solr forums. 2) Activate the Directory+ add-on The only action required for the add-on is to activate it. The add-on will then operate in the background to transform mySQL queries in Elasticsearch or Solr queries. Therefore, no other Directory+ configuration is necessary. Directory+ add-on activation 3) Select the archive types to speed up Pick the archive search page (which you want to accelerate with WPSOLR), among the 8 archive types. 4) Index "Items" This step is mandatory. Select the "Items" post type, and its taxonomies and custom fields in screen 2.2: items will be indexed, and only then their custom fields can be used as a facet or a sort in Elasticsearch or Solr. 5) Configure facets (Optional) Facets are the dynamic filters you probably saw on WooCommerce sites like Amazon. You can select any of the custom fields and taxonomies you previously chose in screen 2.2. a) First add the facets: b) Save the facets 6) Add WPSOLR facets widget (Optional) Once you configured the facets in screen 2.4, you can add the WPSOLR Facets Widget to each archive type sidebar. Add facets widget Here is how the facets widget look like on the front-end, within the Directory+ search results page (after you indexed all your documents): 7) Index your content You created your index, configured it. It's now time to fill it with your data (selected in screen 2.2): 8) Nothing else! Yes, that's it. From now on, WPSOLR will replace your Directory+ MySQL queries with faster Elasticsearch/Solr queries. WPSOLR - User guide...
By wpsolr , on 01/16/2019

Video tutorial: Toolset Views archives configuration with Elasticsearch This video suppose you already have installed a local Elasticsearch. You will see how to setup WPSOLR PRO to search, index, and filter with: Toolset Views plugin TwentySixteen theme Your local Elasticsearch  You will watch how to replace Toolset Archive Views SQL queries with Elasticsearch queries. WPSOLR - Video Tutorials...
By wpsolr , on 12/10/2018

What is the toolset views add-on The toolset add-on makes it possible for the toolset plugin to work in tandem with WPSOLR. With the toolset plugin you can tailor WordPress to your individual needs. You can create custom post types, fields and taxonomies. You can create templates, archives, grids, tables and lists. Install the Toolset plugin Click on "Plugins" then on "Add New". Click on "Add plugins" then on "Upload Plugin". Add the toolset plugins. You will have to upload the toolset views and the toolset types plugins. Install the Query monitor plugin Click on "Add New". Install the Query monitor plugin. Create a WPSOLR index Click on the WPSOLR plugin. Click on "Connect to your search server or search service". Choose the Search engine and the hosting service. Then pick the WPSOLR index name. Lastly, fill in the endpoint url, user and password you got from the hosting service. Add the Toolset add-ons Click on "Activate extensions" to install the toolset add-ons. Click on "Toolset Types" in the sidebar. Click on the first checkbox to activate the add-on. If you select the second checkbox, you will replace WPSOLR facets label with Toolset Types label. Click on Toolset Views next. Click on the first checkbox to activate the plugin and replace the Toolset archives and views queries with WPSOLR queries. The second checkbox allows you to use Toolset Views caching but you don't need it since WPSOLR already speeds up your search. If you want to have more options when customizing search filters, you will need to activate the Theme add-on. For example you will not be able to use a slider without the Theme add-on. Click on the first checkbox to activate the extension then save. Click on "Query Monitor" in the sidebar. Then click on the checkbox to activate the add-on. Configure WPSOLR Click on "Define your search with 'No index selected'". Click on "Search" then click on "Search with this search engine index" and select the index. Then save. Don't forget to log the search engine queries in Query monitor. Click on "Data" in the sidebar. Then on the content you would like to use. Here i chose products. Choose the taxonomies you would like to use. Then choose fields you would like to use. if you want to use a slider for example, you will have to change the type of the field. For the price field i chose to use floating point numbers and integer numbers for the stock field. When you've saved the changes, click on "Filter" in the sidebar. Then click on the facets you would like to use as filters. Then save You can then customize the filters. Choose a name for the filter. It will be shown on the front end. Then pick a layout. I decided to use the range slider. You can pick a skin to use with the slider as well. Do the same thing for the stock filter. For the stock status i used check boxes but I changed the title of the item label. To change it, click on "Override each item label" then choose the title you want. Index the content Click on "Send your data". Then click on "Index selected post types". Install the WPSOLR facet widget Click on "Customize" in the frontend part of your website. Click on "Widgets". Then click on "Sidebar". And click on "Add a widget". Type in "WPSOLR Facets" then publish. Create Toolset archive Hover your mouse over "Toolset" in WordPress admin, then click on "WordPress Archives". Click on "Add New". You will then see this page. Choose the loop the archive will be used for then choose what kind of archive you want. I chose one with custom search. Then name the WordPress Archive. You should see this page. You can further customize the archive if you want but i chose to leave the defaults. Then if you scroll down you should see these to images. In the first image we can see that the layout is started and the items are fetched. The number of items counted are displayed next to the phrase "Item count:" and the number of items found are displayed next to the phrase "Items found:". The page number is displayed next to the word "Page:" and the total number of pages is displayed next to "Total pages". The loop starts and a table is created. In the table is stored the wpsolt title (in this case the product title) and the wpsolr excerpt (product excerpt and featured image). We then define for how many products this process will be repeated and the loop ends. the wpv-items from before are displayed. if none are found, then the message "No items found" is displayed. You can also write some CSS. Here the nav links are displayed inline and the pagination is not displayed. Here the products link are displayed, as well as the excerpt and the product category. Test website search Here is how the websites search looks like without the toolset plugins. Here is how it looks like with the toolset plugins activated. Of course further customization is possible if you want fine tune the appearance of the results. If you want to see the differences, here is some information about the query when Toolset is deactivated. This is the information we see when WPSOLR is deactivated. If you need additional explanations you can watch this video: https://www.youtube.com/watch?v=j8NUf6vAxvo&t=246s WPSOLR - User guide...
By wpsolr , on 12/08/2018

You manage several related Wordpress sites/multisites, and wish to aggregate their search results in a single super search. Thankfully, you can achieve just that with WPSOLR's cross-domain search. You can read the general concepts of cross-domain search on the knowledge base article How to consolidate the search from several domains. Also, you can ask questions and learn from others in our dedicated cross-domain search forum. The general ideas are as follow: A search "network" share a single Elasticsearch/Solr index. In the index, a unique site id is tagging each network document. One can setup any site in the network, to retrieve only in its own tagged documents from the shared index. It's called "local search" settings. One can setup any site in the network, to retrieve all documents from the shared index. It's called "global search" settings. Activate the cross-site add-on wpsolr admin cross-domain search activate addon Create the cross-site search index A network of sites share a single index. The plugin will create this index as usual on your first site. Then reuse the exact same index settings on your other sites, so WPSOLR can reuse the same index. Its schema is no different from any ordinary WPSOLR index schema. The only difference is that, during the indexing phase, each site will mark its documents with a specific tag. Note that you can create several network indexes, to configure as many cross-domain searches among all your sites. Configure a local site search Select the cross-domain search type "local". Configure your search, then index your documents. Unfortunately, local suggestions cannot filter results by the current site id. They are therefore deactivated. It is a limitation of Elasticsearch and Solr. But you can select your own theme search template to display the local search results. wpsolr admin cross-domain search select-local Configure a global site search Select the multi domain search type "global". Configure your search, then index your documents. Global suggestions will work, because they do not need to be filtered by the current site id. You can only select the default WPSOLR Ajax search template to display the global search results. Because only this template is designed to show urls of post ids belonging to other sites from the current network. wpsolr admin cross-domain search select-global Limitations Cross domain search search does not support: - Suggestions in local site searches, because suggestions cannot be filtered by the site id. - The current theme search.php template with global searches. Only the shortcode Ajax template. Because search.php is not meant to build and display urls for post ids existing in other sites. WPSOLR - User guide...
By wpsolr , on 12/05/2018

en English
X