hi felix!

thanks for your quick reply!

Felix Röthenbacher wrote:
Hi Jörg

You have to configure the index in your publication. Please have
a look in the config directory of the default publication.
Additionally, you need a xxx2index.xsl for all your resourcetypes
xxx (see xhtml module).


hmm. i have a config directory beneath my publication, so that should be used, right? or does this have to be in the default one?

index_manager_index.xconf looks ok to me.

i don't have any custom resource types (yet).

index_manager.xconf says:

<xconf xpath="/cocoon"
  remove="/cocoon/index_manager"
  unless="/cocoon/[EMAIL PROTECTED] = 'core.search.index_manager']">

        <index_manager logger="core.search.index_manager">

<indexer role="org.apache.cocoon.components.search.components.Indexer/default" />

<!-- ALL indexes (BE CAREFUL: Change the directory attribute) -->
                <indexes>

                </indexes>
        </index_manager>

</xconf>

what directory attribute? is this the setting i'm missing? if so, can you explain?

sorry, new lenya user :)



best,

jörn



hth

- Felix


Jörn Nettingsmeier wrote:
hi!


whenever i leave kupu or bxe, lenya 1.4 complains:

An error occured.

message: index PolWiss-authoring doesn't exist

org.apache.cocoon.ProcessingException: Error calling flowscript function executeUsecase at file:/home/POLNET/nettings/src/lenya-1.4.x/build/lenya/webapp/lenya/usecases/usecases.js:282:-1 at <map:call> - file:/home/POLNET/nettings/src/lenya-1.4.x/build/lenya/webapp/lenya/usecases/usecase.xmap:93:46 at <map:mount> - file:/home/POLNET/nettings/src/lenya-1.4.x/build/lenya/webapp/lenya/usecase.xmap:56:128 at <map:mount> - file:/home/POLNET/nettings/src/lenya-1.4.x/build/lenya/webapp/global-sitemap.xmap:303:105 at <map:mount> - file:/home/POLNET/nettings/src/lenya-1.4.x/build/lenya/webapp/sitemap.xmap:531:110

cause: org.apache.cocoon.components.search.IndexException: message: index PolWiss-authoring doesn't exist

the url says "http://localhost:8888/PolWiss/authoring//index.html?lenya.usecase=lucene.index&indexAction=index&indexArea=authoring";, so it looks like it's trying to update the search index after the edit, which is nice :) i have never used lucene, but my guess is i need to prepare an index manually before this is going to work. how do i initialize lucene in lenya 1.4?


sorry if this is a stupid faq, but i have so many wiki pages and code snippets in my head right now that i may be overlooking the obvious...


regards,

jörn



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to