Since our company's ActiveDirectory service is not indexed, I've given up on
using to search. I was really excited when I found how easy ES was, even
though lacking some documentation.
The plan is to dump some AD fields into ES and create a search interface for
it.
Since I have never used ES before I was hoping for some guidance on how to
map and analyze some fields.
Mapping: https://gist.github.com/1136586
Example doc: https://gist.github.com/1136580
What's the best way to map the "office" field. The field always consist of
the location and then the office. Should I parse it beforehand and save it
as an array, or is there a tokenizer for this?
Same with "job_phone" (internal/external number) and "tags", should I parse
it first or is there a tokenizer or another method for doing this?
On the "department" field I think the "whitespace" analyzer fits.
Any other thoughts, recommendations?