Make WordPress Core

Opened 9 years ago

Closed 16 months ago

#34463 closed feature request (maybelater)

Improve search results accuracy

Reported by: titush's profile titush Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Query Keywords:
Focuses: Cc:

Description

WordPress is known to have quite a poor default search results logic. This is the reason plugins like relevanssi come to exist. Would it be possible to allow for customized weighting of content attributes such as title, excerpt etc, to improve the accuracy of search results?

It seems odd one needs to use a plugin to achieve decent search results across a site. Appreciate the time to look into this.

Thanks.

Change History (7)

#1 @titush
9 years ago

  • Keywords dev-feedback added
  • Severity changed from normal to minor

#2 @atomicjack
9 years ago

This is a common issue I myself hear of - and definitely needs looking into.

#3 @SergeyBiryukov
9 years ago

  • Component changed from General to Query

Previously: [25632], #7394.

#5 @desrosj
6 years ago

  • Keywords dev-feedback removed
  • Resolution set to invalid
  • Severity changed from minor to normal
  • Version 4.3.1 deleted

I wanted to just provide a bit more context on this ticket. A more detailed and up to date explanation of the current state of search in WordPress can be found here: 45606#comment:2. Because that ticket includes considerations for the new block editor, let's direct any conversation to that ticket if a new solution arises that WordPress Core can utilize.

Last edited 16 months ago by desrosj (previous) (diff)

#6 @earnjam
6 years ago

#39761 was marked as a duplicate.

#7 @desrosj
16 months ago

#53726 was marked as a duplicate.

#8 @desrosj
16 months ago

  • Milestone Awaiting Review deleted
  • Resolution changed from invalid to maybelater
  • Status changed from new to closed

I'm going to close this one out.

Unfortunately, WordPress is beholden to the limitations of MySQL, for better or worse.

For the small minority of sites with extremely large data sets or the need for more accurate searching, something like ElasticSearch is a better option. There are several well documented ways out there that integrate fairly well.

If there's something specific in WordPress blocking you from integrating with an external search, that can certainly be considered. But it's unlikely the premise behind this ticket will be addressed unless there's an update to how search in MySQL works.

Note: See TracTickets for help on using tickets.