On 10 Jun., 11:11, ogterran <jonathanh...@gmail.com> wrote:
> Hi,
>
> When I create a datastore model using SearchableModel, it creates a
> __searchable_text_index column, for full textsearch.
> If I don't want all the columns to be part of the index forsearch,
> how do I exclude columns for full textsearch?
>
> i.e.
> I don't want pid, site, and url to be part of the full textsearch.
>
> class Product(search.SearchableModel):
>         pid = db.StringProperty(required=True)
>         title = db.StringProperty(required=True)
>         site = db.StringProperty(required=True)
>         url = db.LinkProperty(required=True)
>
> Thanks
> Jon

Hi,
you can try to use with gae-search. It allows for indexing only
specific properties. Visit http://gae-full-text-search.appspot.com/
and take a look at the documentation/demos. I hope you will like it.

Best regards
Thomas

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to