OrchardCMS / Orchard

Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
https://orchardproject.net
BSD 3-Clause "New" or "Revised" License
2.38k stars 1.12k forks source link

Blog Search #8569

Closed AndreaPiovanelli closed 2 years ago

AndreaPiovanelli commented 2 years ago

Search feature in blogs does not exist, so we are going to implement it in a new feature inside Orchard.Search module (feature: Orchard.Search.Blogs). image

Inside the manage blog page in back office, there's going to be a "Search" tab: image

New index used for the search implementation: image

sebastienros commented 2 years ago

It's a search feature just for admin? Does O1 support multiple blogs? If so why a single index? Aren't blog posts already indexes somewhere?

AndreaPiovanelli commented 2 years ago

It's a search feature just for admin?

Yes, it is for back office only. Front end search already works with a standard index, with any content.

Does O1 support multiple blogs? If so why a single index?

It supports multiple blogs. We use a single index because it's a single content type and, when searching, it's easier filtering results (for the needed blog) than having to create indexes for each blog.

Aren't blog posts already indexes somewhere?

Not yet. Admin search index at the moment can be used to index any content but, since blog search is on a separate controller, we chose to create a dedicated admin blog index.