Skip to content

PrefixQueryParser takes a String as value like its Builder#12204

Closed
alexksikes wants to merge 1 commit intoelastic:masterfrom
alexksikes:fix/prefix-parser-string-value
Closed

PrefixQueryParser takes a String as value like its Builder#12204
alexksikes wants to merge 1 commit intoelastic:masterfrom
alexksikes:fix/prefix-parser-string-value

Conversation

@alexksikes
Copy link
Copy Markdown
Contributor

Relates #12032

@alexksikes
Copy link
Copy Markdown
Contributor Author

@jpountz can you please have a look at this?

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.

same as in the regex PR, I wonder if we should have parser.text() or parser.textOrNull()

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

reasoning here is that we check for null at the end and return a probably more comprehensive error message.

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.

makes sense to me

@jpountz
Copy link
Copy Markdown
Contributor

jpountz commented Jul 15, 2015

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants