Thanks, Adam. Here's the link to the issue that I 
created: https://issuetracker.google.com/issues/36916692.

On Wednesday, April 5, 2017 at 3:23:58 AM UTC+5:30, Adam (Cloud Platform 
Support) wrote:
>
> It looks like this is an issue specifically affecting the Java runtime. 
> I'd recommend reporting this on the issue tracker 
> <https://cloud.google.com/support/docs/issue-trackers> so we can link it 
> to the internal issue and provide updates. Other users may star the issue 
> to receive updates as well and increase visibility.
>
> On Tuesday, April 4, 2017 at 8:14:39 AM UTC-4, Anand Srinivasan wrote:
>>
>> While looking through the java docs for Field in Document Index (
>> https://cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/search/Field),
>>  
>> we noticed the presence of the "TOKENIZED_PREFIX" type which seems to match 
>> closely with the search capability that we want. Unfortunately, when we try 
>> to index a field with that type, we are running into an "Unsupported field 
>> type" error. Is the documentation incorrect? Or am I using this 
>> incorrectly? The indexing code does something like the following.
>>         
>> doc.addField(Field.newBuilder().setName(key).setTokenizedPrefix(valueStr));
>> The exception occurs at the line index.put(doc.build());
>>
>> Unfortunately, our tests are running fine and as expected. The indexing 
>> succeeds in the test and the query also works as expected. But we are 
>> seeing this exception when the code is deployed to appengine.
>>
>> Any help to resolve this is greatly appreciated.
>>
>> Thanks!
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/59142759-1e97-4cd3-a500-97572fc055c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to