2

Searching for document containing a word e.g. London works. How do i define a search for a documents with (substring):

  1. starting with "Lond"
  2. or word ending with "don"
  3. or word containing "on"

Documentation: https://developers.google.com/appengine/docs/java/search/overview

Malte
  • 152
  • 2
  • 14

2 Answers2

1

Substring search is not supported.

Peter McKenzie
  • 741
  • 3
  • 6
1

App Engine's full text search API does not support substring matching.

However you can invent a workaround for this. See this answer for a Python-based solution that should translate easily to Java.

Community
  • 1
  • 1
Nick Farina
  • 4,470
  • 2
  • 32
  • 30