Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MultiMatchQueryDescriptor phrase_prefix bug #634

Closed
deviantus opened this issue Apr 29, 2014 · 2 comments
Closed

MultiMatchQueryDescriptor phrase_prefix bug #634

deviantus opened this issue Apr 29, 2014 · 2 comments

Comments

@deviantus
Copy link

Hi, when i trying to query mult match query with type phare_prefix no result return. Because below code trying to lower the PHRASE_PREFIX enum and in turkish locale result was phrase_prefıx not phrase_prefix and es doesn't understand that. I think should be use en locale for tolower.

public MultiMatchQueryDescriptor<T> Type(TextQueryType type)
        {
            this._Type = type.ToString().ToLower();
            return this;
        }
@Mpdreamz Mpdreamz added the Bug label May 2, 2014
@Mpdreamz
Copy link
Member

Mpdreamz commented May 2, 2014

Thanks @deviantus this was quite embarrassing I went through the entire codebase to find other omissions of invariance.

@deviantus
Copy link
Author

Your welcome, when do you plan next release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants