liquidm / ruby-druid

Ruby utilities for metamx druid
MIT License
43 stars 34 forks source link

Add 'Search Queries' support #29

Open thomas-peyric opened 9 years ago

thomas-peyric commented 9 years ago

Add support of 'Search Queries' which returns dimension values that match the search specification ( http://druid.io/docs/latest/SearchQuery.html )

itszootime commented 9 years ago

@thomas-peyric - I'm working on this at the moment, including a small-ish refactor of the query class. If it's an urgent need, check out https://github.com/liquidm/ruby-druid/tree/search_query. Everything is fully working, including the search queries: query.search(:dim1, :dim2).contains('foo').sort(:strlen).

thomas-peyric commented 9 years ago

Great ! i will try your new branch version ....

UPDATE : ... and it's work fine ;-)

hollow commented 9 years ago

can this be closed?

itszootime commented 9 years ago

Yep - it's been implemented (with different syntax) in the ruby-druid team fork.