Skip to content

Query refactoring: SpanWithinQueryBuilder and Parser#12396

Merged
cbuescher merged 1 commit intoelastic:feature/query-refactoringfrom
cbuescher:feature/query-refactoring-spanwithin
Jul 22, 2015
Merged

Query refactoring: SpanWithinQueryBuilder and Parser#12396
cbuescher merged 1 commit intoelastic:feature/query-refactoringfrom
cbuescher:feature/query-refactoring-spanwithin

Conversation

@cbuescher
Copy link
Copy Markdown
Member

Moving the query building functionality from the parser to the builders
new toQuery() method analogous to other recent query refactorings.

Relates to #10217

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can reuse the method from some other PR that I saw today right?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this will be shorter with the utility method I'm just preparing for #12342.

@javanna
Copy link
Copy Markdown
Contributor

javanna commented Jul 22, 2015

left a very minor comment, LGTM otherwise

Moving the query building functionality from the parser to the builders
new toQuery() method analogous to other recent query refactorings.

Relates to elastic#10217
@cbuescher cbuescher force-pushed the feature/query-refactoring-spanwithin branch from c2ca645 to fc1b5a9 Compare July 22, 2015 14:23
cbuescher added a commit that referenced this pull request Jul 22, 2015
…anwithin

Query refactoring: SpanWithinQueryBuilder and Parser
@cbuescher cbuescher merged commit 82555fd into elastic:feature/query-refactoring Jul 22, 2015
mute pushed a commit to mute/elasticsearch that referenced this pull request Jul 29, 2015
…ring-spanwithin

Query refactoring: SpanWithinQueryBuilder and Parser
@javanna
Copy link
Copy Markdown
Contributor

javanna commented Aug 28, 2015

This change is breaking for the java api as it removed setters for mandatory big/little inner span queries. Both arguments have to be supplied at construction time instead and have to be non-null.

@cbuescher cbuescher deleted the feature/query-refactoring-spanwithin branch March 11, 2016 11:51
@clintongormley clintongormley added :Search/Search Search-related issues that do not fall into other categories and removed :Query Refactoring labels Feb 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>breaking :Search/Search Search-related issues that do not fall into other categories

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants