Skip to content

Add a multi_match support #232

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

Closed
ghost opened this issue Apr 18, 2013 · 2 comments
Closed

Add a multi_match support #232

ghost opened this issue Apr 18, 2013 · 2 comments

Comments

@ghost
Copy link

ghost commented Apr 18, 2013

As I understand at this moment I should use Text instead Match, but I need multi_match like here http://www.elasticsearch.org/guide/reference/query-dsl/multi-match-query/ because I have two fields with my own analizer.

Is multi_match realization in your plans?
Is QueryString() solution for this?

And thanx for really good product!) This is very useful library.

@Mpdreamz
Copy link
Member

Hey @aacontroller

Its definitely on the roadmap for the next release since this is being requested often.

@ghost
Copy link
Author

ghost commented Apr 19, 2013

At this moment I solve this problem by:
query.QueryString(
q => q.OnFields(g=> g.Name, g=>g.Description)
.Query(request.SearchQuery.Query)
.Operator(Operator.and)
);

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

1 participant