Title: Mori AI Search
Author: Troy
Published: <strong>23 de setembre de 2025</strong>
Last modified: 21 de maig de 2026

---

Cerca extensions

![](https://ps.w.org/mori-ai-search/assets/banner-772x250.png?rev=3366623)

![](https://ps.w.org/mori-ai-search/assets/icon-256x256.gif?rev=3366623)

# Mori AI Search

 Per [Troy](https://profiles.wordpress.org/redclaytroy/)

[Baixa](https://downloads.wordpress.org/plugin/mori-ai-search.2.1.0.zip)

 * [Detalls](https://ca.wordpress.org/plugins/mori-ai-search/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/mori-ai-search/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/mori-ai-search/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/mori-ai-search/#developers)

 [Suport](https://wordpress.org/support/plugin/mori-ai-search/)

## Descripció

WordPress search is literal. Mori is semantic. When someone searches “pricing” or“
services,” they get the pages that actually answer those needs, not just posts that
happen to repeat the keyword. Mori blends embeddings (vector representations of 
meaning) with practical controls like post type weighting and tag filtering.

Mori AI Search upgrades your site’s search from basic keyword matching to smart,
context-aware results. It builds a structured index of your content using AI, so
visitors can find the right page, file, or answer faster. You control what gets 
indexed, how results are ranked, and which post types matter most. Power users get
a clean REST API for custom front ends and integrations.

#### What it does

 * Creates a rich index of posts, pages, custom post types, and attachments
 * Generates AI-assisted metadata during indexing: keywords, auto-tags, and summaries
   you can refine with manual tags
 * Ranks results by semantic similarity, then applies weights by post type to surface
   what matters first
 * Exposes a simple REST API for search, prompts, and admin actions so you can build
   your own UI or integrate with other tools
 * Lets you exclude items from the index and override tags for precise control
 * Supports PDFs uploaded via the settings screen. Text is extracted and indexed
   alongside your content

#### Key features

**Structured index**

 * Pages, posts, custom post types, and attachments
 * AI-generated keywords and auto-tags, plus manual tags you define
 * Priority flags and per-post type weights for ranking control

**Admin controls**

 * Single settings screen for API key, prompts, extra context, and PDF uploads
 * One-click reindex that runs in batches via WP-Cron to avoid timeouts
 * Exclusion and tagging interface with incremental loading for large sites

**Search API**
 Use the REST API when you want to build a custom search form, headless
front end, theme integration, or custom JavaScript search experience. Most site 
owners can use the shortcode or menu option instead.

 * `/ai-search/v1/search` with support for `query`, `context`, `tag`, and `post_type`
   filters
 * Returns normalized data with merged tags, keywords, and scoring details
 * Built-in heuristics to recognize “main pages” or “site map” queries and return
   primary navigation
 * Optional debug mode that includes similarity scores and SQL filters in the response

**Performance-minded**

 * Embedding inputs are trimmed to roughly 8k tokens (about 32k characters) per 
   item
 * Batched reindexing with a default of 20 items per run, adjustable via constant
 * Data stored in a dedicated MySQL table for fast lookups

#### 🈺 Mori AI Search Pro

Mori AI Search is fully usable on its own. For sites that need deeper customization
and reporting, Mori AI Search Pro is available as a separate premium companion plugin.

Pro adds advanced tools for:

 * Search analytics and query insights
 * ACF and selected custom field indexing
 * Front-end styling controls for the search overlay
 * Voice search support (coming soon)

Learn more about Mori AI Search Pro at [moriaisearch.com](https://moriaisearch.com/).

#### How it works

 1. Add your OpenAI API key on the Mori settings page.
 2. Start a reindex. Mori queues all eligible content and processes it in batches via
    WP-Cron.
 3. For each item, Mori generates an embedding, proposes tags, extracts 3–5 keywords,
    and saves everything to the index table.
 4. When a visitor searches, Mori computes similarity between the query and the stored
    embeddings, applies your weights, filters by tag or post type if requested, and
    returns the top results.

#### Typical use cases

 * Marketing sites that need “what is pricing” and “services” to land on the right
   pages
 * Documentation portals that benefit from keywords and tag filters
 * Media libraries where PDFs and attachments must be discoverable
 * Headless or decoupled setups that want a clean REST search layer

### Adding Mori Search to your site

After indexing your content, you can add Mori Search to the front end in three common
ways.

#### Shortcode

Add the search trigger anywhere shortcodes are supported:

[aiws_search]

To show a visible label next to the icon:

[aiws_search label=»Search»]

You can change the label text:

[aiws_search label=»Ask Mori»]

#### WordPress menu

You can add Mori Search to a WordPress navigation menu.

 1. Go to Appearance  Menus.
 2. Add a Custom Link.
 3. Set the URL to `#`.
 4. Set the Navigation Label, such as `Search` or `Ask Mori`.
 5. Add the CSS class `ai-search-menu-item`.
 6. Save the menu.

If you do not see the CSS Classes field, open Screen Options at the top of the Menus
screen and enable CSS Classes.

Mori will replace that menu item with the search trigger. If you entered a Navigation
Label, Mori will show the icon and label on the front end.

#### Custom front ends

Developers can also call Mori through the REST API:

/ai-search/v1/search

### Keywords, tags, and ranking control

Mori uses several signals to decide which pages should appear for a search:

 * Semantic similarity from embeddings
 * Page title and content
 * AI-generated keywords
 * Auto-tags and manual tags
 * Post type weights
 * Priority settings

During indexing, Mori automatically generates keywords for each indexed item. These
keywords help Mori recognize important terms, phrases, acronyms, services, document
types, and alternate wording that may not be obvious from semantic matching alone.

You can review and edit keywords in the index table/admin interface. This is useful
when:

 * A page should appear for a common search phrase
 * A service has acronyms or alternate names
 * A PDF or attachment needs to be easier to find
 * A page is relevant even though the exact wording is not repeated often
 * You want to improve results for specific searches without rewriting page content

Examples:

 * Add `form 990`, `public disclosure`, or `tax return` to a nonprofit PDF.
 * Add `HIV care`, `HIV testing`, or `PrEP` to a healthcare service page.
 * Add product, department, service, or location terms that visitors commonly search
   for.

Keywords should be short, specific, and search-oriented. They work best as relevance
hints, not as long descriptions.

#### Data and privacy

 * Nothing is sent to OpenAI until you add an API key.
 * During indexing, only the content needed to build embeddings and metadata is 
   transmitted. That typically includes title, excerpt, main content, and for attachments
   the extracted text of PDFs you choose to upload through Mori.
 * During a search, the query and optional context are sent to calculate similarity
   or generate an answer when your configuration calls for it.
 * Review your own privacy policy to disclose how search data is handled on your
   site. See OpenAI’s Terms of Use and Privacy Policy for provider details.

### Recommended setup checklist

 1.  Add your OpenAI API key.
 2.  Choose which post types should be indexed.
 3.  Set post type weights so your most important content types rank appropriately.
 4.  Upload or select PDFs you want Mori to index.
 5.  Run a full reindex.
 6.  Add Mori to the front end using the shortcode, menu item, or REST API.
 7.  Test common visitor searches.
 8.  Review results, then adjust keywords, manual tags, priority settings, or post 
     type weights as needed.
 9.  Reindex after major content changes or when adding important new files.

### Roadmap

 * Additional performance improvements
 * Expanded search tuning controls
 * WooCommerce filters and merchandising signals

## Instal·lació

 1. Upload the plugin files to `/wp-content/plugins/mori-ai-search` or install directly
    from the WordPress plugins screen.
 2. Activate the plugin.
 3. Go to Settings  Mori AI Search and enter your OpenAI API key.
 4. Optionally add a system prompt and additional context to guide metadata generation
    and answers.
 5. Start a full reindex. Large sites will process in background batches.
 6. Use the REST API in your front end or connect your theme’s search UI.

## PMF

### Does Mori replace the front-end search UI?

Yes. Mori includes a lightweight search trigger and overlay that you can add with
a shortcode or WordPress menu item. Developers can also use the REST API to build
a custom search experience.

### Can I control what is indexed?

Yes. You can exclude specific posts or pages, control post type weights, and add
manual tags.

### Will it index PDFs?

Yes, PDFs uploaded through the Mori settings screen are sent for text extraction
and indexed as attachments.

### How many results are returned?

The API fetches up to 80 candidates, ranks them, and returns the top 5 by default.
You can adjust this in your integration.

### What happens if I remove the API key?

Indexing and AI features stop. Your existing index table remains until you clear
it.

### Is this GDPR compliant?

Compliance depends on your configuration and disclosures. Mori only sends data after
you provide a key. You remain the controller of your site’s data. Review OpenAI’s
policies and update your privacy policy accordingly.

### Is there a shortcode for the search UI?

Yes. Use `[aiws_search]` to render the search icon and overlay trigger anywhere 
on your site. To add a label via the shortcode you can do this: `[aiws_search label
="Search"]`.

### How do I improve results for a specific search?

Start by checking whether the right page, post, or attachment is indexed. Then review
its keywords, tags, priority setting, and post type weight. Add specific phrases
visitors are likely to search for, especially acronyms, service names, document 
names, locations, and alternate wording.

### Is there a Pro version?

Yes. Mori AI Search Pro is available as a separate premium companion plugin for 
sites that need analytics, ACF/custom field indexing, styling controls, and voice
search. Mori AI Search works on its own without Pro. Learn more at [moriaisearch.com](https://moriaisearch.com/).

## Ressenyes

![](https://secure.gravatar.com/avatar/474687874ebdb828e990dfbd28ce95bf201c9745bbfef97feab9709abb6dcba5?
s=60&d=retro&r=g)

### 󠀁[Great search plugin!](https://wordpress.org/support/topic/great-search-plugin-38/)󠁿

 [pisequence](https://profiles.wordpress.org/pisequence/) 22 de maig de 2026

This was recommended to me by a friend who stumbled upon this. Really useful search
plugin. You can tell a lot of thought went into improving WordPress’s default search.
I’ve tried other search plugins, and most of them fail to sort and list results 
properly.

![](https://secure.gravatar.com/avatar/512c1c1383198996ba4a8e0054c8f0156712eb1ed11729f2372954c39f5103c7?
s=60&d=retro&r=g)

### 󠀁[Excellent](https://wordpress.org/support/topic/excellent-14252/)󠁿

 [justanothernerd](https://profiles.wordpress.org/justanothernerd/) 7 de maig de
2026 1 resposta

This was the only AI Search plugin that included options for the specific needs 
we had. It looks and works great, and is very flexible in what is indexed / searched.
Support has been wonderful in quickly fixing the minor bugs we encountered, and 
with feature requests.Thank you for producing a great plugin!

 [ Llegiu totes les 2 ressenyes ](https://wordpress.org/support/plugin/mori-ai-search/reviews/)

## Col·laboradors i desenvolupadors

«Mori AI Search» és programari de codi obert. La següent gent ha col·laborat en 
aquesta extensió.

Col·laboradors

 *   [ Troy ](https://profiles.wordpress.org/redclaytroy/)

[Traduïu «Mori AI Search» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/mori-ai-search)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/mori-ai-search/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/mori-ai-search/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/mori-ai-search/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/mori-ai-search/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 2.1.0

 * Improved search results to account for varying website sizes and structures. 
   For larger sites, Mori combines semantic search with practical relevance signals.
   It can use topic-specific terms, keywords, tags, post type weights, and priority
   settings to keep results and references connected to pages that actually support
   the answer.
 * We continue to test the plugin on all different types of sites for better answer
   results.
 * Added the ability to add labels to the search icon action with the shortcode 
   and/or via the WordPress menu.
 * Added the ability to adjust keywords in the index table, and adjusted how the
   search function pulls that keyword information. During the initial index of your
   site, the plugin will generate keywords automatically for that content. Then 
   you can edit or adjust those keywords as you see fit.
 * Improved documentation.

#### 2.0.3

 * Documentation update to include information about Pro release.

#### 2.0.2

 * Add the ability to change the frontend Title and Subtitle from the Settings screen.
 * Updated the Subtitle HTML to

<

h4> instead of

<

h5> to align with SEO best practices.
 * Fixed the ability to remove Pages, Posts,
and/or Media from the index in the «Index Priority» settings.

#### 2.0.1

 * Fixed a settings save issue that could trigger a fatal error in some admin requests
   and improved partial settings saves so unrelated Mori AI Search options are preserved.

#### 2.0.0

 * Added a new feature if the search can’t find a matching result, it will preform
   an additional broader search.
 * Added a message to users when an initial search doesn’t find a confident match,
   so the user understand why the search is taking longer than normal.
 * Added a query parameter «?mori-chat» to search results links so that you can 
   see what pages users are visiting from search in tools like Google Analytics.
 * Improved backend UX.
 * Improved lookups for content tagged «People» to account for large staff directories.
 * Improved the debugging tools.
 * Consolidated lookup functions to follow more specific paths.
 * Removed old unnecessary code.
 * Fixed how inline links were displaying.
 * Fixed bugs during the Setup Wizard.
 * We’ve focused a lot on accuracy up to this point, next we are going to focus 
   on improving search speeds. Always welcome feedback!

#### 1.0.4

 * CSS fix for the close button. It wasn’t adapting to the light/dark theme correctly.

#### 1.0.3

 * We’re working on a Pro version that has ACF support and Analytics. This update
   is in preparation for that.

#### 1.0.2

 * CSS Fixes for the light theme
 * Addition of shortcode language in the FAQ

#### 1.0.1

 * Fixed a loading error in the Setup Wizard when generating the initial prompt.

#### 1.0.0

 * Initial release: AI-powered indexing, tagging, keyword extraction, PDF support,
   and REST API.

## Meta

 *  Versió **2.1.0**
 *  Darrera actualització **fa 3 setmanes**
 *  Instal·lacions actives **30+**
 *  Versió del WordPress ** 6.0 o posterior **
 *  Provada fins a **7.0**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/mori-ai-search/)
 * Etiquetes
 * [AI](https://ca.wordpress.org/plugins/tags/ai/)[ChatGPT](https://ca.wordpress.org/plugins/tags/chatgpt/)
   [openai](https://ca.wordpress.org/plugins/tags/openai/)[search](https://ca.wordpress.org/plugins/tags/search/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/mori-ai-search/advanced/)

## Valoracions

 5 sobre 5 estrelles.

 *  [  2 valoracions de 5 estrelles     ](https://wordpress.org/support/plugin/mori-ai-search/reviews/?filter=5)
 *  [  0 valoracions de 4 estrelles     ](https://wordpress.org/support/plugin/mori-ai-search/reviews/?filter=4)
 *  [  0 valoracions de 3 estrelles     ](https://wordpress.org/support/plugin/mori-ai-search/reviews/?filter=3)
 *  [  0 valoracions de 2 estrelles     ](https://wordpress.org/support/plugin/mori-ai-search/reviews/?filter=2)
 *  [  0 valoracions de 1 estrelles     ](https://wordpress.org/support/plugin/mori-ai-search/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/mori-ai-search/reviews/#new-post)

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/mori-ai-search/reviews/)

## Col·laboradors

 *   [ Troy ](https://profiles.wordpress.org/redclaytroy/)

## Suport

Problemes resolts durant els darrers dos mesos:

     4 de 4

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/mori-ai-search/)

## Feu una donació

Voleu ajudar a què l’extensió millori?

 [ Feu una donació a aquesta extensió ](https://paypal.me/redclaycreative)