Changes

Jump to navigation Jump to search
Line 24: Line 24:     
Instead of having complicated query format for org.laptop.sugar.DataStore::find(), use plane string [http://www.xapian.org/docs/queryparser.html full featured] query format i.e. use all system query parameters(like timestamp, mime_type etc.) with user query string(from former find()'s 'query' argument).
 
Instead of having complicated query format for org.laptop.sugar.DataStore::find(), use plane string [http://www.xapian.org/docs/queryparser.html full featured] query format i.e. use all system query parameters(like timestamp, mime_type etc.) with user query string(from former find()'s 'query' argument).
 +
 +
All system, users predefined and some(its up to user) of users query terms will use prefixes like mime_type:"text/plain" or ctime:<date1>..<date2>
 +
 +
==== System terms ====
 +
 +
* ''tree_id''
 +
* ''version_id''
 +
* ''parent_id''
 +
* ''ctime'' support ranges
 +
* ''bundle_id''
 +
* ''entry_type''
 +
* ''creator''
 +
* ''mime_type''
 +
 +
==== Users predefined terms ====
    
== Benefit to Sugar ==
 
== Benefit to Sugar ==

Navigation menu