Author: catholicon
Date: Wed Oct 25 13:34:26 2017
New Revision: 1813291

URL: http://svn.apache.org/viewvc?rev=1813291&view=rev
Log:
Add a note that one-way synonyms aren't supported in lucene indexes at the 
moment

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=1813291&r1=1813290&r2=1813291&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 Wed Oct 25 
13:34:26 2017
@@ -778,6 +778,9 @@ Points to note
 7. When defining synonyms:
     * in the synonym file, lines like _plane, airplane, aircraft_ refer to 
tokens that are mutual synoyms whereas lines 
     like _plane => airplane_ refer to _one way_ synonyms, so that plane will 
be expanded to airplane but not vice versa
+    * continuing with the point above, since oak would use the same
+    analyzer for indexing as well as querying, using one-way synonyms in
+    any practical way is not supported at the moment.
     * special characters have to be escaped
     * multi word synonyms need particular attention (see 
https://lucidworks.com/2014/07/12/solution-for-multi-term-synonyms-in-lucenesolr-using-the-auto-phrasing-tokenfilter)
     


Reply via email to