4

any insight as to making/optimizing full-text searches on bigtable using java? best practices and such? how do u guys do it?

Devrim
  • 2,826
  • 5
  • 25
  • 31
  • 1
    possible duplicate of [How can one perform full text search in Google App Engine?](http://stackoverflow.com/questions/1297406/how-can-one-perform-full-text-search-in-google-app-engine) – Jason Hall Aug 20 '10 at 12:41

1 Answers1

6

Basic idea is to build an index as a list property from the text (stemmed and with stop words removed). To improve performance use "relation indexing" by moving the list property into a child entity. This prevents a potentially large list from being loaded as part of the default fetch group - you only need to query against. You'll have to use the low level api to do a keys only query taht will return the keys of the parent class which can then be used to fetch teh matching items.

casperOne
  • 73,706
  • 19
  • 184
  • 253
dunelmtech
  • 256
  • 2
  • 3