Skip to content

index and type or defaults required  #43

@pannous

Description

@pannous

./test.rb
/Users/me/.rvm/gems/ruby-1.9.3-p125/gems/rubberband-0.9.5/lib/elasticsearch/client/default_scope.rb:31:in extract_required_scope': index and type or defaults required (RuntimeError) from /Users/me/.rvm/gems/ruby-1.9.3-p125/gems/rubberband-0.9.5/lib/elasticsearch/client/index.rb:7:inindex'
from ./test.rb:6:in `

'

me:~/dialogues/rubberband$ cat test.rb

require 'rubberband'
client = ElasticSearch.new(['elastico.xxxxx.com:9200/userindex_search'])
client.index({:body => "elasticsearch is cool"}, :id => 1)
client.get("1")
client.search("body:elasticsearch")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions