We do it exactly the way you describe it, using an indexed multi-property which holds all the fragments of words. You can try the search box in the top right of https://www.voo.st/. It works nicely for our purposes. However, we don't do pagination - if you don't get the results you are looking for, keep typing.
Jeff On Mon, Mar 25, 2013 at 11:00 AM, Dimitri Emmerich <[email protected]> wrote: > Hey folks! > > Right now i'm wondering, what is the best way to implement a search. > For my application i need to be able to search names. For example > when the user types in "da" i want to search the datatstore and return > names like "david", "daniel" etc. > > I implement it using Search nodes created for each user like for "daniel" > "d", "da", "dan", "dani" .. you get the idea. But is there a more efficient > way? > It works quiet well, but its not really fast, especially when used with > paging. > > i thought about using the compute properties, with a list of text fragments > in it > for the search, but maybe there is a better method. i tried also using the > text search feature, but it was not really useful for this. also i hit the > quotas > really fast. > > may you can help me out, or point me in the right direction! > > thanks! > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/google-appengine?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
