search icon indicating copy to clipboard operation
search copied to clipboard

A wrapper around Google's full text search API for App Engine

Results 18 search issues
Sort by recently updated
recently updated
newest added

Will maybe need to think of a more obvious and less conflicting name: - gae_search - gae_search_wrapper Suggestions?

GAE doesn't support Python 3.x yet but once the SDK supports it we should make sure that this library still works.

Currently there is no support for passing a list as the value. Mirroring django's filter lookup it would be along the lines of ``` my_query.filter(bar='baz', foo__in=['1', '2', '3']) ``` This...

enhancement

I.e. don't assume that every filter is just of the form `"%s (=|=|:) %s"` because this won't work for the search API's 'distance' queries on `GeoFields`

enhancement

Using `field.to_search_value(value)` for converting values passed to `.filter()` because the value indexed by the search API isn't always the same as the value you'd use to filter that field. Dates...

bug
tests
task

Move away from using `__getattribute__` and `__setattr__` on `DocumentModel` instances and instead use `__get__` and `__set__` to do the same job on `Field` instances.

task

In particular: - inheritance of `DocumentModel` - `ids_only=True` works with `search` and `list_indexes` - indexed text fields - unicode stuff - cursor stuff

tests

In particular: - unicode acceptance - and-/or-/not-ing `Q`s works as expected - keyword cleaning - invalid filtering values - empty filtering/keyword values

tests