Title: Plugin Not Working
Last modified: April 3, 2018

---

# Plugin Not Working

 *  [jamestashford](https://wordpress.org/support/users/jamestashford/)
 * (@jamestashford)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/plugin-not-working-621/)
 * Unfortunately, the plugin isn’t working for me. The results are the same as they
   are without it activated. I checked the “things to check first” post on the Relevanssi
   website. But, these didn’t work for me.
 * I have told Relvanssi to index only my portfolio projects and it appears that
   this worked. I have keywords on the content of these projects. However, the search
   results only display matching words in titles and not the content.
 * Please help
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-not-working-621%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/plugin-not-working-621/#post-10143919)
 * Tell me more about the posts. Since they are a custom post type, are they built
   as usual? Is the post content stored in the actual post content? Could it be 
   the post content (which is not visible on the site as far as I can tell) is somewhere
   else, somewhere Relevanssi can’t see it?
 *  Thread Starter [jamestashford](https://wordpress.org/support/users/jamestashford/)
 * (@jamestashford)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/plugin-not-working-621/#post-10146376)
 * Thanks for the response. All I know is that this is a Portfolio post type. The
   content is actually stored and visible in the post area. Here is another example
   page: [http://timeatthelake.com/portfolio/beach-coast-dad/](http://timeatthelake.com/portfolio/beach-coast-dad/)
 * If I search “sally”, which is in the post area on this page, this does not show
   up in my results. If I search “dad”, since that word is in the title, it does
   show up.
 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/plugin-not-working-621/#post-10148208)
 * And you don’t happen to have an empty value (or a zero) in the post content weight
   on the Searching tab? That’d be the obvious explanation.
 * Can you please show me screenshots of your indexing and searching settings?
 *  Thread Starter [jamestashford](https://wordpress.org/support/users/jamestashford/)
 * (@jamestashford)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/plugin-not-working-621/#post-10150969)
 * No – I have the relevance for post content high and everything else low.
 * [https://pasteboard.co/HfeDMz5.png](https://pasteboard.co/HfeDMz5.png)
    [https://pasteboard.co/HfeDXJL.png](https://pasteboard.co/HfeDXJL.png)
 *  [TheRiz](https://wordpress.org/support/users/theriz/)
 * (@theriz)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/plugin-not-working-621/#post-10151362)
 * Was going to start a new thread, but figured may be having a similar issue.
 * Search works in some cases, but not others.
 * Example – Searching “medicare part D” returns a lot of “medicare” related pages/
   posts. searching “part d” returns nothing. Also, searching “part” returns nothing,
   despite this word appearing on nearly every page.
 * So far I have built an index. Tried with 3 word, and 2 word index.
 * You can test it from left side of home page here:
    [https://www.bgainsurance.net/](https://www.bgainsurance.net/)
 * “part d” should return many results, but nothing is found.
 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/plugin-not-working-621/#post-10152301)
 * James, do you have access to the database? Would be helpful to see if this is
   an indexing issue or a searching issue. If you use phpMyAdmin or Adminer to take
   a look at the wp_relevanssi database table, does the word “sally” appear in the“
   term” column? If it does, the post is indexed correctly and this is a searching
   issue; if it doesn’t, this is an indexing issue.
 * [@theriz](https://wordpress.org/support/users/theriz/), your problem is unrelated
   to this, and the explanation is simple: Relevanssi doesn’t index one-letter words,
   and “part” is a stopword.
 * If you want results for “part”, remove it from stopwords and reindex (but since
   it appears on nearly every page, it’s not a good search term in any case). If
   you make Relevanssi index one-letter words, you may get better results, but not
   necessarily; those one-letter words are blocked for a reason, they generally 
   don’t work very well. So that’s one of the most difficult cases for Relevanssi
   there is.
 * Searching for “medicare part d” finds one post, does that sound better?
 * There are bunch of possible solutions here, for example indexing “part d” as “
   partd”.
 *  Thread Starter [jamestashford](https://wordpress.org/support/users/jamestashford/)
 * (@jamestashford)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/plugin-not-working-621/#post-10153661)
 * I do have access and it does look like an indexing issue. The titles of the portfolio
   pages are being indexed, but the content is not. Here is a screenshot of the 
   database and my indexing settings.
 * [https://pasteboard.co/Hfmckyt.png](https://pasteboard.co/Hfmckyt.png)
    [https://pasteboard.co/HfmcvjF.png](https://pasteboard.co/HfmcvjF.png)
 *  Thread Starter [jamestashford](https://wordpress.org/support/users/jamestashford/)
 * (@jamestashford)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/plugin-not-working-621/#post-10153681)
 * If you have a suggestion for getting this option to work, that would be great.
   If not, I have found a workaround. I can use the “Project Attributes” section
   for keywords – instead of the post content – and tell the plugin to index this
   section.
 *  [TheRiz](https://wordpress.org/support/users/theriz/)
 * (@theriz)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/plugin-not-working-621/#post-10153871)
 * [@msaari](https://wordpress.org/support/users/msaari/) Thanks, this worked.
 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/plugin-not-working-621/#post-10155806)
 * James, the easiest explanation would be a content-blocking filter – you don’t
   happen to have one in place for some reason? Or some filter on `relevanssi_post_content`
   that’s blocking the content?
 * That’s one way to debug this, by the way. Add this to your theme functions.php
   and then go save a post:
 *     ```
       add_filter( 'relevanssi_post_content', 'rlv_content_test' );
       function rlv_content_test( $content ) {
           var_dump( $content );
           exit();
       }
       ```
   
 * That should print out the post content, the way Relevanssi sees it. What does
   that say? Does it look correct?
 * Once you’ve done debugging, remove the code and then save the post again to have
   it in the index.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Plugin Not Working’ is closed to new replies.

 * ![](https://ps.w.org/relevanssi/assets/icon-256x256.png?rev=3529670)
 * [Relevanssi - A Better Search](https://wordpress.org/plugins/relevanssi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/relevanssi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/relevanssi/)
 * [Active Topics](https://wordpress.org/support/plugin/relevanssi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/relevanssi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/relevanssi/reviews/)

## Tags

 * [search results](https://wordpress.org/support/topic-tag/search-results/)

 * 10 replies
 * 3 participants
 * Last reply from: [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/plugin-not-working-621/#post-10155806)
 * Status: not resolved