Re: [xwiki-users] Lucene search Problem with Wiki Farm Member it

2011-02-15 Thread Ludovic Dubost


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=sandboxspace=
- search with old engine (see pages):
.../view/Main/WebSearch?text=sandboxspace=

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

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Lucene search Problem with Wiki Farm Member it

2011-02-09 Thread Thomas Mortagne
Hi Rudolf,

Sorry for the delay.

It definitely looks like a bug and probably an escaping bug.

Could you create an issue on jira.xwiki.org with all the details to
reproduce it ?

On Fri, Feb 4, 2011 at 11:15, Tronicek troni...@web.de wrote:

 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=sandboxspace=
 - search with old engine (see pages):
 .../view/Main/WebSearch?text=sandboxspace=

 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

 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/Lucene-search-Problem-with-Wiki-Farm-Member-it-tp5992070p5992070.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users