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 th...@apache.org on 2018/11/09 10:34:58 UTC
svn commit: r1846230 -
/jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/lucene.md
Author: thomasm
Date: Fri Nov 9 10:34:57 2018
New Revision: 1846230
URL: http://svn.apache.org/viewvc?rev=1846230&view=rev
Log:
OAK-301: Document Oak
Modified:
jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/lucene.md
Modified: jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/lucene.md
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/lucene.md?rev=1846230&r1=1846229&r2=1846230&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/lucene.md (original)
+++ jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/lucene.md Fri Nov 9 10:34:57 2018
@@ -723,12 +723,14 @@ the analyzer node
Analyzers can also be composed based on `Tokenizers`, `TokenFilters` and
`CharFilters`. This is similar to the support provided in Solr where you can
-[configure analyzers in xml][solr-analyzer]
+[configure analyzers in xml][solr-analyzer].
+In this case, the analyzer `class` property needs to be removed.
+The `tokenizer` needs to be specified,
+all the other components (e.g. `charFilters`, `Synonym`) are optional.
```
+ analyzers
+ default
- - class = "org.apache.lucene.analysis.standard.StandardAnalyzer"
+ charFilters (nt:unstructured) //The filters needs to be ordered
+ HTMLStrip
+ Mapping