can you hold all the names in memory and do a simple scan? if all you need is word matching that would work. you could have a cron and task that indexes the names.
we have been using appengine for more than 2 years, so we had to make lucene to work with the appengine. basically load the index in memory or fallback to datastore. thanks rafa On Mon, Mar 25, 2013 at 12:30 PM, Igor Kharin <[email protected]> wrote: > If you're not interested in real fuzzy search, I think you may be > overcomplicating. It might be as simple as something like: > SELECT * FROM Users WHERE name > 'da' AND name < 'db' > > > On Mon, Mar 25, 2013 at 11:00 PM, 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. > > > -- 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.
