Hi All,
Got another question, I need to perform an inequality filter on the
model.all().search(searchText)
Since
model.all().search(searchText).filter('property !=', value) is not
supported.. :(
I need some other way to perform inequality filter on the result....
Can I do something like
model.gql('WHERE property != :1', value).search(searchText)
Thanks,
Arun Shanker Prasad.
On Sep 18, 9:47 am, Arun Shanker Prasad <[EMAIL PROTECTED]>
wrote:
> Thanks Marzia.
>
> Thanks Bill, I might just try the customSearchableModel:)
>
> On Sep 18, 1:20 am, Bill <[EMAIL PROTECTED]> wrote:
>
> > You could use my modified version ofSearchableModel. I blogged about
> > it here:http://billkatz.com/2008/8/A-SearchableModel-for-App-Engine
> > It allows you to declare a class variable unsearchable_properties.
> > -Bill
>
> > On Sep 17, 7:28 am, Arun Shanker Prasad <[EMAIL PROTECTED]>
> > wrote:
>
> > > I have a search.SearchableModel, all the String properties are indexed
> > > and can be queried using .search(). Is there any way to make a
> > > particular property in the model not to be searched or indexed. I need
> > > to hide a particular property when the user performs a search on it.
>
> > > Thanks,
> > > Arun Shanker Prasad.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" 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?hl=en
-~----------~----~----~----~------~----~------~--~---