We have found some issues with the analyzer code that analyzes the wiki
name.
Though with the english analyzer this should not be a problem.
We are fixing this for the next versions of XWiki.
Now if you are sure the problem is the name of the wiki, rename it and
use a wiki "alias".
The result for the user will be the same URL, but the wiki will have
internally another name
Ludovic
Le 04/02/11 11:15, Tronicek a écrit :
Hi,
we've updatet XWiki 1.7 XE to 2.7.33656 and are using the Wiki Manager to
have a Wiki Farm.
There is a strange behaviour we have not realized immediately related to
search requests.
It seams that the name of the virtual wiki is causing the problem. Its name
is "it" and is used as solution base for IT problems.
We can reproduce the problem by:
- create a new virtual wiki with name "it" (without quotation marks).
- import xwiki-enterprise-wiki-2.7.xar
- search with lucene (no results):
.../view/Main/LuceneSearch?text=sandbox&space=
- search with old engine (see pages):
.../view/Main/WebSearch?text=sandbox&space=
We tried to change the analyzer in xwiki.cfg:
xwiki.plugins.lucene.analyzer=org.apache.lucene.analysis.de.GermanAnalyzer
-> no success
Our virtual wikis are mapped via virtual path (xwiki.cfg:
xwiki.virtual.usepath=1).
It would be nice to keep the virtual wiki name. Is there a workaround to
handle this problem?
Regards,
Rudolf
--
Ludovic Dubost
Blog:
http://blog.ludovic.org/
XWiki:
http://www.xwiki.com
Skype: ldubost GTalk: ldubost