non-indexed fields?

3 views
Skip to first unread message

Jacob G

unread,
Oct 10, 2019, 9:12:39 AM10/10/19
to djangae-users
Is there a way to configure a field to be not indexed?

Using either app engine db or ndb, that would mean setting the property option indexed=False:

Alternatively, a keyword unindexed_properties can be passed to the db Entity constructor:

The original djangoappengine (from django-nonrel) had that capability using a FIELD_INDEXES setting:

I don't see a way to do that in djangae, but maybe I'm just not finding it.

Luke Benstead

unread,
Oct 10, 2019, 9:16:11 AM10/10/19
to Jacob G, djangae-users
No.. only TextField and BlobField are currently unindexed. Potentially we can add a Meta class attribute at some point.

--
You received this message because you are subscribed to the Google Groups "djangae-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to djangae-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/djangae-users/2bd97aed-f30b-4b6c-852a-3b3ee7c8651b%40googlegroups.com.


--

--
Luke Benstead
p.ota.to
Reply all
Reply to author
Forward
0 new messages