Commit 9df58dd4 authored by Paul Asmuth's avatar Paul Asmuth
Browse files

moar

parent ba92542b
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -16,6 +16,25 @@ attribute types:



#   filter(KEY = VALUE)
#   filter(KEY < MAX)
#   filter(KEY > MIN)
#   filter(KEY ~ MIN-MAX)
#   filter(KEY & ONE,TWO,THREE...)
#   filter(KEY)
#   since(TIMESTAMP)
#   since(now)
#   until(TIMESTAMP)
#   until(now)
#   stream()
#
#   filter(channel = 'dawanda-firehose') since(0) until(now)
#   filter(channel = 'dawanda-firehose') since(now) stream()
#   filter(channel & 'dawanda-firehose','dawanda-searchfeed') since(now) stream()




categorical_top_k (top keywords)
categorical_correlation (keyword correlation)
categorical_crosstab (chanels x filters)
+1 −20
Original line number Diff line number Diff line
@@ -73,28 +73,9 @@ private

  def parse_time(str)
    return :now     if str == "now"
    return :stream  if str == "stream"
    return str.to_i if str =~ /^[0-9]+$/
    raise InvalidQueryError.new("invalid time: #{str}")
  end
    
end
#   filter(KEY = VALUE)
#   filter(KEY < MAX)
#   filter(KEY > MIN)
#   filter(KEY ~ MIN-MAX)
#   filter(KEY & ONE,TWO,THREE...)
#   filter(KEY)
#   since(TIMESTAMP)
#   since(now)
#   until(TIMESTAMP)
#   until(now)
#   stream()
#
#   filter(channel = 'dawanda-firehose') since(0) until(now)
#   filter(channel = 'dawanda-firehose') since(now) stream()
#   filter(channel & 'dawanda-firehose','dawanda-searchfeed') since(now) stream()