Search Results

your search of ""

Premium Extension

The Premium extension is different from other extensions. It is not setup in it’s own configuration page, but rather spread on almost all configuration pages. You can find Premium features in search and index definitions, boosts, facets, sort, and batch indexing. Here are some of Premium capabilities: Manage more than one Solr index Multi-domain search Use […]

March 15, 2017 admin

Geolocation Extension

In wpsolr, Geolocation search, also named proximity search or search by distance, consists of using the location of a visitor to improve the search results. What is it ? Imagine you are writing reviews of restaurants in your region (you’re living in France). It would be nice to show the restaurants close to your visitors, no ? Well, with wpsolr, you can. […]

March 15, 2017 admin

The WPSOLR search with Elasticsearch or Apache Solr

WPSOLR search is quite versatile, and can be declined in two flavours: Ajax, or standard (WPSOLR PRO only). The standard flavour is described in this document. The WPSOLR search with Elasticsearch / Apache Solr A common usage is for WooCommerce front-end search themes, which contain highly specific e-commerce features that should not need to be modified or replaced. Think […]

January 27, 2017 admin

Activate Extensions

WPSOLR PRO is built with WPSOLR as it’s core, plus extensions. Extensions are groups of features that extends the core capabilities with WordPress actions and filters. Each extension can be individually activated, deactivated, and configured. How to find extensions ? They are all placed in the tab “Activate Extensions”, but some of their configuration can be found in other tabs. […]

March 14, 2017 admin

Configure your indexes

Indexes store the data that you want to be searched. Most installations will need one, and only one, index that will store all the WordPress data searchable. Multilingual sites working with WPML or Polylang will need more indexes, exactly one index per language. One index will contain the English data, one the French data, and […]

March 9, 2017 admin

Collapse taxonomy hierarchies

Collapse facet hierarchies If your stores uses a lot of parent-child categories and you want to use them as facets (filters), it can be a real mess visually. What you need then is a way to collapse your categories: only show the children categories when the visitor needs to show and select them.   Here is the […]

April 7, 2017 admin

Custom Facets CSS

Custom Facets CSS Sometimes, you want to add your personal touch to the facets. With this option, it’s easy. Just enter your own css to adjust the facet look & feel. The css will be inserted in the html just before the facets code, which guarantees that it will override any global css property.

April 7, 2017 admin

Radiobox & Checkbox Layout

    Facets layouts: radio boxes, check boxes Radio boxes and checkboxes are simple layouts used to show texts as a list of selectable items. Check boxes enable to select several items of the same facet. It can be used in two situations: The facet items are multivalued: a post can have several values for the attribute or […]

April 7, 2017 admin

Numeric Range Layout

Facets layouts: numeric ranges Numeric ranges are usually used to show prices as a range, rather than as a list. But numeric ranges can also be used for any numeric value: in stock quantities, rating values, dimensions. The idea is to split a range of potential values in a fixed number of intervals (ranges). You fix […]

April 7, 2017 admin

Colour Picker Layout

Rather than showing the texts of colours (“red”, “blue”, “green” …) in a facet, why not show an image with the color as the background ?. The idea is to associate colours to your field values, by picking a colour with a colour picker. Choose the layout “Colour picker”   Select the layout “Colour Picker” Open […]

April 7, 2017 admin

Filters layouts

Filters layouts selection The Theme extension controls the facet layouts. Facet layouts are chosen on each facet to: Control how the facet items are displayed (radiobox, checkbox, regular range, custom range, …) Control how the facet items can be selected (select, multi-select, slider, date picker…) The layouts currently available are: Radiobox & Checkbox Layout Numeric Range Layout […]

April 7, 2017 admin

Add Ajax to the current Theme

What is it ? You want to keep your current Theme to display WPSOLR results, including filters. But you really like the default WPSOLR Ajax template ? Good news ! You can now add Ajax to your current Theme, even if your theme does not include Ajax features. How does it work ? Some sections […]

April 8, 2017 admin

Theme Extension

What is the “Theme” extension ? The “Theme” extension is managing some visual aspects of the search results: Collapse taxonomy hierarchies Custom Facets CSS Facets layouts Add Ajax to the current Theme  

March 14, 2017 admin

Index – Custom fields

Name WpSolrFilters::WPSOLR_FILTER_POST_CUSTOM_FIELDS Short description Modify custom fields before they are indexed. Long description A Solarium update document containing the post custom fields is ready to be sent to the Apache Solr index. You want to change some of the custom fields (add/update/remove). Examples Search in the plugin’s code (we eat our own dog food).  

October 11, 2016 admin

Index – Document

Name WpSolrFilters::WPSOLR_FILTER_SOLARIUM_DOCUMENT_FOR_UPDATE   Short description Modify a Solarium or Elastica update document before sending to Solr for indexing. Long description A Solarium update document is ready to be sent to the Apache Solr index. You want to change some of it’s properties, for instance add Solr fields. Examples Search in the plugin’s code (we eat our own […]

October 11, 2016 admin

Search results – Replace facets HTML

Name WpSolrFilters::WPSOLR_FILTER_FACETS_REPLACE_HTML Short description Replace the facets HTML in search results. Long description This filter concerns the wpsolr Ajax search facets, and the wpsolr facets widget. You want to replace the wpsolr facets html with your own. Examples Search in the plugin’s code (we eat our own dog food).

January 31, 2017 admin

Index – SQL statement

Name WpSolrFilters::WPSOLR_FILTER_SQL_QUERY_STATEMENT Short description Modify the SQL statement that retrieves post types to be indexed. Long description A SQL statement is build by the plugin. You want to change the SQL, for instance to add SQL joins with other WP tables.   Examples Search in the plugin’s code (we eat our own dog food).

October 11, 2016 admin

Search results – Posts

Name WpSolrFilters::WPSOLR_ACTION_POSTS_RESULTS Short description Modify posts before rendering in the theme search template. Long description Documents have been retrieved from a Solr query, and transformed in posts. You want to change the posts before they are rendered by your theme’s search template. Examples Search in the plugin’s code (we eat our own dog food).  

October 11, 2016 admin

Search results – Custom html

Name WpSolrFilters::WPSOLR_FILTER_SOLR_RESULTS_APPEND_CUSTOM_HTML Short description Append some custom HTML to search results. Long description This filter concerns the wpsolr Ajax search theme only. You want to add some html code to each search result snippet. Examples Search in the plugin’s code (we eat our own dog food).

October 11, 2016 admin

Search query – Fields list

Name WpSolrFilters::WPSOLR_FILTER_FIELDS Short description Modify the list of fields  requested by the search query. Long description You want to change the list of fields returned by the Solr query, for instance to add your own. Examples Search in the plugin’s code (we eat our own dog food).  

October 12, 2016 admin