[wp-trac] [WordPress Trac] #56294: WordPress search finds block name in comment

WordPress Trac noreply at wordpress.org
Wed Jun 26 12:55:58 UTC 2024


#56294: WordPress search finds block name in comment
--------------------------------------+--------------------------
 Reporter:  zodiac1978                |       Owner:  (none)
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:
Component:  Database                  |     Version:  5.0
 Severity:  normal                    |  Resolution:  maybelater
 Keywords:  needs-patch dev-feedback  |     Focuses:  performance
--------------------------------------+--------------------------

Comment (by zodiac1978):

 Replying to [comment:20 dmsnell]:
 > What an interesting and exciting challenge to solve.

 Thanks for chiming in!

 > [...] I really caution folks to consider what those are implying on the
 database when performing a search. [...] I don't see //computing the
 search index on every search query// as a super viable option.

 Yes, that was my thought too. I just wasn't sure how much the impact is in
 real world examples.

 > [...] storing a kind of transformed post in another location would make
 searching easier with the existing toolsets and performance
 characteristics.

 Do you think this would be possible for WordPress core to add such a new
 table column for searching? My thought was, that this would be plugin
 territory.

 > Upon this foundation all sorts of stronger search indices can be built
 and then searched.

 I would be happy if this could be finally tackled in this way. I dismissed
 this idea, because I never thought WordPress core would do it. But if you
 think this could come to core: Let's go for it! I'm happily throw in my
 thoughts, ideas and will test this feature on the way.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56294#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list