Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 21 lines (17 sloc) 0.497 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
package FieldTest;

use Elastic::Model;

#===================================
has_namespace 'foo' => {
#===================================
    string => 'FieldTest::String',
    number => 'FieldTest::Number',
    date => 'FieldTest::Date',
    boolean => 'FieldTest::Boolean',
    binary => 'FieldTest::Binary',
    object => 'FieldTest::Object',
    nested => 'FieldTest::Nested',
    ip => 'FieldTest::IP4',
    geopoint => 'FieldTest::GeoPoint'
};

no Elastic::Model;

1;
Something went wrong with that request. Please try again.