karmi/tire — Issue #179: Using the REST DSL within Tire DSL
Author: dennybritz
Created: 2011-12-21 12:04:29+00:00
State: open

Hello,

I am trying to use a prefix query within a boolean query. Prefix doesn't seem to be supported by the DSL. I was hoping something like this would work:

`should { {:prefix => {:text => "test"}} }`

But it doesn't. Do I have any choice other than rewriting my **complete** query (which is very complex) using the REST DSL? I just want to use this single bit of custom REST DSL code within the Tire DSL.