Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7948215
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T01:39:40+00:00 2026-06-04T01:39:40+00:00

The Google App Engine has previously released a Search API, that allows you to

  • 0

The Google App Engine has previously released a Search API, that allows you to create Document objects, which can be searched within an indexing system similar to Googles search operations.

One of the associated classes is the FieldExpression. According to the documentation, an expression allows you to define custom content snippets for your fields. The example that they have given for a FieldExpression definition is:

FieldExpression(name='content_snippet',
                expression='snippet("very important", content)')

…where the name parameter identifies the expression, and the expression parameter is some form of code, executed when the specific FieldExpression‘s value is accessed on a document.

My question is, can I call external methods on my Document object (or possibly else where), from within the expression code? If not, what are your syntax options for use when defining a FieldExpression object?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T01:39:41+00:00Added an answer on June 4, 2026 at 1:39 am

    You can’t call your own external methods.
    At the moment, the defined functions are ‘snippet’, ‘max’, ‘min’, and ‘count’. (For example, max(3,price)).
    However, there are currently some known issues with some of these; e.g. ‘count’ will probably not work.

    In future, the number of such supported functions will be increased. In addition to string operations, e.g. for concatenation and trimming, more mathematical functions will be supported.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My application built with Google App Engine has this page that displays search results
I have a model in Google App Engine that has 50,000+ entities. I would
I have a google app engine app that has been running for some time,
On Google App Engine in Python, I have a Visit entity that has a
Google App Engine has the concept of app versions. i.e., you can have multiple
It's my understanding that Google App Engine with Google Web Toolkit has a client
Google app engine already has Prospective search in its experimental feature at least for
I know that when your Google App Engine (GAE) app has 0 instances running
I have an Google App Engine entity called MyFile. It has properties such as
I am uisng webapp2 on google app engine my database model has the following

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.