Class: Blur::BlurResults

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/active_blur/thrift/blur_types.rb

Constant Summary collapse

TOTALRESULTS =
1
SHARDINFO =
2
RESULTS =
3
FACETCOUNTS =
4
EXCEPTIONS =
5
QUERY =
6
FIELDS =
{
  TOTALRESULTS => {:type => ::Thrift::Types::I64, :name => 'totalResults', :default => 0},
  SHARDINFO => {:type => ::Thrift::Types::MAP, :name => 'shardInfo', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::I64}},
  RESULTS => {:type => ::Thrift::Types::LIST, :name => 'results', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Blur::BlurResult}},
  FACETCOUNTS => {:type => ::Thrift::Types::LIST, :name => 'facetCounts', :element => {:type => ::Thrift::Types::I64}},
  EXCEPTIONS => {:type => ::Thrift::Types::LIST, :name => 'exceptions', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Blur::BlurException}},
  QUERY => {:type => ::Thrift::Types::STRUCT, :name => 'query', :class => ::Blur::BlurQuery}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



392
# File 'lib/active_blur/thrift/blur_types.rb', line 392

def struct_fields; FIELDS; end

#validateObject



394
395
# File 'lib/active_blur/thrift/blur_types.rb', line 394

def validate
end