Questions tagged [gae-search]

The Search API allows your application to perform Google-like searches over structured data. You can search across several different types of data (plain text, HTML, atom, numbers, dates, and geographic points). Searches return a sorted list of matching text, and you can customize the sorting and presentation of results.

The Google App Engine Search API provides a simple model for indexing and searching data, and displaying the results. Search can query any data, as long as that data is described by a document. You structure data in documents using a number of Field classes to describe different type of text the document contains (plain text, HTML, atom, numbers, dates, and geographic points).

After constructing the document, you can use methods of the Index class to add, remove, or list documents in an index, and also to search an index with a query. The API provides a comprehensive query language that supports numeric and text expressions. The API also allows you to specify query options, such as sort order for results, the number of results returned, and a starting cursor position or offset.

You can use field expressions and snippeted fields to control the presentation and content of search results, and you can use cursors to page through each set of results. Field expressions let you specify which fields to return. Snippeted fields in the QueryOptions class allow you to return an abbreviated snippet of a field instead of its full content.

Matching search results are returned to the application in a SearchResults object. This object includes the number of results found, the actual results returned, and an optional cursor object.

For further information see Google's Search API Documentation.

93 questions
1
vote
1 answer

How frequently should I rebuild my App Engine search index (full text search)?

It seems like—at least for now—I have to manually keep the search index in sync with the datastore. If I rebuild the index every time something is changed in the datastore, I assume I will run into quota issues, so I figured it would be better to…
1
vote
1 answer

What will the quotas and pricing be when GAE (Google App Engine) Search API service comes out of experimental

It's really all but impossible for someone considering a migration to GAE to recommend going forward or even investigate this option if there is no information about the expected quotas or pricing for the Search API (for billing apps of course).…
Starman
  • 426
  • 3
  • 6
1
vote
1 answer

GAE Search API: Default value in order SortExpression

When setting sorting order option in SortExpression.Builder, it's strictly required to set a defaultValue(String,Numeric or Date). What is a purpose of this setting and how it affects search results or result sorting order?
Peter
  • 119
  • 9
1
vote
1 answer

Regularly updated data and the Search API

I have an application which requires very flexible searching functionality. As part of this, users will need have the ability to do full-text searching of a number of text fields but also filter by a number of numeric fields which record data which…
1
vote
1 answer

appengine objectify text search

Maybe I am missing something but is there any way to use the new text search features as described in the 2011 presentation http://www.youtube.com/watch?v=7B7FyU9wW8Y (approx. 30min mark) with Objectify, Entities, and Java? I realize it is an…
David Ward
  • 493
  • 3
  • 15
1
vote
0 answers

Limit in Search API not working?

I added 11 documents with a numeric field set to 1 to 11. And set sorting on the numeric field. SortOptions sortOptions = SortOptions.newBuilder() .addSortExpression(SortExpression.newBuilder() …
Anders
  • 71
  • 5
1
vote
1 answer

What is the best approach for managing static information for a site, while implementing the Search API across it?

Recently, Google has created a new Search API that you can integrate into your google app engine application for searching documents and information within your site. Cool! I have a site that has quite a few Django resources that contain a…
RLH
  • 15,230
  • 22
  • 98
  • 182
0
votes
1 answer

GAE full text search with "did you mean" feature

Is there any plan to include a "did you mean" feature in the Google App Engine Full Text Search API? It would be very powerful to have a default way of testing full text queries. For example the query "barcak obama" would generate: "Did you mean:…
Anders
  • 71
  • 5
0
votes
1 answer

GCP Datastore vs Search API performance benchmarks?

Are there any existing benchmarks about GCP Datastore queries and Search queries performance? I'm interested how the performance changes as the data grows. For instance, if we have: class Project: members = ndb.StringProperty(repeated=True) and…
0
votes
3 answers

How to effectively delete Google App engine Search API index

I have found some similary questions here ,but no solid answer. How to delete or reset a search index in Appengine how to delete search index in GAE Search API How to delete a search index on the App Engine using Go? How to delete a search Index…
howie
  • 2,587
  • 3
  • 27
  • 43
0
votes
1 answer

TransientError: Temporary search service error - Python Google App Engine Search

I'm trying to run a query and sorting by 'updated_at' field using a large number_found_accuracy: order_options = search.SortOptions( expressions=[search.SortExpression(expression='updated_at', …
0
votes
1 answer

Can someone help me add a new column in Google cloud Search Index using Java

I tried adding a new column to an existing search index but it is throwing an error, the error as stated below:- Field docname is present 0 times; expected 1 java.lang.IllegalArgumentException: Field docname is present 0 times; expected 1 I can…
0
votes
0 answers

Simple query at App Engine Search not working

I have the following data inside an index at Search API. The name and slug fields are TextFields. Document Id name slug 5946158883012608 Configurations configurations 4820258976169984 Customers …
armandomiani
  • 732
  • 6
  • 16
0
votes
1 answer

Limiting GAE Search API results by user

We have a use case where users must be able to search content that is only available in Groups that they have access to. The search must be across all groups that they have access to. Some details: A Group has many Posts, and a user may have access…
Rob Curtis
  • 2,245
  • 24
  • 33
0
votes
1 answer

How to delete a search index on the App Engine using Go?

I am wondering what is the best way to delete a search index of the full text search API that is available on the Google App Engine. I have found a few questions on this topic focusing on Python, but none on Go. The general suggestions seems to be…
jens
  • 168
  • 5