Jacob krull

Exclude from search

6 posts in this topic

Hi

Did you tried to delete indexed articles in Smart Search component?

Please remember that only indexed data is searchable.

So if you delete one, it isn't search.

Share this post


Link to post
Share on other sites

Hi

Sure, that works to remove a whole article, but I would like to exclude part of the articles. In this case just the introtext. My introtexts contains code that I would like not to be indexed.

Share this post


Link to post
Share on other sites

I'm not sure about it but please try this solution

Open file /plugins/finder/content/content.php

Find this line

->select('a.id, a.title, a.alias, a.introtext AS summary, a.fulltext AS body')

and remove

a.introtext AS summary,

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now