Forum OpenACS Q&A: Re: How do you tell OpenFTS to index existing ETP content?

OK,

As you said, the contract wasn't installed, so, I have installed it manually and, after restarting the server, added the content in the queue.

Now, when adding new etp_content or trying to index the existing one, the search_indexer crashes (seems I have missed to configure something):

[14/Mar/2004:20:47:54][26216.2051][-sched-] Notice: Running scheduled proc search_indexer...
[14/Mar/2004:20:47:54][26216.2051][-sched-] Error: can't read "content_Type": no such variable
can't read "content_Type": no such variable
    while executing
"ns_log notice "ETP:content_type=$content_Type""
    (procedure "etp::revision_datasource" line 5)
    invoked from within
"etp::revision_datasource $object_id"
    (procedure "AcsSc.FtsContentProvider.datasource.etp_page_revision" line 1)
    invoked from within
"AcsSc.FtsContentProvider.datasource.etp_page_revision 937"
    ("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 5)
    invoked from within
"acs_sc_call FtsContentProvider datasource [list $object_id] $object_type"
    ("INSERT" arm line 4)
    invoked from within
"switch $event {
            INSERT {
                set object_type [acs_object_type $object_id]
                if {[acs_sc_binding_exists_p FtsCont..."
    ("uplevel" body line 3)
    invoked from within
"uplevel 1 $code_block "
    ("1" arm line 1)
    invoked from within

Thanks for your fast response, it's great !

Collapse
Posted by coklat coklat on
ini untuk apa ya