Try looking in the logs when that error appears. More information is needed
at this point.
Also, make sure that your wiki is indexed. Does regular search work for
your wiki?
On Wed, Aug 13, 2014 at 6:24 PM, <pefaidherbe(a)devinlec.com> wrote:
It is a bit better but still not works...
The search with the input field does not display error anymore, but
returns an empty result list (of course the tested input should return
results...)
And when I type keywords in the input field, the suggested results tip
keeps saying "No results", and sometimes (?) a red popup appears at the
bottom of the screen saying something like "Impossible to get
suggestions."
Eduard Moraru <enygma2002(a)gmail.com>
Envoyé par : "users" <users-bounces(a)xwiki.org>
13/08/2014 16:57
Veuillez répondre à
XWiki Users <users(a)xwiki.org>
A
XWiki Users <users(a)xwiki.org>
cc
Objet
Re: [xwiki-users] Error during searches
It is not a matter of which user you perform the query with (main wiki
admin or subwiki admin), but it matters what user saved the document that
the search code is executed from.
Try logging in with the main wiki admin and save your subwiki's following
documents (just open each document in edit mode and press save):
- Main.Search
- Main.SolrSearch
- XWiki.SuggestSolrService
When you are done, it should say that each document has been last edited
by
you main wiki's admin.
Does this fix it?
Thanks,
Eduard
On Wed, Aug 13, 2014 at 12:33 PM, pef <pefaidherbe(a)devinlec.com> wrote:
Hi,
I tested your solution but it did not help...
Connected with the subwiki admin, I opened the URL
"localhost:8080/xwiki/wiki/mywiki/view/Main/SolrSearch" and tried a
search
: it succeeded and listed the results. But when I
try the same search
with
the upper-right "search" field in the
page (just under the login/profile
toolbox), it raises the error :
2014-08-13 11:13:07,821 [
http://localhost:8080/xwiki/wiki/mywiki/get/XWiki/Sug
gestSolrService?query=fq%3Dtype%3ADOCUMENT%0Aqf%3Dtitle%5E2+name&nb=3&outputSynt
ax=plain&input=rdp] ERROR o.x.v.i.DefaultVelocityEngine - Exception in
macro #g
etSearchSuggestResults called at octaedre:XWiki.SuggestSolrService[line
2,
colum
n 1]
This search field uses the url : "
http://localhost:8080/xwiki/wiki/mywiki/view/Main/Search?y=7&text=rdp&a…
"
I tried the same thing connected with a main wiki admin and got the same
results.
Re-saving the document with admin rights do not changes nothing.
But this search field works well when used in the main wiki, with admin
ou
subwiki admin : "
http://localhost:8080/xwiki/bin/view/Main/Search?text=rdp&f_type=DOCUME…
"
How can I repair my subwiki?
Thanks a lot.
"Eduard Moraru-2 [via XWiki]" <ml-node+s475771n7591652h80(a)n2.nabble.com>
13/08/2014 10:48
A
pef <pefaidherbe(a)devinlec.com>
cc
Objet
Re: Error during searches
Hi,
You`ve just replied on nabble to a mail that did not make it to the
list,
but I eventually found the original mail you were
referencing in your
message.
The problem seems to be that your Main.SolrSearch document is not saved
with programming rights, hence lacking the privileges to function
properly.
To fix it, you need to save that document with a user that has
programming
rights, usually an admin on the main wiki.
If you are just an admin of a subwiki inside a multiwiki environment,
you
need to contact your environment's admin and
have him save that
document.
If you are a main wiki admin (either in a
multiwiki or a single wiki
environment), then go ahead and re-save it yourself to fix it.
Hope this helps,
Eduard
On Mon, Aug 11, 2014 at 12:42 PM, zzeroo <[hidden email]> wrote:
I get exact the same error.
My Setup:
- XWiki Enterprise 6.0.1 on debian 7 installed via apt-get
- Postgres SQL server installed via apt-get
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Error-during-searches-tp7591316p7591625.h…
Sent from the XWiki- Users mailing list archive
at
Nabble.com.
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
If you reply to this email, your message will be added to the discussion
below:
http://xwiki.475771.n2.nabble.com/Error-during-searches-tp7591316p7591652.h…
To unsubscribe from Error during searches, click here.
NAML
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Error-during-searches-tp7591316p7591659.h…
Sent from the XWiki- Users mailing list archive
at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users