How to default to an implicit AND operator for QueryStringQueryBuilder?

Given the following QueryStringQueryBuilder, where there is more than one
term being passed, it defaults to doing something 'termA OR termB'. How can
I change it to default to '+termA AND +termB'?

Thanks

defaultOperator

On Thursday, January 26, 2012 at 3:57 AM, Shane Witbeck wrote:

Given the following QueryStringQueryBuilder, where there is more than one term being passed, it defaults to doing something 'termA OR termB'. How can I change it to default to '+termA AND +termB'?

query.java · GitHub

Thanks

Awesome. Thanks again Shay

Try to set the parameter:
"default_operator" to "AND"

在 2012-1-26 上午9:57,"Shane Witbeck" shane@digitalsanctum.com写道:

Given the following QueryStringQueryBuilder, where there is more than one
term being passed, it defaults to doing something 'termA OR termB'. How can
I change it to default to '+termA AND +termB'?

query.java · GitHub

Thanks