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 8379255
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T16:07:45+00:00 2026-06-09T16:07:45+00:00

I see that google app engine has now added text search: https://developers.google.com/appengine/docs/python/search/overview Does this

  • 0

I see that google app engine has now added text search: https://developers.google.com/appengine/docs/python/search/overview

Does this include searching for sub-strings within strings?

The reason I ask is because I had previously written some code that would allow substring search for fields like names and phone numbers. For example, you could search for “San” and it would find results like “Mike DaSantos”. This was awesome for stuff like auto-complete.

I ran into problems with cost though because of the tremendous amount of write operations that this required. Each field that I did this for required roughly O((n*n+1)/2) write operations because it involved a write operation for each subset of letters in a string. This added up to a few dollars of app engine costs when it came to indexing phone numbers, names, e-mail addresses, and addresses for 6000 customers.

I’m wondering if using the search API could provide this functionality for less cost?

Thanks so much!

  • 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-09T16:07:47+00:00Added an answer on June 9, 2026 at 4:07 pm

    No it doesn’t.

    The only “wildcard” we can search with is for plurals.

    ~"car"  # searches for "car" and "cars"
    

    What it can do though is save multiple tokens in the same field. See their example at TextSearchServlet

      StringTokenizer tokenizer = new StringTokenizer(tagStr, ",");
      while (tokenizer.hasMoreTokens()) {
        docBuilder.addField(Field.newBuilder().setName("tag")
            .setAtom(tokenizer.nextToken()));
      }
    

    So you could query a “nametag” field for example, and assuming you tokenized the name into it get “Mike DaSantos” back

      Results<ScoredDocument> results = getIndex().search("nametag:San"); 
    

    I am not crystal clear on the costs and quotas here.

    • 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
In the android we can see that there is a default google search on
I'm using a modified version on juno ( http://github.com/breily/juno/ ) in Google App Engine.
I'm building a Google App Engine web app, with a Java back end, that
Im trying to use http://www.javarants.com/2008/04/13/using-google-app-engine-to-extend-yahoo-pipes/ as inspiration, but I'm having some troubles with the
I have a problem with the Google App Engine JDO implementation that I cannot
im learning the google app engine framework and service and for that i built
I just started working on a project that will run on google app engine
I have a web app that uses google app engine .In ubuntu ,I start
I have a google app engine app that is using Django templates. I am

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.