Converting builder types

For the sake of simplicity, I am trying to convert a single
SpanTermQueryBuilder to a TermQueryBuilder. What is the simplest way
to achieve this goal, without going to JSON and back?

Cheers,

Ivan

Nothing jumps to mind, there isn't a getter for the relevant values...

On Wed, Jun 13, 2012 at 11:30 PM, Ivan Brusic ivan@brusic.com wrote:

For the sake of simplicity, I am trying to convert a single
SpanTermQueryBuilder to a TermQueryBuilder. What is the simplest way
to achieve this goal, without going to JSON and back?

Cheers,

Ivan

I figured as much! No harm using a SpanTermQuery, just wanted to get
my queries as simple as possible.

--
Ivan

On Thu, Jun 14, 2012 at 2:42 PM, Shay Banon kimchy@gmail.com wrote:

Nothing jumps to mind, there isn't a getter for the relevant values...

On Wed, Jun 13, 2012 at 11:30 PM, Ivan Brusic ivan@brusic.com wrote:

For the sake of simplicity, I am trying to convert a single
SpanTermQueryBuilder to a TermQueryBuilder. What is the simplest way
to achieve this goal, without going to JSON and back?

Cheers,

Ivan