plone.restapi/plone-only-login: Add clarification when using SearchableText parameter in plo

Victor Fernandez de Alba <jenkins-z4DKO/[email protected]>
Newsgroups gmane.comp.web.zope.plone.cvs
Message-ID <[email protected]>
Repository: plone.restapi
Branch: refs/heads/plone-only-login
Date: 2017-07-20T18:37:51+02:00
Author: Victor Fernandez de Alba (sneridagh) <[email protected]>
Commit: https://github.com/plone/plone.restapi/commit/1c13b2c57ce6bcaa1af40b6b85002a4cbac24abd

Add clarification when using SearchableText parameter in plone.restapi to avoid confusions

Files changed:
M docs/source/searching.rst

diff --git a/docs/source/searching.rst b/docs/source/searching.rst
index 1b3e5ab6..91b19754 100644
--- a/docs/source/searching.rst
+++ b/docs/source/searching.rst
@@ -30,6 +30,11 @@ In order to return specific metadata columns, see the documentation of the ``met
         resultset exceeds the batch size. See :doc:`/batching` for more
         details on how to work with batched results.
 
+.. warning::
+        The @@search view or in Plone LiveSearch widget are coded in a way that the SearchableText parameter is expanded by including a * wildcard at the end.
+        This is done in order to match also the partial results of the beginning of a search term(s).
+        plone.restapi @search endpoint will not do that for you. You'll have to add it if you want to keep this feature.
+
 
 Query format
 ------------



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.