Search: AI, Hybrid, Classic

  • Pricing
  • Help
    • My Licenses
      • Login
      • Download
      • Why us
      • Contact us
    • Features
      • Google Retail Search
      • Weaviate
      • Elasticsearch
      • OpenSearch
      • Solr
      • Algolia
      • Roadmap
      • Artificial Intelligence
      • Hosting
      • Releases
    • Documentation
    • Support
    • Testimonials
    • Live Demos
    • Blog
Menu
  • Pricing
  • Help
    • My Licenses
      • Login
      • Download
      • Why us
      • Contact us
    • Features
      • Google Retail Search
      • Weaviate
      • Elasticsearch
      • OpenSearch
      • Solr
      • Algolia
      • Roadmap
      • Artificial Intelligence
      • Hosting
      • Releases
    • Documentation
    • Support
    • Testimonials
    • Live Demos
    • Blog
Search
Search
Search
Search

Home » Your configuration journey, step by step » Add-ons » Directory+ add-on

Directory+ add-on

347 views 0 January 16, 2019 Updated on January 14, 2020

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
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.

WordPress Archive pages selection

 

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.

Directory+add-on: index items post type

 

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:

Add filters (facets) to Directory+ search

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
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):

Directory+ search with facets widget

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):

Index your Directory+ items

8) Nothing else!

Yes, that’s it. From now on, WPSOLR will replace your Directory+ MySQL queries with faster Elasticsearch/Solr queries.

Was this helpful?

Yes  No
Related Articles
  • Hybrid search
  • Question Answering
  • Cohere
  • OpenAI
  • HuggingFace
  • CLIP

Didn't find your answer? Contact Us

Previously
Cross-domain search add-on
Up Next
Toolset Views add-on
Expand All Collapse All
  • What is it WPSOLR ?
    • The standard WordPress SQL search
    • The WPSOLR search with Elasticsearch, Apache Solr, or Algolia
  • Your configuration journey, step by step
    • Install Apache Solr
    • Hosted Apache Solr and SolrCloud Services
    • Install Elasticsearch
    • Elasticsearch Hosting
    • Configure your indexes
      • Create a Google Retail search index
      • Create a Weaviate index
        • Transformers
        • CLIP
        • HuggingFace
        • OpenAI
        • Cohere
        • Question Answering
        • Hybrid search
      • Generate a test Apache Solr index
      • Generate a test Elasticsearch index
      • Create an Apache Solr index
      • Create a SearchStax SolrCloud index
      • Create an Elastic Elasticsearch index
      • Create an Amazon AWS OpenSearch index
      • Create an Algolia index
      • Create an Elasticsearch index
      • Create an Opensolr Solr index
      • Create a Qbox Elasticsearch index
      • Create an ElasticPress Elasticsearch index
      • Create an Aiven Elasticsearch or OpenSearch index
      • Create a Bonsai Elasticsearch index
      • Create an Amazon AWS Elasticsearch index
      • Create an ObjectRocket Elasticsearch index
      • Create a Cloudways Elasticsearch index
      • Create an Alibaba Cloud Elasticsearch index
      • Create a Compose Elasticsearch index
      • Connect to an Apache Solr index
      • Connect to an Elasticsearch index
    • Add-ons
      • bbPress add-on
      • YITH WooCommerce Ajax Search add-on
      • SEO add-ons
        • Yoast SEO add-on
        • All in One SEO add-on
      • Listable add-on
      • ACF add-on
      • Advanced Scoring add-on
      • Cron Scheduling add-on
      • Theme add-on
        • Filters layouts
          • Radiobox & Checkbox Layout
          • Numeric Range Layout
          • Colour Picker Layout
          • Range Slider Layout
        • Add Ajax to the current Theme
        • Collapse taxonomy hierarchies
        • Custom Facets CSS
      • WPML add-on
      • Premium add-on
        • Manage more than one Elasticsearch or Solr index
      • PDF Embedder add-on
      • Geolocation add-on
      • AI Natural Language APIs add-on
        • Amazon Comprehend
        • Google Natural Language
        • Aylien Text Analysis
        • MeaningCloud
        • Qwam Text Analytics
      • Toolset Types add-on
      • AI Image and OCR APIs add-on
        • Google Vision
        • Amazon Rekognition
      • Embed Any Document add-on
      • MyListing add-on
      • Polylang add-on
      • WooCommerce add-on
      • Cross-domain search add-on
      • Directory+ add-on
      • Toolset Views add-on
      • Listify add-on
      • Jobify add-on
      • Query Monitor add-on
  • Quick start
Login
Support
Privacy policy
  • Terms and Conditions
  • © 2020 wpsolr.com. All Rights Reserved.
Youtube
Roadmap