couchbaselabs / intrapop

1 stars 1 forks source link

better author / email analyzer #7

Closed steveyen closed 9 years ago

steveyen commented 9 years ago

originally reported by Marty Schoch...

one somewhat annoying thing, and i don't know the solution yet is the parsing of authors/email addresses if i were to imagine the ideal behavior you would index them multiple ways

so, you want to tokenize it, because you want to search for "marty" and get a match but for the facets you want them treated as whole like i dont want to see "marty" "schoch" and "gmail.com" as choices so, you should index the author information a second way, with keyword analyzer and build the facet on that field will make it look a lot more polished, and still do what most people expect

steveyen commented 9 years ago

Marty helped me get a single field analyzed with two different analyzers.