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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T15:14:56+00:00 2026-06-05T15:14:56+00:00

I have started to try out to use the new Search API, the demo

  • 0

I have started to try out to use the new Search API, the demo is running smoothly, however, there are some points I am still confused about being outsider of the search world.

First of all is how to build a document. Obviously you can’t hard-coded each line into a document, but what else can I do. Say if I have a user class (I’m using Java, but I guess Python makes no difference here), and I would add the user’s information into the document, and be able to do a full-text search against the field of address.

class User {
   String username;
   String password;
   String address;
}

In my datastore, I have this entity with 10000 instances there, and if I will need to build this document, do I have to

Step 1: retrieve the 10000 instance from datastore

Step 2: Iterate through each of the user entity, and create 10000 documents

Step 3: Add all 10000 docs into an index, and then I will be able to search

Please correct me if above three steps I mentioned is wrong.

If that is the case, then does it that later each time a new User registered, we need to create a new document, and add to the index?

  • 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-05T15:14:57+00:00Added an answer on June 5, 2026 at 3:14 pm

    Unfortunately I haven’t play around with that much. I learned a few things.

    • When first implementing it, I hade to create a lot of documents as well (as you describe). But kept running in to deadline exceptions. So I ended upp using the task queue for building documents for all my old records.

    • Remember to create a cross-reference between the search Document and you datastore entity. So you can easily update your document record. And from a search result get the match entity.

    For cross-reference add a new property on your datastore model called something like search_document_id where you store the doc_id (I prefixed all my doc_id’s with the datastore model name). And add a text field on you Document containing the entity key as a string.

    But I would say in a nutshell you are correct.

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

Sidebar

Related Questions

I have started to try out noSQL databases now and are currently testing out
Hello I'm very new to OpenGlES and i have started to try to learn
I have started to look into python and am trying to grasp new things
I have started implementing Subscriptions into my app but I cannot get the API
I have started using SqLite recently, so I am relatively new to it. I
I have started learning Twitter4j API and have got all credentials and tokens from
I have just started working with Android ListView . However, setAdapter function in my
I've recently started to test and use WatiN, and i came across some of
We're running a fairly large site, and a lot of our visitors have started
I have started developing for Adroid Phones a couple of days ago and I

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.