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/541e508d-6597-4aef-945a-5e7d5e5ceb50%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to