[buddypress-trac] [BuddyPress] #4229: Member Search oddness.

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Fri Jun 1 09:48:41 UTC 2012

#4229: Member Search oddness.
 Reporter:  DennisSmolek  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Members       |    Version:  1.5.5
 Severity:  normal        |   Keywords:
 I don't know if this is the right place but I'm having some odd handling
 of the members searching...

 I have a BP site that I imported data from another service. I put all of
 this data into the wp_usermeta table as I noticed bp_core_get_users
 searches usermeta and I wanted to be able to use some other wp plugins.

 So with 25,000 users everything seems to be working, the members page has
 1700 pages, it says 25,000 users but the search results aren't right.

 When I search "Smith" I first got 31 results. I ran the search on the back
 end and got 283 results (which is correct)

 So clearly the front end search wasnt working right. So I found a user
 that wasn't showing up and went to their profile. Worked no problem. Then
 I searched for that user.

 Suddenly that user shows up, AND the results jumps up 15 more people. I
 did it again, same thing! Each time I search for a user that is on the
 backend that wasnt on the front end they suddenly appear along with a
 dozen or so other records.

 I get similar results with two different servers with very different

 Also the back end search is pulling other data such as their email address
 while the front end search ignores it. This is annoying is I'm trying to
 push away from using the back end for anything.

 Now I'm wondering if I should just switch to xprofile data and migrate
 this huge DB over, supposedly I'll be able to search by xprofile data too
 and there are firstname lastname fields in that. If that were to deliver
 more consistent results I'll do it..

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4229>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list