I use the code done by Nicolas and I can only say that it works great. There is one limitation, though. It assumes AND between the keywords that you search. I modified that by breaking it up in several queries but I think that code is not very efficient. In the longer term there is fulltext search on the roadmap of GAE. If you have real documents like PDF or something you could also try to use the blob store and something like google site search or google scholar. This way your documents are also publically accessible.
On May 27, 11:42 pm, nicolas melendez <[email protected]> wrote: > Due to GAE limitations, fulltext search isn't a easy task. > you can see this code of a basic fulltext search for JDO > here:http://googleappengine.blogspot.com/2010/04/making-your-app-searchabl... > > and i made a migration of the code to objectify, you can find it > here:http://code.google.com/p/fulltext-search-in-objectify/ > > Hope it helps, > NM > > On Thu, May 27, 2010 at 5:22 PM, king <[email protected]> wrote: > > I need your help. I am building a prototype to index text documents > > for my school. The students will upload their paper through browser > > and my gae apps is supposed to index them and make them searchable. > > Is lucene the best solution on GAE? If so, could you show me a very > > simple (WITHOUT struts2, spring, hibernate, etc..) tutorial of how to > > use lucene with GAE? The lucene example in googlecode is read-only > > and require off-line index building, which doesn't work with dynamic > > document upload. Your help is greatly greatly appreciated. Thanks in > > advance. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google App Engine for Java" group. > > To post to this group, send email to > > [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<google-appengine-java%2B > > [email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-appengine-java?hl=en. > > -- > Nicolás Meléndez > Java Software Developer > > 1) Google App Engine works: > > 1.a)http://www.clasificad.com.ar- Local free classifieds for housing, > sale, services, local community, curses,jobs, and events - GAE/J + Wicket + > YUI > > 1.b)http://www.chessk.com- Massive multiplayer chess online - GAE/J + > Applets + Wicket > > 2) Linkedin:http://ar.linkedin.com/in/nicolasmelendez -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
