jamescarr/mongoosastic — pull request #45 by jetNull (2012-11-10 04:18:02+00:00)
Title: Updated mapping-generator.js to support booleans and single type arrays

I ran into some issues when generating mappings for some of my existing mongoose schemas. I added a check for boolean datatypes (similar to the existing date check) and elastical was able to handle the mapping/querying from there. I also added logic for single type arrays (i.e. [String]), which elasticsearch conveniently treats as string. If you have any questions about the changes please let me know. Thanks for posting/maintaining this project.