[wp-trac] [WordPress Trac] #25585: Arabic stopwords comparison
WordPress Trac
noreply at wordpress.org
Tue Oct 15 14:50:44 UTC 2013
#25585: Arabic stopwords comparison
-------------------------+--------------------
Reporter: alex-ye | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.7
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch |
-------------------------+--------------------
Comment (by nacin):
Best I can tell, you cannot add hamza, diacritics, and tāʼ marbūṭah to the
stopwords list because the list only operates on entire words, not the
stripping of individual characters, correct?
Even without the wp_search_stopwords filter, searching is still better in
3.7 than it was in 3.6. We could also add a filter to the end of the
parse_search_terms() method. But at that point, I think the crazy regular
expression in parse_search() should possibly be moved into it, and
search_terms_count should be set after? Right now, it's possible for
parse_search_terms() to return less terms than is specified in
search_terms_count. Is that OK?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25585#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list