Hi Amy, the problem comes with any request. For example with a simple request like "key":"value".
But as I said, when I deployed it at GAE and using "complex" queries including AND and OR operators it works well. I have another question: it appears that search is not working properly when a value for an specific key is a single character. So if I have a key "key" with a value containing "a b c" and my search is *key:"a"*, then no result is returned. Thanks for your attention :) El viernes, 5 de octubre de 2012 07:10:51 UTC+2, Amy Unruh escribió: > > Paxti, > > Thanks for the information. Could you also post an example of a > queryString that triggers this error, and the stack trace? You can email > to me directly if you'd prefer. > > > On 4 October 2012 16:20, Patxi Bocos <[email protected] <javascript:>>wrote: > >> Hi, >> >> as you said, this only happens when I am running locally, when I deployed >> on GAE it works. >> >> Thank you :) >> >> El miércoles, 3 de octubre de 2012 23:21:52 UTC+2, Amy Unruh escribió: >>> >>> Paxti, >>> >>> What does your final queryString look like? And, could you include a >>> stack trace? >>> Also, are you seeing this with the dev app server, or for your deployed >>> app? >>> >>> -Amy >>> >>> On 3 October 2012 20:20, Patxi Bocos <[email protected]> wrote: >>> >>>> Hi, >>>> >>>> I´m using Google Search API and at the time of making the search: >>>> >>>> *QueryOptions options = QueryOptions.newBuilder(). >>>> setLimit(limit).setOffset(offset).build;* >>>> >>>> *queryString+="name:\""+name+"\"";* >>>> >>>> *Query query = Query.newBuilder().setOptions( >>>> options).build(queryString);* >>>> >>>> *Results<ScoredDocument> results = index.search(query);* >>>> >>>> >>>> I´m getting a SearchQueryException saying the following: >>>> >>>> *AST is missing nil root name:"value"* >>>> >>>> Name is an existing field and I don´t know why am I getting this >>>> error. >>>> >>>> Anyone could help me? >>>> >>>> Thanks :) >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Google App Engine" group. >>>> To view this discussion on the web visit https://groups.google.com/d/** >>>> msg/google-appengine/-/**ELJqZg9CU18J<https://groups.google.com/d/msg/google-appengine/-/ELJqZg9CU18J> >>>> . >>>> To post to this group, send email to google-a...@googlegroups.**com. >>>> To unsubscribe from this group, send email to google-appengi...@** >>>> googlegroups.com. >>>> >>>> For more options, visit this group at http://groups.google.com/** >>>> group/google-appengine?hl=en<http://groups.google.com/group/google-appengine?hl=en> >>>> . >>>> >>> >>> > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/0Pe4_Yow4dAJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
