You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by to...@apache.org on 2015/06/12 17:32:22 UTC
svn commit: r1685106 -
/jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/query.md
Author: tommaso
Date: Fri Jun 12 15:32:21 2015
New Revision: 1685106
URL: http://svn.apache.org/r1685106
Log:
OAK-2175, OAK-2176, OAK-2958 - adjusted links
Modified:
jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/query.md
Modified: jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/query.md
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/query.md?rev=1685106&r1=1685105&r2=1685106&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/query.md (original)
+++ jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/query.md Fri Jun 12 15:32:21 2015
@@ -167,8 +167,8 @@ Clients wanting to obtain spellchecks co
spellchecks = row.getValue("rep:spellcheck()").getString()
}
-If either Lucene or Solr were configured to provide the spellcheck feature, see [Enable spellchecking in Lucene](../lucene.html#Spellchecking) and [Enable
-spellchecking in Solr](../solr.html#Spellchecking), the `spellchecks` String would be have the following pattern `\[[\w|\W]+(\,\s[\w|\W]+)*\]`, e.g.:
+If either Lucene or Solr were configured to provide the spellcheck feature, see [Enable spellchecking in Lucene](lucene.html#Spellchecking) and [Enable
+spellchecking in Solr](solr.html#Spellchecking), the `spellchecks` String would be have the following pattern `\[[\w|\W]+(\,\s[\w|\W]+)*\]`, e.g.:
[hello, hold]
@@ -200,10 +200,10 @@ Clients wanting to obtain suggestions co
suggestions = row.getValue("rep:suggest()").getString()
}
-If either Lucene or Solr were configured to provide the suggestions feature, see [Enable suggestions in Lucene](../lucene.html#Suggestions) and [Enable
-suggestions in Solr](../solr.html#Suggestions), the `suggestions` String would be have the following pattern `\[\{(term\=)[\w|\W]+(\,weight\=)\d+\}(\,\{(term\=)[\w|\W]+(\,weight\=)\d+\})*\]`, e.g.:
+If either Lucene or Solr were configured to provide the suggestions feature, see [Enable suggestions in Lucene](lucene.html#Suggestions) and [Enable
+suggestions in Solr](solr.html#Suggestions), the `suggestions` String would be have the following pattern `\[\{(term\=)[\w|\W]+(\,weight\=)\d+\}(\,\{(term\=)[\w|\W]+(\,weight\=)\d+\})*\]`, e.g.:
- [{term=in 2015 a red fox is still a fox,weight=1.5, {term=in 2015 my fox is red, like mike's fox and john's fox,weight=0.7}]
+ [{term=in 2015 a red fox is still a fox,weight=1.5}, {term=in 2015 my fox is red, like mike's fox and john's fox,weight=0.7}]
Note that suggested terms come already filtered according to calling user privileges, so that users could see suggested
terms only coming from indexed content they are allowed to read.