I'm trying to perform a search inside my xowiki instance, as it should be donne in the ajax search box of xowiki version 0.39. So, I index the xowiki objects and pages using the following commands:
insert into search_observer_queue (select live_revision, now(), 'INSERT' from (
select live_revision from cr_items where content_type like '::xowiki::Page') xowiki);
insert into search_observer_queue (select live_revision, now(), 'INSERT' from (
select live_revision from cr_items where content_type like '::xowiki::Object') xowiki);
insert into search_observer_queue (select live_revision, now(), 'UPDATE' from (
select live_revision from cr_items where content_type like '::xowiki::Page') xowiki);
insert into search_observer_queue (select live_revision, now(), 'UPDATE' from (
select live_revision from cr_items where content_type like '::xowiki::Page') xowiki);
The next step is to perform the search::indexer procedure, wich should index my xowiki pages for search. However, when I try to do that, I get the following error message:
Error: search::indexer: error getting datasource for 1056546
::xowiki::Page: Cannot create object -- illegal name '::' Cannot create object -- illegal name '::'
::xowiki::Package ::xotcl::Class->create
invoked from within
"my create ::$package_id"
(procedure "require" line 10)
::xowiki::Package ::xo::PackageMgr->require
invoked from within
"my require -url $url $package_id"
(procedure "initialize" line 21)
::xowiki::Package ::xo::PackageMgr->initialize
invoked from within
"::xowiki::Package initialize -package_id $package_id -user_id $user_id -parameter $parameter -init_url false -actual_que$ (procedure "instantiate_page_from_id" line 16)
::xowiki::Package->instantiate_page_from_id
invoked from within
"::xowiki::Package instantiate_page_from_id -revision_id $revision_id -user_id 0"
(procedure "::xowiki::datasource" line 4)
invoked from within
"::xowiki::datasource $object_id"
(procedure "AcsSc.ftscontentprovider.datasource.xowiki_page" line 1)
invoked from within
"AcsSc.ftscontentprovider.datasource.xowiki_page 1056546"
("uplevel" body line 1)
invoked from within"uplevel $func_and_args"
(procedure "apply" line 3)
invoked from within
"apply $proc_name $arguments"
(procedure "acs_sc_call" line 6)
invoked from within
"acs_sc_call FtsContentProvider datasource [list $object_id] $object_type"
invoked from within
search::indexer
invoked from within
adp_parse_ad_conn_file
invoked from within
rp_serve_concrete_file /var/lib/aolserver/catir/packages/acs-developer-support/www/shell.adp
invoked from within
rp_serve_abstract_file /var/lib/aolserver/catir/packages/acs-developer-support/www/shell
invoked from within
rp_handler
Any ideas about the problem? I'm using the head version for the search