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

Issue compiling query (specific to GUID value) #448

Closed
deankruger opened this issue Jan 20, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@deankruger
Copy link

commented Jan 20, 2014

I have an issue compiling a query, but only when using a specific GUID value within dynamic search criterion inside a Bool().

Example code:

search<InventorySearchType>(x => x.Query(query => query
   .Bool(b => b.Must(m => m.Term(t => t.CircuitTypeId, criterion.Value.ToUpper())))
))

The specific guid value 166f4807-1eb4-df11-a3ab-0014221eef8c gives me an exception:

System.FormatException {"Input string was not in a correct format."}

This query compiles and runs perfectly when using any other guid value except this one.

Any ideas?

@deankruger deankruger closed this Feb 4, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.