WildcardQueryBuilder and FieldQueryBuilder

Out of curiosity why does FieldQueryBuilder allow leading wildcards while
the WildcardQueryBuilder does not?

Thanks

Had a look at field query handling, and it was missing proper handling of
allow_leading_wildcards parameter. So, field query was not allowing
leading wildcards regardless of what you placed in the builder. Is that what
you meant? wildcard query should allow for leading wildcards.

-shay.banon

On Mon, Jun 28, 2010 at 5:19 AM, Samuel Doyle samueldoyle@gmail.com wrote:

Out of curiosity why does FieldQueryBuilder allow leading wildcards while
the WildcardQueryBuilder does not?

Thanks

Here is the issue:

On Mon, Jun 28, 2010 at 12:35 PM, Shay Banon
shay.banon@elasticsearch.comwrote:

Had a look at field query handling, and it was missing proper handling of
allow_leading_wildcards parameter. So, field query was not allowing
leading wildcards regardless of what you placed in the builder. Is that what
you meant? wildcard query should allow for leading wildcards.

-shay.banon

On Mon, Jun 28, 2010 at 5:19 AM, Samuel Doyle samueldoyle@gmail.comwrote:

Out of curiosity why does FieldQueryBuilder allow leading wildcards while
the WildcardQueryBuilder does not?

Thanks

Yeah thanks

On Mon, Jun 28, 2010 at 2:36 AM, Shay Banon shay.banon@elasticsearch.comwrote:

Here is the issue:
Query DSL: field query does not take into account `allow_leading_wildcards` · Issue #236 · elastic/elasticsearch · GitHub

On Mon, Jun 28, 2010 at 12:35 PM, Shay Banon <shay.banon@elasticsearch.com

wrote:

Had a look at field query handling, and it was missing proper handling of
allow_leading_wildcards parameter. So, field query was not allowing
leading wildcards regardless of what you placed in the builder. Is that what
you meant? wildcard query should allow for leading wildcards.

-shay.banon

On Mon, Jun 28, 2010 at 5:19 AM, Samuel Doyle samueldoyle@gmail.comwrote:

Out of curiosity why does FieldQueryBuilder allow leading wildcards while
the WildcardQueryBuilder does not?

Thanks