On Mon, Dec 13, 2010 at 05:29:04PM -0500, Erik Blankinship wrote:
As a note.. the function find with a { query:my_search_string } tokenizes
both my_search_string and the datastore entries on white space. The
function returns true on any combination.
Journal Entries
Goo Bar
Goo Bee
On Tue, Dec 14, 2010 at 11:04:33AM +, Aleksey Lim wrote:
On Mon, Dec 13, 2010 at 05:29:04PM -0500, Erik Blankinship wrote:
As a note.. the function find with a { query:my_search_string } tokenizes
both my_search_string and the datastore entries on white space. The
function returns
This is a little unexpected. What is the expected use case for this
implementation?
'query' is intended for arbitrary text search
I mean you can use search operators
http://xapian.org/docs/queryparser.html
Got it, thank you. Those operators are very helpful to refine
This limitation was already documented here:
http://wiki.sugarlabs.org/go/Development_Team/Low-level_Activity_API#Querying
To my knowledge that page is reasonably up-to-date. Please correct it if I'm
wrong ;)
- Bert -
On 04.12.2010, at 04:03, Erik Blankinship wrote:
from #sugar...
alsroot
I tried using this bit of code to get a list of items in the journal by
their title, but it is returning everything in the journal!
http://bit.ly/fjgpJr
ds_objects, num_objects = datastore.find({'title':'file1.txt'})
Any suggestions?
___
Sugar-devel
from #sugar...
*alsroot *: try datastore.find({'query':'coolthings'})
*alsroot*: for now, only uid, activity, activity_id, mime_type and keep
search term are supported
On Fri, Dec 3, 2010 at 4:49 PM, Erik Blankinship er...@mediamods.comwrote:
I tried using this bit of code to get a list of
6 matches
Mail list logo