1

The following code:

from google.appengine.api import search
index = search.Index(name='members')
document = search.Document(
    fields=[
        search.TextField(name='full_name', value='sample text')
    ])       
index.put(document) 
results = index.search('full_name:tex')
logging.info(results) 

returns:

search.SearchResults(number_found=0L)

What am I doing wrong?

Rad Apdal
  • 442
  • 1
  • 6
  • 16

1 Answers1

0

Found the answer. Looks like GAE Search API is a Full Text search and does not support Partial Matching. Tokenized data based on the answer here: Partial matching GAE search API

Rad Apdal
  • 442
  • 1
  • 6
  • 16