Closed
Bug 768539
Opened 12 years ago
Closed 12 years ago
fix ircname, firstname, lastname indexing and querying
Categories
(Participation Infrastructure :: Phonebook, defect)
Participation Infrastructure
Phonebook
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: willkg, Unassigned)
References
Details
Searching for ircname probably doesn't work well since I'm pretty sure the field is getting analyzed with the default analyzer, but it's doing an ES term query rather than an ES text query. Pretty sure that's problematic depending on what the default analyzer is. I don't see any tests for it, so I can't tell for sure. http://www.elasticsearch.org/guide/reference/query-dsl/text-query.html http://www.elasticsearch.org/guide/reference/query-dsl/term-query.html You probably want a term query, but you want an analyzer that doesn't do stemming, stop words, etc. Ditto for firstname, lastname, and any other name fields.
Comment 2•12 years ago
|
||
Commit pushed to master at https://github.com/mozilla/mozillians https://github.com/mozilla/mozillians/commit/06a6b3b174287e485c1de3839ced5ad231d79241 [fix bug 768539][fix bug 763624] Proper ES indexing and user search. [bug 768539] Fix ES data indexing. [bug 763624] Fix user search (locations, names, etc).
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 3•12 years ago
|
||
Verified able to search on F/L name, IRC name, location
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•