google-app-engine


Language support for Google Search API


I'd like to perform a partial text / phrase search against a Datastore record field using Ruby.
I've figured out how to do it with a conditional constraint using >= <"\ufffd" condition, but that only works from the beginning of the field.
This works; querying for "Ener" returns "Energizer AA Batteries" but querying for "AA" does not return the same.
In the docs for the Python Google Client's Search API, it documents the ability to manually create indexes which allow for both atomic and partial word searches.
https://cloud.google.com/appengine/docs/standard/python/search/ says:
Tokenizing string fields When an HTML or text field is indexed, its
contents are tokenized. The string is split into tokens wherever
whitespace or special characters (punctuation marks, hash sign, etc.)
appear. The index will include an entry for each token. This enables
you to search for keywords and phrases comprising only part of a
field's value. For instance, a search for "dark" will match a document
with a text field containing the string "it was a dark and stormy
night", and a search for "time" will match a document with a text
field containing the string "this is a real-time system".
In the docs for Ruby and PHP, I cannot find such an API reference to enable me to do the same thing. Is it possible to perform this type of query in Ruby / PHP with Cloud Datastore?
If so, can you point me to the docs, and if not, is there a workaround, for example, create indexes with the Python Search API, and then configure the PHP/Ruby client to execute it's queries against those indexes?

Related Links

Registration issue with Google App Engine
iText + RPC. How send PDF from Server to Client
Why have the GAE cold starts gotten worse lately? [closed]
GAE Full Text Search, find exact match
Error using GWT openlayers MapWidget
make a copy of an image in blobstore
MapReduce jobs running forever
Stemming with GAE Full Text Search
google app script consumer with google appEngine Provider (Oauth)
Is ndb async guaranteed to execute after application request has finished?
EntryPoint Classes & Modules in GWT
Google App Engine: keep state of an object between HTTP-requests (Java)
How to update datastore in GAE
Where can you find support/status for appengine if you're not a Premier Account? [closed]
Avoiding contention in AppEngine
Servlet redirect to URL with UTF-8 (or HTTP header with UTF-8) - seen on Google App Engine (GAE)

Categories

HOME
phantom-dsl
developer-tools
c99
telegram
numbers
themes
components
can
echo
trac
elasticsearch-5
syntaxnet
heap
project-intu
gource
cumulocity
qsqlquery
altera
parameter-passing
http-post
modbus-tcp
entitymanager
dreamweaver
jersey-1.0
gmm
selinux
sar
kendo-mobile
backpack-for-laravel
gulp-watch
inno-download-plugin
jquery-callback
entity-relationship-model
intersystems-cache
genexus-sd
quantlib
android-gridview
hard-drive
github3.py
gojs
apiary.io
apic
lint
graphhopper
sessionstorage
xdocreport
tasm
xv6
laravel-elixir
softmax
android-ibeacon
placeholder
linter
configurationmanager
manova
excel-dna
template-toolkit
gameplay-kit
filenet
materialized-path-pattern
winusb
drawstring
nss
kiosk
upx
phpgrid
concept-insights
tfs-workitem
gocql
jdi
ocra
jsvc
dnssec
mraid
zend-currency
broadband
wcm
personalization
matrix-inverse
maven-scm
amslidemenu
qscrollarea
android-audiorecord
gtm-oauth2
inputmismatchexception
inappsettingskit
mvc-editor-templates
time.h
mantle
android-sdk-2.3
argouml
qi4j
jsr286
procedures
http-daemon
django-paypal
lobo-cobra
sun
cldc
fail-fast-fail-early
int64
flvplayback

Resources

Encrypt Message