Jump to content

HumpDay: Similar Content, ActivityStreams uses Elasticsearch


Recommended Posts

hump.png
 

Happy Hump Day! Wanted to pass along some exciting developments. 

We've been wanting to improve our search capabilities within the platform. We started by adding more Elastic Search functionality in a few areas on our own community.

For example, in the sidebar of our topics, you'll notice the previously-existing 'Similar Content' widget. It now includes Elastic Search to offer, hopefully, a better list of related topics for you. Essentially what it's doing is looking at a topic title and finding similar words in other titles, then ranks the most relevant (previously it was pulling by tag). 

Here's an example. This topic includes Cloudlfare in the title. This is what shows in the Similar Content section on that topic:
 

Screen Shot 2021-11-17 at 11.32.26 AM.png

 

 

Activity Streams in our community also take advantage of Elastic Search. 😊 

Feel free to poke around our community and let us know if it's functioning great or whether you're seeing something odd.

We want to see how things perform and would love to hear from you.

Now for the juicy platform updates made in the last 7 days:

- Fixed the duplicate rel attribute in the facebook share link.
- Fixed a missing search keyword for block caching.
 - Fixed some missing rel=nofollow attributes on add new content links.
- Fixed a niche issue with the Marketplace interface showing an entity instead of dollar sign in some browsers.
- Removed no longer used sitemapLinks functions.
- Fixed an issue where pagination links could redirect to the wrong location when using Blog categories.
- Fixed the design on the Zapier Integration page and added the clipboard copy button for easier data copying.
- Fixed an issue where RSS feeds were unavailable to readers when the site is not available to guests.
- Fixed an issue where it was possible to have more than one Subscription at a time.
- Fixed an issue where it was possible to have more than one Subscription at a time.
- Fixed an issue where using a Yes/No custom field as a purchase identifier caused an endless loop.
- Fixed an issue adding products to an invoice via AdminCP when it contains a Miscellaneous Charge.
- Fixed an issue displaying stats for "Solved Topics by Forum".
- Fixed an issue where 'webp' was missing from the mod_rewrite rules.
- Fixed an issue where removing all followers of a content item does not immediately update the count.
- Fixed an issue where banned users show in @mentions.
- Fixed an issue where the 'rel' attribute content rebuild may break embedded images. Re-run to fix.
- Fixed an issue where report center links may point to a container rather than the reported item.
- Fixed an error on posting due to followers in specific situations.
- Fixed an issue where the content promoter would get a badge instead of the content author.

 

 

Do you currently use Elastic Search? Notice any positive changes in our own community in regards to it? Drop a line in the comments!

Link to comment
Share on other sites

Jordan Miller
This post was recognized by Jordan Miller!

"Great question! Thanks for contributing."

Sonya* was awarded 5 points.

16 hours ago, Jordan Miller said:

We started by adding more Elastic Search functionality

  • Is Elastic Search included in IPS Cloud?
  • If not, what is the cheapest solution to use it in IPS Cloud?
Edited by Sonya*
Link to comment
Share on other sites

@Mattam using aws elasticsearch engine service

they have started their own 'fork' of elasticsearch this year called opensearch as elasticsearch is no longer open source

is this update to the latest version of elasticsearch going to cause any issues for aws users going forwards?

Edited by sound
Link to comment
Share on other sites

  • Management
39 minutes ago, sound said:

@Mattam using aws elasticsearch engine service

they have started their own 'fork' of elasticsearch this year called opensearch as elasticsearch is no longer open source

is this update to the latest version of elasticsearch going to cause any issues for aws users going forwards?

No, Opensearch uses the last ES open source version which was 7.10. I would't expect things to change dramatically until ES moves to v8 as their stable branch.

We will cross that bridge if/when we get to it. 😄 

Worth nothing, that if we offer an ES service ourselves, it'll likely be Opensearch we use.

Link to comment
Share on other sites

19 hours ago, Matt said:

it'll likely be Opensearch we use.

Granted you are talking about OpenSearch as a service add-on - I assume for CIC stuff (or a generalized service add-on for anyone) - but flipping the search internals from the existing ES over to OpenSearch in general would probably be fine for self-hosters as well.  Just don't, you know, remove ES and make OpenSearch a paid upgrade/service for everyone 🙂

Link to comment
Share on other sites

  • 2 weeks later...
  • Management

Unfortunately, you'll need to upgrade ES after you've upgraded Invision Community.

Around ES 7.7, they changed the JSON parser which previously was less rigid in the array structures it allowed. The new parser is more strict, which means there are code changes in 4.6.9 to fix those issues in 7.7 of greater.

Link to comment
Share on other sites

6 hours ago, Matt said:

Unfortunately, you'll need to upgrade ES after you've upgraded Invision Community.

Around ES 7.7, they changed the JSON parser which previously was less rigid in the array structures it allowed. The new parser is more strict, which means there are code changes in 4.6.9 to fix those issues in 7.7 of greater.

Works for me 😄. Looking forward to it.

Link to comment
Share on other sites

Thank you Randy. that was very easy, updated through rpm to elasticsearch 7.16.9, updated the forum.

But now elastic related functions are broken on the website. For instance, this is the error I see in the activity stream page. Can someone help me fix the problem please.

 

 

 

elasticsearch.png

Link to comment
Share on other sites

1 hour ago, HDiddy said:

With the new update, will Elastic Search now also apply to our Similar Content and Activity Streams.

Activity Streams have always used Elasticsearch if it was enabled, but yes in 4.6.9 it's also used to generate the content for the Similar Content widget (and it's doing a pretty awesome job of suggesting similar content).

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...