Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Silbe <sascha-org-sugar-git@silbe.org>2009-07-07 12:53:48 (GMT)
committer Sascha Silbe <sascha-org-sugar-git@silbe.org>2009-07-07 12:53:48 (GMT)
commit26c4681120097b333480a03185481163d034c845 (patch)
tree040c4d30ce8cd87768cb159112f1aba2d8d952c4
parent1eb7cb84a30431b459a9abcfe6b06f986b3a2482 (diff)
add query from find() to textsearch()
-rw-r--r--datastore-redesign.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/datastore-redesign.html b/datastore-redesign.html
index 1948b2d..6d24ef3 100644
--- a/datastore-redesign.html
+++ b/datastore-redesign.html
@@ -26,7 +26,6 @@
<li>do we want an optimized way to determine (only) the branch HEADs of a given <code>tree_id</code>?</li>
<li>example activity &lt;-&gt; data store interaction</li>
<li>Tomeu: What about having a separate call that returns synchronously a new <code>tree_id</code> and/or <code>version_id?</code></li>
- <li>add <code>query</code> from <code>find()</code> to <code>textsearch()</code> as well?</li>
</ul>
<h2>(A)synchronicity of API calls</h2>
@@ -403,10 +402,10 @@
</p>
</dd>
- <dt><code>textsearch(querystring, options)</code></dt>
+ <dt><code>textsearch(querystring, query, options)</code></dt>
<dd>Preliminary API call for IR search using Xapian. Likely to be replaced for next version.
- <code>querystring</code> is passed to Xapians query parser, <code>options</code>
- interpreted like for <code>find()</code>. Returns the same format as <code>find()</code>.
+ <code>querystring</code> is passed to Xapians query parser; <code>query</code> and <code>options</code>
+ are interpreted like for <code>find()</code>. Returns the same format as <code>find()</code>.
</dd>
<dt><code>find_unique_values(query, metadata_name)</code></dt>