Search Results

your search of ""

How to use jQuery selectors ?

jQuery selectors in wpsolr are used to associate live suggestions and geolocation to your theme’s search box(es). When the wpsolr javascript code needs to identify your search box(es), to attach specific events, it does so by using jQuery selectors. What is jQuery ? jQuery is a javascript library, widely used to simplify the manipulation of the elements

October 5, 2016 admin

How to index and search custom fields stored in custom tables ?

The problem Let say you’re using a plugin that does not store it’s post fields in custom fields meta. But you’d like to filter those fields, sort them, translate them, as WPSOLR does for all other custom fields. For instance, WooCommerce product attributes and variations are stored in a custom table. The solution described below is used internally by

November 30, 2016 admin

What is our Solr php client library ?

Apache Solr is a HTTP API, as explained here. To get access to Apache Solr from the php plugin code, we could have developed our own http wrapper, but it would have been foolish. Instead, we are using the Solarium php Solr client library. It is a neat object oriented code which takes care of

October 11, 2016 admin

What is our Elasticsearch php client library ?

Elasticsearch is a Web API, as explained here. To get access to Elasticsearch from the php plugin code, we could have built our own http library, but it would have been crazy. Instead, we are using the Elastica php Elasticsearch client library. It is a fine object oriented code which takes care of wrapping/unwrapping php objects to and from json over http. We

March 8, 2017 admin